| OLD | NEW |
| 1 library googleapis.genomics.v1.test; | 1 library googleapis.genomics.v1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 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 buildUnnamed2812() { | 54 buildUnnamed2906() { |
| 55 var o = new core.List<core.Object>(); | 55 var o = new core.List<core.Object>(); |
| 56 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 56 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 57 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 57 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed2812(core.List<core.Object> o) { | 61 checkUnnamed2906(core.List<core.Object> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); | 63 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(
3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u
nittest.equals('foo')); |
| 64 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); | 64 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength(
3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u
nittest.equals('foo')); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed2813() { | 67 buildUnnamed2907() { |
| 68 var o = new core.Map<core.String, core.List<core.Object>>(); | 68 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 69 o["x"] = buildUnnamed2812(); | 69 o["x"] = buildUnnamed2906(); |
| 70 o["y"] = buildUnnamed2812(); | 70 o["y"] = buildUnnamed2906(); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed2813(core.Map<core.String, core.List<core.Object>> o) { | 74 checkUnnamed2907(core.Map<core.String, core.List<core.Object>> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 checkUnnamed2812(o["x"]); | 76 checkUnnamed2906(o["x"]); |
| 77 checkUnnamed2812(o["y"]); | 77 checkUnnamed2906(o["y"]); |
| 78 } | 78 } |
| 79 | 79 |
| 80 core.int buildCounterAnnotation = 0; | 80 core.int buildCounterAnnotation = 0; |
| 81 buildAnnotation() { | 81 buildAnnotation() { |
| 82 var o = new api.Annotation(); | 82 var o = new api.Annotation(); |
| 83 buildCounterAnnotation++; | 83 buildCounterAnnotation++; |
| 84 if (buildCounterAnnotation < 3) { | 84 if (buildCounterAnnotation < 3) { |
| 85 o.annotationSetId = "foo"; | 85 o.annotationSetId = "foo"; |
| 86 o.end = "foo"; | 86 o.end = "foo"; |
| 87 o.id = "foo"; | 87 o.id = "foo"; |
| 88 o.info = buildUnnamed2813(); | 88 o.info = buildUnnamed2907(); |
| 89 o.name = "foo"; | 89 o.name = "foo"; |
| 90 o.referenceId = "foo"; | 90 o.referenceId = "foo"; |
| 91 o.referenceName = "foo"; | 91 o.referenceName = "foo"; |
| 92 o.reverseStrand = true; | 92 o.reverseStrand = true; |
| 93 o.start = "foo"; | 93 o.start = "foo"; |
| 94 o.transcript = buildTranscript(); | 94 o.transcript = buildTranscript(); |
| 95 o.type = "foo"; | 95 o.type = "foo"; |
| 96 o.variant = buildVariantAnnotation(); | 96 o.variant = buildVariantAnnotation(); |
| 97 } | 97 } |
| 98 buildCounterAnnotation--; | 98 buildCounterAnnotation--; |
| 99 return o; | 99 return o; |
| 100 } | 100 } |
| 101 | 101 |
| 102 checkAnnotation(api.Annotation o) { | 102 checkAnnotation(api.Annotation o) { |
| 103 buildCounterAnnotation++; | 103 buildCounterAnnotation++; |
| 104 if (buildCounterAnnotation < 3) { | 104 if (buildCounterAnnotation < 3) { |
| 105 unittest.expect(o.annotationSetId, unittest.equals('foo')); | 105 unittest.expect(o.annotationSetId, unittest.equals('foo')); |
| 106 unittest.expect(o.end, unittest.equals('foo')); | 106 unittest.expect(o.end, unittest.equals('foo')); |
| 107 unittest.expect(o.id, unittest.equals('foo')); | 107 unittest.expect(o.id, unittest.equals('foo')); |
| 108 checkUnnamed2813(o.info); | 108 checkUnnamed2907(o.info); |
| 109 unittest.expect(o.name, unittest.equals('foo')); | 109 unittest.expect(o.name, unittest.equals('foo')); |
| 110 unittest.expect(o.referenceId, unittest.equals('foo')); | 110 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 111 unittest.expect(o.referenceName, unittest.equals('foo')); | 111 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 112 unittest.expect(o.reverseStrand, unittest.isTrue); | 112 unittest.expect(o.reverseStrand, unittest.isTrue); |
| 113 unittest.expect(o.start, unittest.equals('foo')); | 113 unittest.expect(o.start, unittest.equals('foo')); |
| 114 checkTranscript(o.transcript); | 114 checkTranscript(o.transcript); |
| 115 unittest.expect(o.type, unittest.equals('foo')); | 115 unittest.expect(o.type, unittest.equals('foo')); |
| 116 checkVariantAnnotation(o.variant); | 116 checkVariantAnnotation(o.variant); |
| 117 } | 117 } |
| 118 buildCounterAnnotation--; | 118 buildCounterAnnotation--; |
| 119 } | 119 } |
| 120 | 120 |
| 121 buildUnnamed2814() { | 121 buildUnnamed2908() { |
| 122 var o = new core.List<core.Object>(); | 122 var o = new core.List<core.Object>(); |
| 123 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 123 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 124 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 124 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 125 return o; | 125 return o; |
| 126 } | 126 } |
| 127 | 127 |
| 128 checkUnnamed2814(core.List<core.Object> o) { | 128 checkUnnamed2908(core.List<core.Object> o) { |
| 129 unittest.expect(o, unittest.hasLength(2)); | 129 unittest.expect(o, unittest.hasLength(2)); |
| 130 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); | 130 var casted3 = (o[0]) as core.Map; unittest.expect(casted3, unittest.hasLength(
3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], u
nittest.equals('foo')); |
| 131 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); | 131 var casted4 = (o[1]) as core.Map; unittest.expect(casted4, unittest.hasLength(
3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], u
nittest.equals('foo')); |
| 132 } | 132 } |
| 133 | 133 |
| 134 buildUnnamed2815() { | 134 buildUnnamed2909() { |
| 135 var o = new core.Map<core.String, core.List<core.Object>>(); | 135 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 136 o["x"] = buildUnnamed2814(); | 136 o["x"] = buildUnnamed2908(); |
| 137 o["y"] = buildUnnamed2814(); | 137 o["y"] = buildUnnamed2908(); |
| 138 return o; | 138 return o; |
| 139 } | 139 } |
| 140 | 140 |
| 141 checkUnnamed2815(core.Map<core.String, core.List<core.Object>> o) { | 141 checkUnnamed2909(core.Map<core.String, core.List<core.Object>> o) { |
| 142 unittest.expect(o, unittest.hasLength(2)); | 142 unittest.expect(o, unittest.hasLength(2)); |
| 143 checkUnnamed2814(o["x"]); | 143 checkUnnamed2908(o["x"]); |
| 144 checkUnnamed2814(o["y"]); | 144 checkUnnamed2908(o["y"]); |
| 145 } | 145 } |
| 146 | 146 |
| 147 core.int buildCounterAnnotationSet = 0; | 147 core.int buildCounterAnnotationSet = 0; |
| 148 buildAnnotationSet() { | 148 buildAnnotationSet() { |
| 149 var o = new api.AnnotationSet(); | 149 var o = new api.AnnotationSet(); |
| 150 buildCounterAnnotationSet++; | 150 buildCounterAnnotationSet++; |
| 151 if (buildCounterAnnotationSet < 3) { | 151 if (buildCounterAnnotationSet < 3) { |
| 152 o.datasetId = "foo"; | 152 o.datasetId = "foo"; |
| 153 o.id = "foo"; | 153 o.id = "foo"; |
| 154 o.info = buildUnnamed2815(); | 154 o.info = buildUnnamed2909(); |
| 155 o.name = "foo"; | 155 o.name = "foo"; |
| 156 o.referenceSetId = "foo"; | 156 o.referenceSetId = "foo"; |
| 157 o.sourceUri = "foo"; | 157 o.sourceUri = "foo"; |
| 158 o.type = "foo"; | 158 o.type = "foo"; |
| 159 } | 159 } |
| 160 buildCounterAnnotationSet--; | 160 buildCounterAnnotationSet--; |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkAnnotationSet(api.AnnotationSet o) { | 164 checkAnnotationSet(api.AnnotationSet o) { |
| 165 buildCounterAnnotationSet++; | 165 buildCounterAnnotationSet++; |
| 166 if (buildCounterAnnotationSet < 3) { | 166 if (buildCounterAnnotationSet < 3) { |
| 167 unittest.expect(o.datasetId, unittest.equals('foo')); | 167 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 168 unittest.expect(o.id, unittest.equals('foo')); | 168 unittest.expect(o.id, unittest.equals('foo')); |
| 169 checkUnnamed2815(o.info); | 169 checkUnnamed2909(o.info); |
| 170 unittest.expect(o.name, unittest.equals('foo')); | 170 unittest.expect(o.name, unittest.equals('foo')); |
| 171 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 171 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 172 unittest.expect(o.sourceUri, unittest.equals('foo')); | 172 unittest.expect(o.sourceUri, unittest.equals('foo')); |
| 173 unittest.expect(o.type, unittest.equals('foo')); | 173 unittest.expect(o.type, unittest.equals('foo')); |
| 174 } | 174 } |
| 175 buildCounterAnnotationSet--; | 175 buildCounterAnnotationSet--; |
| 176 } | 176 } |
| 177 | 177 |
| 178 buildUnnamed2816() { | 178 buildUnnamed2910() { |
| 179 var o = new core.List<api.Annotation>(); | 179 var o = new core.List<api.Annotation>(); |
| 180 o.add(buildAnnotation()); | 180 o.add(buildAnnotation()); |
| 181 o.add(buildAnnotation()); | 181 o.add(buildAnnotation()); |
| 182 return o; | 182 return o; |
| 183 } | 183 } |
| 184 | 184 |
| 185 checkUnnamed2816(core.List<api.Annotation> o) { | 185 checkUnnamed2910(core.List<api.Annotation> o) { |
| 186 unittest.expect(o, unittest.hasLength(2)); | 186 unittest.expect(o, unittest.hasLength(2)); |
| 187 checkAnnotation(o[0]); | 187 checkAnnotation(o[0]); |
| 188 checkAnnotation(o[1]); | 188 checkAnnotation(o[1]); |
| 189 } | 189 } |
| 190 | 190 |
| 191 core.int buildCounterBatchCreateAnnotationsRequest = 0; | 191 core.int buildCounterBatchCreateAnnotationsRequest = 0; |
| 192 buildBatchCreateAnnotationsRequest() { | 192 buildBatchCreateAnnotationsRequest() { |
| 193 var o = new api.BatchCreateAnnotationsRequest(); | 193 var o = new api.BatchCreateAnnotationsRequest(); |
| 194 buildCounterBatchCreateAnnotationsRequest++; | 194 buildCounterBatchCreateAnnotationsRequest++; |
| 195 if (buildCounterBatchCreateAnnotationsRequest < 3) { | 195 if (buildCounterBatchCreateAnnotationsRequest < 3) { |
| 196 o.annotations = buildUnnamed2816(); | 196 o.annotations = buildUnnamed2910(); |
| 197 o.requestId = "foo"; | 197 o.requestId = "foo"; |
| 198 } | 198 } |
| 199 buildCounterBatchCreateAnnotationsRequest--; | 199 buildCounterBatchCreateAnnotationsRequest--; |
| 200 return o; | 200 return o; |
| 201 } | 201 } |
| 202 | 202 |
| 203 checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) { | 203 checkBatchCreateAnnotationsRequest(api.BatchCreateAnnotationsRequest o) { |
| 204 buildCounterBatchCreateAnnotationsRequest++; | 204 buildCounterBatchCreateAnnotationsRequest++; |
| 205 if (buildCounterBatchCreateAnnotationsRequest < 3) { | 205 if (buildCounterBatchCreateAnnotationsRequest < 3) { |
| 206 checkUnnamed2816(o.annotations); | 206 checkUnnamed2910(o.annotations); |
| 207 unittest.expect(o.requestId, unittest.equals('foo')); | 207 unittest.expect(o.requestId, unittest.equals('foo')); |
| 208 } | 208 } |
| 209 buildCounterBatchCreateAnnotationsRequest--; | 209 buildCounterBatchCreateAnnotationsRequest--; |
| 210 } | 210 } |
| 211 | 211 |
| 212 buildUnnamed2817() { | 212 buildUnnamed2911() { |
| 213 var o = new core.List<api.Entry>(); | 213 var o = new core.List<api.Entry>(); |
| 214 o.add(buildEntry()); | 214 o.add(buildEntry()); |
| 215 o.add(buildEntry()); | 215 o.add(buildEntry()); |
| 216 return o; | 216 return o; |
| 217 } | 217 } |
| 218 | 218 |
| 219 checkUnnamed2817(core.List<api.Entry> o) { | 219 checkUnnamed2911(core.List<api.Entry> o) { |
| 220 unittest.expect(o, unittest.hasLength(2)); | 220 unittest.expect(o, unittest.hasLength(2)); |
| 221 checkEntry(o[0]); | 221 checkEntry(o[0]); |
| 222 checkEntry(o[1]); | 222 checkEntry(o[1]); |
| 223 } | 223 } |
| 224 | 224 |
| 225 core.int buildCounterBatchCreateAnnotationsResponse = 0; | 225 core.int buildCounterBatchCreateAnnotationsResponse = 0; |
| 226 buildBatchCreateAnnotationsResponse() { | 226 buildBatchCreateAnnotationsResponse() { |
| 227 var o = new api.BatchCreateAnnotationsResponse(); | 227 var o = new api.BatchCreateAnnotationsResponse(); |
| 228 buildCounterBatchCreateAnnotationsResponse++; | 228 buildCounterBatchCreateAnnotationsResponse++; |
| 229 if (buildCounterBatchCreateAnnotationsResponse < 3) { | 229 if (buildCounterBatchCreateAnnotationsResponse < 3) { |
| 230 o.entries = buildUnnamed2817(); | 230 o.entries = buildUnnamed2911(); |
| 231 } | 231 } |
| 232 buildCounterBatchCreateAnnotationsResponse--; | 232 buildCounterBatchCreateAnnotationsResponse--; |
| 233 return o; | 233 return o; |
| 234 } | 234 } |
| 235 | 235 |
| 236 checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) { | 236 checkBatchCreateAnnotationsResponse(api.BatchCreateAnnotationsResponse o) { |
| 237 buildCounterBatchCreateAnnotationsResponse++; | 237 buildCounterBatchCreateAnnotationsResponse++; |
| 238 if (buildCounterBatchCreateAnnotationsResponse < 3) { | 238 if (buildCounterBatchCreateAnnotationsResponse < 3) { |
| 239 checkUnnamed2817(o.entries); | 239 checkUnnamed2911(o.entries); |
| 240 } | 240 } |
| 241 buildCounterBatchCreateAnnotationsResponse--; | 241 buildCounterBatchCreateAnnotationsResponse--; |
| 242 } | 242 } |
| 243 | 243 |
| 244 buildUnnamed2818() { | 244 buildUnnamed2912() { |
| 245 var o = new core.List<core.String>(); | 245 var o = new core.List<core.String>(); |
| 246 o.add("foo"); | 246 o.add("foo"); |
| 247 o.add("foo"); | 247 o.add("foo"); |
| 248 return o; | 248 return o; |
| 249 } | 249 } |
| 250 | 250 |
| 251 checkUnnamed2818(core.List<core.String> o) { | 251 checkUnnamed2912(core.List<core.String> o) { |
| 252 unittest.expect(o, unittest.hasLength(2)); | 252 unittest.expect(o, unittest.hasLength(2)); |
| 253 unittest.expect(o[0], unittest.equals('foo')); | 253 unittest.expect(o[0], unittest.equals('foo')); |
| 254 unittest.expect(o[1], unittest.equals('foo')); | 254 unittest.expect(o[1], unittest.equals('foo')); |
| 255 } | 255 } |
| 256 | 256 |
| 257 core.int buildCounterBinding = 0; | 257 core.int buildCounterBinding = 0; |
| 258 buildBinding() { | 258 buildBinding() { |
| 259 var o = new api.Binding(); | 259 var o = new api.Binding(); |
| 260 buildCounterBinding++; | 260 buildCounterBinding++; |
| 261 if (buildCounterBinding < 3) { | 261 if (buildCounterBinding < 3) { |
| 262 o.members = buildUnnamed2818(); | 262 o.members = buildUnnamed2912(); |
| 263 o.role = "foo"; | 263 o.role = "foo"; |
| 264 } | 264 } |
| 265 buildCounterBinding--; | 265 buildCounterBinding--; |
| 266 return o; | 266 return o; |
| 267 } | 267 } |
| 268 | 268 |
| 269 checkBinding(api.Binding o) { | 269 checkBinding(api.Binding o) { |
| 270 buildCounterBinding++; | 270 buildCounterBinding++; |
| 271 if (buildCounterBinding < 3) { | 271 if (buildCounterBinding < 3) { |
| 272 checkUnnamed2818(o.members); | 272 checkUnnamed2912(o.members); |
| 273 unittest.expect(o.role, unittest.equals('foo')); | 273 unittest.expect(o.role, unittest.equals('foo')); |
| 274 } | 274 } |
| 275 buildCounterBinding--; | 275 buildCounterBinding--; |
| 276 } | 276 } |
| 277 | 277 |
| 278 buildUnnamed2819() { | 278 buildUnnamed2913() { |
| 279 var o = new core.List<core.Object>(); | 279 var o = new core.List<core.Object>(); |
| 280 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 280 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 281 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 281 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 282 return o; | 282 return o; |
| 283 } | 283 } |
| 284 | 284 |
| 285 checkUnnamed2819(core.List<core.Object> o) { | 285 checkUnnamed2913(core.List<core.Object> o) { |
| 286 unittest.expect(o, unittest.hasLength(2)); | 286 unittest.expect(o, unittest.hasLength(2)); |
| 287 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); | 287 var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(
3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], u
nittest.equals('foo')); |
| 288 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); | 288 var casted6 = (o[1]) as core.Map; unittest.expect(casted6, unittest.hasLength(
3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expe
ct(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], u
nittest.equals('foo')); |
| 289 } | 289 } |
| 290 | 290 |
| 291 buildUnnamed2820() { | 291 buildUnnamed2914() { |
| 292 var o = new core.Map<core.String, core.List<core.Object>>(); | 292 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 293 o["x"] = buildUnnamed2819(); | 293 o["x"] = buildUnnamed2913(); |
| 294 o["y"] = buildUnnamed2819(); | 294 o["y"] = buildUnnamed2913(); |
| 295 return o; | 295 return o; |
| 296 } | 296 } |
| 297 | 297 |
| 298 checkUnnamed2820(core.Map<core.String, core.List<core.Object>> o) { | 298 checkUnnamed2914(core.Map<core.String, core.List<core.Object>> o) { |
| 299 unittest.expect(o, unittest.hasLength(2)); | 299 unittest.expect(o, unittest.hasLength(2)); |
| 300 checkUnnamed2819(o["x"]); | 300 checkUnnamed2913(o["x"]); |
| 301 checkUnnamed2819(o["y"]); | 301 checkUnnamed2913(o["y"]); |
| 302 } | 302 } |
| 303 | 303 |
| 304 buildUnnamed2821() { | 304 buildUnnamed2915() { |
| 305 var o = new core.List<core.String>(); | 305 var o = new core.List<core.String>(); |
| 306 o.add("foo"); | 306 o.add("foo"); |
| 307 o.add("foo"); | 307 o.add("foo"); |
| 308 return o; | 308 return o; |
| 309 } | 309 } |
| 310 | 310 |
| 311 checkUnnamed2821(core.List<core.String> o) { | 311 checkUnnamed2915(core.List<core.String> o) { |
| 312 unittest.expect(o, unittest.hasLength(2)); | 312 unittest.expect(o, unittest.hasLength(2)); |
| 313 unittest.expect(o[0], unittest.equals('foo')); | 313 unittest.expect(o[0], unittest.equals('foo')); |
| 314 unittest.expect(o[1], unittest.equals('foo')); | 314 unittest.expect(o[1], unittest.equals('foo')); |
| 315 } | 315 } |
| 316 | 316 |
| 317 core.int buildCounterCallSet = 0; | 317 core.int buildCounterCallSet = 0; |
| 318 buildCallSet() { | 318 buildCallSet() { |
| 319 var o = new api.CallSet(); | 319 var o = new api.CallSet(); |
| 320 buildCounterCallSet++; | 320 buildCounterCallSet++; |
| 321 if (buildCounterCallSet < 3) { | 321 if (buildCounterCallSet < 3) { |
| 322 o.created = "foo"; | 322 o.created = "foo"; |
| 323 o.id = "foo"; | 323 o.id = "foo"; |
| 324 o.info = buildUnnamed2820(); | 324 o.info = buildUnnamed2914(); |
| 325 o.name = "foo"; | 325 o.name = "foo"; |
| 326 o.sampleId = "foo"; | 326 o.sampleId = "foo"; |
| 327 o.variantSetIds = buildUnnamed2821(); | 327 o.variantSetIds = buildUnnamed2915(); |
| 328 } | 328 } |
| 329 buildCounterCallSet--; | 329 buildCounterCallSet--; |
| 330 return o; | 330 return o; |
| 331 } | 331 } |
| 332 | 332 |
| 333 checkCallSet(api.CallSet o) { | 333 checkCallSet(api.CallSet o) { |
| 334 buildCounterCallSet++; | 334 buildCounterCallSet++; |
| 335 if (buildCounterCallSet < 3) { | 335 if (buildCounterCallSet < 3) { |
| 336 unittest.expect(o.created, unittest.equals('foo')); | 336 unittest.expect(o.created, unittest.equals('foo')); |
| 337 unittest.expect(o.id, unittest.equals('foo')); | 337 unittest.expect(o.id, unittest.equals('foo')); |
| 338 checkUnnamed2820(o.info); | 338 checkUnnamed2914(o.info); |
| 339 unittest.expect(o.name, unittest.equals('foo')); | 339 unittest.expect(o.name, unittest.equals('foo')); |
| 340 unittest.expect(o.sampleId, unittest.equals('foo')); | 340 unittest.expect(o.sampleId, unittest.equals('foo')); |
| 341 checkUnnamed2821(o.variantSetIds); | 341 checkUnnamed2915(o.variantSetIds); |
| 342 } | 342 } |
| 343 buildCounterCallSet--; | 343 buildCounterCallSet--; |
| 344 } | 344 } |
| 345 | 345 |
| 346 core.int buildCounterCancelOperationRequest = 0; | 346 core.int buildCounterCancelOperationRequest = 0; |
| 347 buildCancelOperationRequest() { | 347 buildCancelOperationRequest() { |
| 348 var o = new api.CancelOperationRequest(); | 348 var o = new api.CancelOperationRequest(); |
| 349 buildCounterCancelOperationRequest++; | 349 buildCounterCancelOperationRequest++; |
| 350 if (buildCounterCancelOperationRequest < 3) { | 350 if (buildCounterCancelOperationRequest < 3) { |
| 351 } | 351 } |
| (...skipping 24 matching lines...) Expand all Loading... |
| 376 checkCigarUnit(api.CigarUnit o) { | 376 checkCigarUnit(api.CigarUnit o) { |
| 377 buildCounterCigarUnit++; | 377 buildCounterCigarUnit++; |
| 378 if (buildCounterCigarUnit < 3) { | 378 if (buildCounterCigarUnit < 3) { |
| 379 unittest.expect(o.operation, unittest.equals('foo')); | 379 unittest.expect(o.operation, unittest.equals('foo')); |
| 380 unittest.expect(o.operationLength, unittest.equals('foo')); | 380 unittest.expect(o.operationLength, unittest.equals('foo')); |
| 381 unittest.expect(o.referenceSequence, unittest.equals('foo')); | 381 unittest.expect(o.referenceSequence, unittest.equals('foo')); |
| 382 } | 382 } |
| 383 buildCounterCigarUnit--; | 383 buildCounterCigarUnit--; |
| 384 } | 384 } |
| 385 | 385 |
| 386 buildUnnamed2822() { | 386 buildUnnamed2916() { |
| 387 var o = new core.List<api.ExternalId>(); | 387 var o = new core.List<api.ExternalId>(); |
| 388 o.add(buildExternalId()); | 388 o.add(buildExternalId()); |
| 389 o.add(buildExternalId()); | 389 o.add(buildExternalId()); |
| 390 return o; | 390 return o; |
| 391 } | 391 } |
| 392 | 392 |
| 393 checkUnnamed2822(core.List<api.ExternalId> o) { | 393 checkUnnamed2916(core.List<api.ExternalId> o) { |
| 394 unittest.expect(o, unittest.hasLength(2)); | 394 unittest.expect(o, unittest.hasLength(2)); |
| 395 checkExternalId(o[0]); | 395 checkExternalId(o[0]); |
| 396 checkExternalId(o[1]); | 396 checkExternalId(o[1]); |
| 397 } | 397 } |
| 398 | 398 |
| 399 buildUnnamed2823() { | 399 buildUnnamed2917() { |
| 400 var o = new core.List<core.String>(); | 400 var o = new core.List<core.String>(); |
| 401 o.add("foo"); | 401 o.add("foo"); |
| 402 o.add("foo"); | 402 o.add("foo"); |
| 403 return o; | 403 return o; |
| 404 } | 404 } |
| 405 | 405 |
| 406 checkUnnamed2823(core.List<core.String> o) { | 406 checkUnnamed2917(core.List<core.String> o) { |
| 407 unittest.expect(o, unittest.hasLength(2)); | 407 unittest.expect(o, unittest.hasLength(2)); |
| 408 unittest.expect(o[0], unittest.equals('foo')); | 408 unittest.expect(o[0], unittest.equals('foo')); |
| 409 unittest.expect(o[1], unittest.equals('foo')); | 409 unittest.expect(o[1], unittest.equals('foo')); |
| 410 } | 410 } |
| 411 | 411 |
| 412 core.int buildCounterClinicalCondition = 0; | 412 core.int buildCounterClinicalCondition = 0; |
| 413 buildClinicalCondition() { | 413 buildClinicalCondition() { |
| 414 var o = new api.ClinicalCondition(); | 414 var o = new api.ClinicalCondition(); |
| 415 buildCounterClinicalCondition++; | 415 buildCounterClinicalCondition++; |
| 416 if (buildCounterClinicalCondition < 3) { | 416 if (buildCounterClinicalCondition < 3) { |
| 417 o.conceptId = "foo"; | 417 o.conceptId = "foo"; |
| 418 o.externalIds = buildUnnamed2822(); | 418 o.externalIds = buildUnnamed2916(); |
| 419 o.names = buildUnnamed2823(); | 419 o.names = buildUnnamed2917(); |
| 420 o.omimId = "foo"; | 420 o.omimId = "foo"; |
| 421 } | 421 } |
| 422 buildCounterClinicalCondition--; | 422 buildCounterClinicalCondition--; |
| 423 return o; | 423 return o; |
| 424 } | 424 } |
| 425 | 425 |
| 426 checkClinicalCondition(api.ClinicalCondition o) { | 426 checkClinicalCondition(api.ClinicalCondition o) { |
| 427 buildCounterClinicalCondition++; | 427 buildCounterClinicalCondition++; |
| 428 if (buildCounterClinicalCondition < 3) { | 428 if (buildCounterClinicalCondition < 3) { |
| 429 unittest.expect(o.conceptId, unittest.equals('foo')); | 429 unittest.expect(o.conceptId, unittest.equals('foo')); |
| 430 checkUnnamed2822(o.externalIds); | 430 checkUnnamed2916(o.externalIds); |
| 431 checkUnnamed2823(o.names); | 431 checkUnnamed2917(o.names); |
| 432 unittest.expect(o.omimId, unittest.equals('foo')); | 432 unittest.expect(o.omimId, unittest.equals('foo')); |
| 433 } | 433 } |
| 434 buildCounterClinicalCondition--; | 434 buildCounterClinicalCondition--; |
| 435 } | 435 } |
| 436 | 436 |
| 437 core.int buildCounterCodingSequence = 0; | 437 core.int buildCounterCodingSequence = 0; |
| 438 buildCodingSequence() { | 438 buildCodingSequence() { |
| 439 var o = new api.CodingSequence(); | 439 var o = new api.CodingSequence(); |
| 440 buildCounterCodingSequence++; | 440 buildCounterCodingSequence++; |
| 441 if (buildCounterCodingSequence < 3) { | 441 if (buildCounterCodingSequence < 3) { |
| 442 o.end = "foo"; | 442 o.end = "foo"; |
| 443 o.start = "foo"; | 443 o.start = "foo"; |
| 444 } | 444 } |
| 445 buildCounterCodingSequence--; | 445 buildCounterCodingSequence--; |
| 446 return o; | 446 return o; |
| 447 } | 447 } |
| 448 | 448 |
| 449 checkCodingSequence(api.CodingSequence o) { | 449 checkCodingSequence(api.CodingSequence o) { |
| 450 buildCounterCodingSequence++; | 450 buildCounterCodingSequence++; |
| 451 if (buildCounterCodingSequence < 3) { | 451 if (buildCounterCodingSequence < 3) { |
| 452 unittest.expect(o.end, unittest.equals('foo')); | 452 unittest.expect(o.end, unittest.equals('foo')); |
| 453 unittest.expect(o.start, unittest.equals('foo')); | 453 unittest.expect(o.start, unittest.equals('foo')); |
| 454 } | 454 } |
| 455 buildCounterCodingSequence--; | 455 buildCounterCodingSequence--; |
| 456 } | 456 } |
| 457 | 457 |
| 458 buildUnnamed2824() { | 458 buildUnnamed2918() { |
| 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 checkUnnamed2824(core.List<core.String> o) { | 465 checkUnnamed2918(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 core.int buildCounterComputeEngine = 0; | 471 core.int buildCounterComputeEngine = 0; |
| 472 buildComputeEngine() { | 472 buildComputeEngine() { |
| 473 var o = new api.ComputeEngine(); | 473 var o = new api.ComputeEngine(); |
| 474 buildCounterComputeEngine++; | 474 buildCounterComputeEngine++; |
| 475 if (buildCounterComputeEngine < 3) { | 475 if (buildCounterComputeEngine < 3) { |
| 476 o.diskNames = buildUnnamed2824(); | 476 o.diskNames = buildUnnamed2918(); |
| 477 o.instanceName = "foo"; | 477 o.instanceName = "foo"; |
| 478 o.machineType = "foo"; | 478 o.machineType = "foo"; |
| 479 o.zone = "foo"; | 479 o.zone = "foo"; |
| 480 } | 480 } |
| 481 buildCounterComputeEngine--; | 481 buildCounterComputeEngine--; |
| 482 return o; | 482 return o; |
| 483 } | 483 } |
| 484 | 484 |
| 485 checkComputeEngine(api.ComputeEngine o) { | 485 checkComputeEngine(api.ComputeEngine o) { |
| 486 buildCounterComputeEngine++; | 486 buildCounterComputeEngine++; |
| 487 if (buildCounterComputeEngine < 3) { | 487 if (buildCounterComputeEngine < 3) { |
| 488 checkUnnamed2824(o.diskNames); | 488 checkUnnamed2918(o.diskNames); |
| 489 unittest.expect(o.instanceName, unittest.equals('foo')); | 489 unittest.expect(o.instanceName, unittest.equals('foo')); |
| 490 unittest.expect(o.machineType, unittest.equals('foo')); | 490 unittest.expect(o.machineType, unittest.equals('foo')); |
| 491 unittest.expect(o.zone, unittest.equals('foo')); | 491 unittest.expect(o.zone, unittest.equals('foo')); |
| 492 } | 492 } |
| 493 buildCounterComputeEngine--; | 493 buildCounterComputeEngine--; |
| 494 } | 494 } |
| 495 | 495 |
| 496 core.int buildCounterCoverageBucket = 0; | 496 core.int buildCounterCoverageBucket = 0; |
| 497 buildCoverageBucket() { | 497 buildCoverageBucket() { |
| 498 var o = new api.CoverageBucket(); | 498 var o = new api.CoverageBucket(); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 buildCounterExperiment++; | 618 buildCounterExperiment++; |
| 619 if (buildCounterExperiment < 3) { | 619 if (buildCounterExperiment < 3) { |
| 620 unittest.expect(o.instrumentModel, unittest.equals('foo')); | 620 unittest.expect(o.instrumentModel, unittest.equals('foo')); |
| 621 unittest.expect(o.libraryId, unittest.equals('foo')); | 621 unittest.expect(o.libraryId, unittest.equals('foo')); |
| 622 unittest.expect(o.platformUnit, unittest.equals('foo')); | 622 unittest.expect(o.platformUnit, unittest.equals('foo')); |
| 623 unittest.expect(o.sequencingCenter, unittest.equals('foo')); | 623 unittest.expect(o.sequencingCenter, unittest.equals('foo')); |
| 624 } | 624 } |
| 625 buildCounterExperiment--; | 625 buildCounterExperiment--; |
| 626 } | 626 } |
| 627 | 627 |
| 628 buildUnnamed2825() { | 628 buildUnnamed2919() { |
| 629 var o = new core.List<core.String>(); | 629 var o = new core.List<core.String>(); |
| 630 o.add("foo"); | 630 o.add("foo"); |
| 631 o.add("foo"); | 631 o.add("foo"); |
| 632 return o; | 632 return o; |
| 633 } | 633 } |
| 634 | 634 |
| 635 checkUnnamed2825(core.List<core.String> o) { | 635 checkUnnamed2919(core.List<core.String> o) { |
| 636 unittest.expect(o, unittest.hasLength(2)); | 636 unittest.expect(o, unittest.hasLength(2)); |
| 637 unittest.expect(o[0], unittest.equals('foo')); | 637 unittest.expect(o[0], unittest.equals('foo')); |
| 638 unittest.expect(o[1], unittest.equals('foo')); | 638 unittest.expect(o[1], unittest.equals('foo')); |
| 639 } | 639 } |
| 640 | 640 |
| 641 core.int buildCounterExportReadGroupSetRequest = 0; | 641 core.int buildCounterExportReadGroupSetRequest = 0; |
| 642 buildExportReadGroupSetRequest() { | 642 buildExportReadGroupSetRequest() { |
| 643 var o = new api.ExportReadGroupSetRequest(); | 643 var o = new api.ExportReadGroupSetRequest(); |
| 644 buildCounterExportReadGroupSetRequest++; | 644 buildCounterExportReadGroupSetRequest++; |
| 645 if (buildCounterExportReadGroupSetRequest < 3) { | 645 if (buildCounterExportReadGroupSetRequest < 3) { |
| 646 o.exportUri = "foo"; | 646 o.exportUri = "foo"; |
| 647 o.projectId = "foo"; | 647 o.projectId = "foo"; |
| 648 o.referenceNames = buildUnnamed2825(); | 648 o.referenceNames = buildUnnamed2919(); |
| 649 } | 649 } |
| 650 buildCounterExportReadGroupSetRequest--; | 650 buildCounterExportReadGroupSetRequest--; |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { | 654 checkExportReadGroupSetRequest(api.ExportReadGroupSetRequest o) { |
| 655 buildCounterExportReadGroupSetRequest++; | 655 buildCounterExportReadGroupSetRequest++; |
| 656 if (buildCounterExportReadGroupSetRequest < 3) { | 656 if (buildCounterExportReadGroupSetRequest < 3) { |
| 657 unittest.expect(o.exportUri, unittest.equals('foo')); | 657 unittest.expect(o.exportUri, unittest.equals('foo')); |
| 658 unittest.expect(o.projectId, unittest.equals('foo')); | 658 unittest.expect(o.projectId, unittest.equals('foo')); |
| 659 checkUnnamed2825(o.referenceNames); | 659 checkUnnamed2919(o.referenceNames); |
| 660 } | 660 } |
| 661 buildCounterExportReadGroupSetRequest--; | 661 buildCounterExportReadGroupSetRequest--; |
| 662 } | 662 } |
| 663 | 663 |
| 664 buildUnnamed2826() { | 664 buildUnnamed2920() { |
| 665 var o = new core.List<core.String>(); | 665 var o = new core.List<core.String>(); |
| 666 o.add("foo"); | 666 o.add("foo"); |
| 667 o.add("foo"); | 667 o.add("foo"); |
| 668 return o; | 668 return o; |
| 669 } | 669 } |
| 670 | 670 |
| 671 checkUnnamed2826(core.List<core.String> o) { | 671 checkUnnamed2920(core.List<core.String> o) { |
| 672 unittest.expect(o, unittest.hasLength(2)); | 672 unittest.expect(o, unittest.hasLength(2)); |
| 673 unittest.expect(o[0], unittest.equals('foo')); | 673 unittest.expect(o[0], unittest.equals('foo')); |
| 674 unittest.expect(o[1], unittest.equals('foo')); | 674 unittest.expect(o[1], unittest.equals('foo')); |
| 675 } | 675 } |
| 676 | 676 |
| 677 core.int buildCounterExportVariantSetRequest = 0; | 677 core.int buildCounterExportVariantSetRequest = 0; |
| 678 buildExportVariantSetRequest() { | 678 buildExportVariantSetRequest() { |
| 679 var o = new api.ExportVariantSetRequest(); | 679 var o = new api.ExportVariantSetRequest(); |
| 680 buildCounterExportVariantSetRequest++; | 680 buildCounterExportVariantSetRequest++; |
| 681 if (buildCounterExportVariantSetRequest < 3) { | 681 if (buildCounterExportVariantSetRequest < 3) { |
| 682 o.bigqueryDataset = "foo"; | 682 o.bigqueryDataset = "foo"; |
| 683 o.bigqueryTable = "foo"; | 683 o.bigqueryTable = "foo"; |
| 684 o.callSetIds = buildUnnamed2826(); | 684 o.callSetIds = buildUnnamed2920(); |
| 685 o.format = "foo"; | 685 o.format = "foo"; |
| 686 o.projectId = "foo"; | 686 o.projectId = "foo"; |
| 687 } | 687 } |
| 688 buildCounterExportVariantSetRequest--; | 688 buildCounterExportVariantSetRequest--; |
| 689 return o; | 689 return o; |
| 690 } | 690 } |
| 691 | 691 |
| 692 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { | 692 checkExportVariantSetRequest(api.ExportVariantSetRequest o) { |
| 693 buildCounterExportVariantSetRequest++; | 693 buildCounterExportVariantSetRequest++; |
| 694 if (buildCounterExportVariantSetRequest < 3) { | 694 if (buildCounterExportVariantSetRequest < 3) { |
| 695 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); | 695 unittest.expect(o.bigqueryDataset, unittest.equals('foo')); |
| 696 unittest.expect(o.bigqueryTable, unittest.equals('foo')); | 696 unittest.expect(o.bigqueryTable, unittest.equals('foo')); |
| 697 checkUnnamed2826(o.callSetIds); | 697 checkUnnamed2920(o.callSetIds); |
| 698 unittest.expect(o.format, unittest.equals('foo')); | 698 unittest.expect(o.format, unittest.equals('foo')); |
| 699 unittest.expect(o.projectId, unittest.equals('foo')); | 699 unittest.expect(o.projectId, unittest.equals('foo')); |
| 700 } | 700 } |
| 701 buildCounterExportVariantSetRequest--; | 701 buildCounterExportVariantSetRequest--; |
| 702 } | 702 } |
| 703 | 703 |
| 704 core.int buildCounterExternalId = 0; | 704 core.int buildCounterExternalId = 0; |
| 705 buildExternalId() { | 705 buildExternalId() { |
| 706 var o = new api.ExternalId(); | 706 var o = new api.ExternalId(); |
| 707 buildCounterExternalId++; | 707 buildCounterExternalId++; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 732 return o; | 732 return o; |
| 733 } | 733 } |
| 734 | 734 |
| 735 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 735 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
| 736 buildCounterGetIamPolicyRequest++; | 736 buildCounterGetIamPolicyRequest++; |
| 737 if (buildCounterGetIamPolicyRequest < 3) { | 737 if (buildCounterGetIamPolicyRequest < 3) { |
| 738 } | 738 } |
| 739 buildCounterGetIamPolicyRequest--; | 739 buildCounterGetIamPolicyRequest--; |
| 740 } | 740 } |
| 741 | 741 |
| 742 buildUnnamed2827() { | 742 buildUnnamed2921() { |
| 743 var o = new core.List<core.String>(); | 743 var o = new core.List<core.String>(); |
| 744 o.add("foo"); | 744 o.add("foo"); |
| 745 o.add("foo"); | 745 o.add("foo"); |
| 746 return o; | 746 return o; |
| 747 } | 747 } |
| 748 | 748 |
| 749 checkUnnamed2827(core.List<core.String> o) { | 749 checkUnnamed2921(core.List<core.String> o) { |
| 750 unittest.expect(o, unittest.hasLength(2)); | 750 unittest.expect(o, unittest.hasLength(2)); |
| 751 unittest.expect(o[0], unittest.equals('foo')); | 751 unittest.expect(o[0], unittest.equals('foo')); |
| 752 unittest.expect(o[1], unittest.equals('foo')); | 752 unittest.expect(o[1], unittest.equals('foo')); |
| 753 } | 753 } |
| 754 | 754 |
| 755 core.int buildCounterImportReadGroupSetsRequest = 0; | 755 core.int buildCounterImportReadGroupSetsRequest = 0; |
| 756 buildImportReadGroupSetsRequest() { | 756 buildImportReadGroupSetsRequest() { |
| 757 var o = new api.ImportReadGroupSetsRequest(); | 757 var o = new api.ImportReadGroupSetsRequest(); |
| 758 buildCounterImportReadGroupSetsRequest++; | 758 buildCounterImportReadGroupSetsRequest++; |
| 759 if (buildCounterImportReadGroupSetsRequest < 3) { | 759 if (buildCounterImportReadGroupSetsRequest < 3) { |
| 760 o.datasetId = "foo"; | 760 o.datasetId = "foo"; |
| 761 o.partitionStrategy = "foo"; | 761 o.partitionStrategy = "foo"; |
| 762 o.referenceSetId = "foo"; | 762 o.referenceSetId = "foo"; |
| 763 o.sourceUris = buildUnnamed2827(); | 763 o.sourceUris = buildUnnamed2921(); |
| 764 } | 764 } |
| 765 buildCounterImportReadGroupSetsRequest--; | 765 buildCounterImportReadGroupSetsRequest--; |
| 766 return o; | 766 return o; |
| 767 } | 767 } |
| 768 | 768 |
| 769 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { | 769 checkImportReadGroupSetsRequest(api.ImportReadGroupSetsRequest o) { |
| 770 buildCounterImportReadGroupSetsRequest++; | 770 buildCounterImportReadGroupSetsRequest++; |
| 771 if (buildCounterImportReadGroupSetsRequest < 3) { | 771 if (buildCounterImportReadGroupSetsRequest < 3) { |
| 772 unittest.expect(o.datasetId, unittest.equals('foo')); | 772 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 773 unittest.expect(o.partitionStrategy, unittest.equals('foo')); | 773 unittest.expect(o.partitionStrategy, unittest.equals('foo')); |
| 774 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 774 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 775 checkUnnamed2827(o.sourceUris); | 775 checkUnnamed2921(o.sourceUris); |
| 776 } | 776 } |
| 777 buildCounterImportReadGroupSetsRequest--; | 777 buildCounterImportReadGroupSetsRequest--; |
| 778 } | 778 } |
| 779 | 779 |
| 780 buildUnnamed2828() { | 780 buildUnnamed2922() { |
| 781 var o = new core.List<core.String>(); | 781 var o = new core.List<core.String>(); |
| 782 o.add("foo"); | 782 o.add("foo"); |
| 783 o.add("foo"); | 783 o.add("foo"); |
| 784 return o; | 784 return o; |
| 785 } | 785 } |
| 786 | 786 |
| 787 checkUnnamed2828(core.List<core.String> o) { | 787 checkUnnamed2922(core.List<core.String> o) { |
| 788 unittest.expect(o, unittest.hasLength(2)); | 788 unittest.expect(o, unittest.hasLength(2)); |
| 789 unittest.expect(o[0], unittest.equals('foo')); | 789 unittest.expect(o[0], unittest.equals('foo')); |
| 790 unittest.expect(o[1], unittest.equals('foo')); | 790 unittest.expect(o[1], unittest.equals('foo')); |
| 791 } | 791 } |
| 792 | 792 |
| 793 core.int buildCounterImportReadGroupSetsResponse = 0; | 793 core.int buildCounterImportReadGroupSetsResponse = 0; |
| 794 buildImportReadGroupSetsResponse() { | 794 buildImportReadGroupSetsResponse() { |
| 795 var o = new api.ImportReadGroupSetsResponse(); | 795 var o = new api.ImportReadGroupSetsResponse(); |
| 796 buildCounterImportReadGroupSetsResponse++; | 796 buildCounterImportReadGroupSetsResponse++; |
| 797 if (buildCounterImportReadGroupSetsResponse < 3) { | 797 if (buildCounterImportReadGroupSetsResponse < 3) { |
| 798 o.readGroupSetIds = buildUnnamed2828(); | 798 o.readGroupSetIds = buildUnnamed2922(); |
| 799 } | 799 } |
| 800 buildCounterImportReadGroupSetsResponse--; | 800 buildCounterImportReadGroupSetsResponse--; |
| 801 return o; | 801 return o; |
| 802 } | 802 } |
| 803 | 803 |
| 804 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { | 804 checkImportReadGroupSetsResponse(api.ImportReadGroupSetsResponse o) { |
| 805 buildCounterImportReadGroupSetsResponse++; | 805 buildCounterImportReadGroupSetsResponse++; |
| 806 if (buildCounterImportReadGroupSetsResponse < 3) { | 806 if (buildCounterImportReadGroupSetsResponse < 3) { |
| 807 checkUnnamed2828(o.readGroupSetIds); | 807 checkUnnamed2922(o.readGroupSetIds); |
| 808 } | 808 } |
| 809 buildCounterImportReadGroupSetsResponse--; | 809 buildCounterImportReadGroupSetsResponse--; |
| 810 } | 810 } |
| 811 | 811 |
| 812 buildUnnamed2829() { | 812 buildUnnamed2923() { |
| 813 var o = new core.Map<core.String, core.String>(); | 813 var o = new core.Map<core.String, core.String>(); |
| 814 o["x"] = "foo"; | 814 o["x"] = "foo"; |
| 815 o["y"] = "foo"; | 815 o["y"] = "foo"; |
| 816 return o; | 816 return o; |
| 817 } | 817 } |
| 818 | 818 |
| 819 checkUnnamed2829(core.Map<core.String, core.String> o) { | 819 checkUnnamed2923(core.Map<core.String, core.String> o) { |
| 820 unittest.expect(o, unittest.hasLength(2)); | 820 unittest.expect(o, unittest.hasLength(2)); |
| 821 unittest.expect(o["x"], unittest.equals('foo')); | 821 unittest.expect(o["x"], unittest.equals('foo')); |
| 822 unittest.expect(o["y"], unittest.equals('foo')); | 822 unittest.expect(o["y"], unittest.equals('foo')); |
| 823 } | 823 } |
| 824 | 824 |
| 825 buildUnnamed2830() { | 825 buildUnnamed2924() { |
| 826 var o = new core.List<core.String>(); | 826 var o = new core.List<core.String>(); |
| 827 o.add("foo"); | 827 o.add("foo"); |
| 828 o.add("foo"); | 828 o.add("foo"); |
| 829 return o; | 829 return o; |
| 830 } | 830 } |
| 831 | 831 |
| 832 checkUnnamed2830(core.List<core.String> o) { | 832 checkUnnamed2924(core.List<core.String> o) { |
| 833 unittest.expect(o, unittest.hasLength(2)); | 833 unittest.expect(o, unittest.hasLength(2)); |
| 834 unittest.expect(o[0], unittest.equals('foo')); | 834 unittest.expect(o[0], unittest.equals('foo')); |
| 835 unittest.expect(o[1], unittest.equals('foo')); | 835 unittest.expect(o[1], unittest.equals('foo')); |
| 836 } | 836 } |
| 837 | 837 |
| 838 core.int buildCounterImportVariantsRequest = 0; | 838 core.int buildCounterImportVariantsRequest = 0; |
| 839 buildImportVariantsRequest() { | 839 buildImportVariantsRequest() { |
| 840 var o = new api.ImportVariantsRequest(); | 840 var o = new api.ImportVariantsRequest(); |
| 841 buildCounterImportVariantsRequest++; | 841 buildCounterImportVariantsRequest++; |
| 842 if (buildCounterImportVariantsRequest < 3) { | 842 if (buildCounterImportVariantsRequest < 3) { |
| 843 o.format = "foo"; | 843 o.format = "foo"; |
| 844 o.infoMergeConfig = buildUnnamed2829(); | 844 o.infoMergeConfig = buildUnnamed2923(); |
| 845 o.normalizeReferenceNames = true; | 845 o.normalizeReferenceNames = true; |
| 846 o.sourceUris = buildUnnamed2830(); | 846 o.sourceUris = buildUnnamed2924(); |
| 847 o.variantSetId = "foo"; | 847 o.variantSetId = "foo"; |
| 848 } | 848 } |
| 849 buildCounterImportVariantsRequest--; | 849 buildCounterImportVariantsRequest--; |
| 850 return o; | 850 return o; |
| 851 } | 851 } |
| 852 | 852 |
| 853 checkImportVariantsRequest(api.ImportVariantsRequest o) { | 853 checkImportVariantsRequest(api.ImportVariantsRequest o) { |
| 854 buildCounterImportVariantsRequest++; | 854 buildCounterImportVariantsRequest++; |
| 855 if (buildCounterImportVariantsRequest < 3) { | 855 if (buildCounterImportVariantsRequest < 3) { |
| 856 unittest.expect(o.format, unittest.equals('foo')); | 856 unittest.expect(o.format, unittest.equals('foo')); |
| 857 checkUnnamed2829(o.infoMergeConfig); | 857 checkUnnamed2923(o.infoMergeConfig); |
| 858 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); | 858 unittest.expect(o.normalizeReferenceNames, unittest.isTrue); |
| 859 checkUnnamed2830(o.sourceUris); | 859 checkUnnamed2924(o.sourceUris); |
| 860 unittest.expect(o.variantSetId, unittest.equals('foo')); | 860 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 861 } | 861 } |
| 862 buildCounterImportVariantsRequest--; | 862 buildCounterImportVariantsRequest--; |
| 863 } | 863 } |
| 864 | 864 |
| 865 buildUnnamed2831() { | 865 buildUnnamed2925() { |
| 866 var o = new core.List<core.String>(); | 866 var o = new core.List<core.String>(); |
| 867 o.add("foo"); | 867 o.add("foo"); |
| 868 o.add("foo"); | 868 o.add("foo"); |
| 869 return o; | 869 return o; |
| 870 } | 870 } |
| 871 | 871 |
| 872 checkUnnamed2831(core.List<core.String> o) { | 872 checkUnnamed2925(core.List<core.String> o) { |
| 873 unittest.expect(o, unittest.hasLength(2)); | 873 unittest.expect(o, unittest.hasLength(2)); |
| 874 unittest.expect(o[0], unittest.equals('foo')); | 874 unittest.expect(o[0], unittest.equals('foo')); |
| 875 unittest.expect(o[1], unittest.equals('foo')); | 875 unittest.expect(o[1], unittest.equals('foo')); |
| 876 } | 876 } |
| 877 | 877 |
| 878 core.int buildCounterImportVariantsResponse = 0; | 878 core.int buildCounterImportVariantsResponse = 0; |
| 879 buildImportVariantsResponse() { | 879 buildImportVariantsResponse() { |
| 880 var o = new api.ImportVariantsResponse(); | 880 var o = new api.ImportVariantsResponse(); |
| 881 buildCounterImportVariantsResponse++; | 881 buildCounterImportVariantsResponse++; |
| 882 if (buildCounterImportVariantsResponse < 3) { | 882 if (buildCounterImportVariantsResponse < 3) { |
| 883 o.callSetIds = buildUnnamed2831(); | 883 o.callSetIds = buildUnnamed2925(); |
| 884 } | 884 } |
| 885 buildCounterImportVariantsResponse--; | 885 buildCounterImportVariantsResponse--; |
| 886 return o; | 886 return o; |
| 887 } | 887 } |
| 888 | 888 |
| 889 checkImportVariantsResponse(api.ImportVariantsResponse o) { | 889 checkImportVariantsResponse(api.ImportVariantsResponse o) { |
| 890 buildCounterImportVariantsResponse++; | 890 buildCounterImportVariantsResponse++; |
| 891 if (buildCounterImportVariantsResponse < 3) { | 891 if (buildCounterImportVariantsResponse < 3) { |
| 892 checkUnnamed2831(o.callSetIds); | 892 checkUnnamed2925(o.callSetIds); |
| 893 } | 893 } |
| 894 buildCounterImportVariantsResponse--; | 894 buildCounterImportVariantsResponse--; |
| 895 } | 895 } |
| 896 | 896 |
| 897 buildUnnamed2832() { | 897 buildUnnamed2926() { |
| 898 var o = new core.List<api.CigarUnit>(); | 898 var o = new core.List<api.CigarUnit>(); |
| 899 o.add(buildCigarUnit()); | 899 o.add(buildCigarUnit()); |
| 900 o.add(buildCigarUnit()); | 900 o.add(buildCigarUnit()); |
| 901 return o; | 901 return o; |
| 902 } | 902 } |
| 903 | 903 |
| 904 checkUnnamed2832(core.List<api.CigarUnit> o) { | 904 checkUnnamed2926(core.List<api.CigarUnit> o) { |
| 905 unittest.expect(o, unittest.hasLength(2)); | 905 unittest.expect(o, unittest.hasLength(2)); |
| 906 checkCigarUnit(o[0]); | 906 checkCigarUnit(o[0]); |
| 907 checkCigarUnit(o[1]); | 907 checkCigarUnit(o[1]); |
| 908 } | 908 } |
| 909 | 909 |
| 910 core.int buildCounterLinearAlignment = 0; | 910 core.int buildCounterLinearAlignment = 0; |
| 911 buildLinearAlignment() { | 911 buildLinearAlignment() { |
| 912 var o = new api.LinearAlignment(); | 912 var o = new api.LinearAlignment(); |
| 913 buildCounterLinearAlignment++; | 913 buildCounterLinearAlignment++; |
| 914 if (buildCounterLinearAlignment < 3) { | 914 if (buildCounterLinearAlignment < 3) { |
| 915 o.cigar = buildUnnamed2832(); | 915 o.cigar = buildUnnamed2926(); |
| 916 o.mappingQuality = 42; | 916 o.mappingQuality = 42; |
| 917 o.position = buildPosition(); | 917 o.position = buildPosition(); |
| 918 } | 918 } |
| 919 buildCounterLinearAlignment--; | 919 buildCounterLinearAlignment--; |
| 920 return o; | 920 return o; |
| 921 } | 921 } |
| 922 | 922 |
| 923 checkLinearAlignment(api.LinearAlignment o) { | 923 checkLinearAlignment(api.LinearAlignment o) { |
| 924 buildCounterLinearAlignment++; | 924 buildCounterLinearAlignment++; |
| 925 if (buildCounterLinearAlignment < 3) { | 925 if (buildCounterLinearAlignment < 3) { |
| 926 checkUnnamed2832(o.cigar); | 926 checkUnnamed2926(o.cigar); |
| 927 unittest.expect(o.mappingQuality, unittest.equals(42)); | 927 unittest.expect(o.mappingQuality, unittest.equals(42)); |
| 928 checkPosition(o.position); | 928 checkPosition(o.position); |
| 929 } | 929 } |
| 930 buildCounterLinearAlignment--; | 930 buildCounterLinearAlignment--; |
| 931 } | 931 } |
| 932 | 932 |
| 933 core.int buildCounterListBasesResponse = 0; | 933 core.int buildCounterListBasesResponse = 0; |
| 934 buildListBasesResponse() { | 934 buildListBasesResponse() { |
| 935 var o = new api.ListBasesResponse(); | 935 var o = new api.ListBasesResponse(); |
| 936 buildCounterListBasesResponse++; | 936 buildCounterListBasesResponse++; |
| 937 if (buildCounterListBasesResponse < 3) { | 937 if (buildCounterListBasesResponse < 3) { |
| 938 o.nextPageToken = "foo"; | 938 o.nextPageToken = "foo"; |
| 939 o.offset = "foo"; | 939 o.offset = "foo"; |
| 940 o.sequence = "foo"; | 940 o.sequence = "foo"; |
| 941 } | 941 } |
| 942 buildCounterListBasesResponse--; | 942 buildCounterListBasesResponse--; |
| 943 return o; | 943 return o; |
| 944 } | 944 } |
| 945 | 945 |
| 946 checkListBasesResponse(api.ListBasesResponse o) { | 946 checkListBasesResponse(api.ListBasesResponse o) { |
| 947 buildCounterListBasesResponse++; | 947 buildCounterListBasesResponse++; |
| 948 if (buildCounterListBasesResponse < 3) { | 948 if (buildCounterListBasesResponse < 3) { |
| 949 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 949 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 950 unittest.expect(o.offset, unittest.equals('foo')); | 950 unittest.expect(o.offset, unittest.equals('foo')); |
| 951 unittest.expect(o.sequence, unittest.equals('foo')); | 951 unittest.expect(o.sequence, unittest.equals('foo')); |
| 952 } | 952 } |
| 953 buildCounterListBasesResponse--; | 953 buildCounterListBasesResponse--; |
| 954 } | 954 } |
| 955 | 955 |
| 956 buildUnnamed2833() { | 956 buildUnnamed2927() { |
| 957 var o = new core.List<api.CoverageBucket>(); | 957 var o = new core.List<api.CoverageBucket>(); |
| 958 o.add(buildCoverageBucket()); | 958 o.add(buildCoverageBucket()); |
| 959 o.add(buildCoverageBucket()); | 959 o.add(buildCoverageBucket()); |
| 960 return o; | 960 return o; |
| 961 } | 961 } |
| 962 | 962 |
| 963 checkUnnamed2833(core.List<api.CoverageBucket> o) { | 963 checkUnnamed2927(core.List<api.CoverageBucket> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
| 965 checkCoverageBucket(o[0]); | 965 checkCoverageBucket(o[0]); |
| 966 checkCoverageBucket(o[1]); | 966 checkCoverageBucket(o[1]); |
| 967 } | 967 } |
| 968 | 968 |
| 969 core.int buildCounterListCoverageBucketsResponse = 0; | 969 core.int buildCounterListCoverageBucketsResponse = 0; |
| 970 buildListCoverageBucketsResponse() { | 970 buildListCoverageBucketsResponse() { |
| 971 var o = new api.ListCoverageBucketsResponse(); | 971 var o = new api.ListCoverageBucketsResponse(); |
| 972 buildCounterListCoverageBucketsResponse++; | 972 buildCounterListCoverageBucketsResponse++; |
| 973 if (buildCounterListCoverageBucketsResponse < 3) { | 973 if (buildCounterListCoverageBucketsResponse < 3) { |
| 974 o.bucketWidth = "foo"; | 974 o.bucketWidth = "foo"; |
| 975 o.coverageBuckets = buildUnnamed2833(); | 975 o.coverageBuckets = buildUnnamed2927(); |
| 976 o.nextPageToken = "foo"; | 976 o.nextPageToken = "foo"; |
| 977 } | 977 } |
| 978 buildCounterListCoverageBucketsResponse--; | 978 buildCounterListCoverageBucketsResponse--; |
| 979 return o; | 979 return o; |
| 980 } | 980 } |
| 981 | 981 |
| 982 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { | 982 checkListCoverageBucketsResponse(api.ListCoverageBucketsResponse o) { |
| 983 buildCounterListCoverageBucketsResponse++; | 983 buildCounterListCoverageBucketsResponse++; |
| 984 if (buildCounterListCoverageBucketsResponse < 3) { | 984 if (buildCounterListCoverageBucketsResponse < 3) { |
| 985 unittest.expect(o.bucketWidth, unittest.equals('foo')); | 985 unittest.expect(o.bucketWidth, unittest.equals('foo')); |
| 986 checkUnnamed2833(o.coverageBuckets); | 986 checkUnnamed2927(o.coverageBuckets); |
| 987 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 987 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 988 } | 988 } |
| 989 buildCounterListCoverageBucketsResponse--; | 989 buildCounterListCoverageBucketsResponse--; |
| 990 } | 990 } |
| 991 | 991 |
| 992 buildUnnamed2834() { | 992 buildUnnamed2928() { |
| 993 var o = new core.List<api.Dataset>(); | 993 var o = new core.List<api.Dataset>(); |
| 994 o.add(buildDataset()); | 994 o.add(buildDataset()); |
| 995 o.add(buildDataset()); | 995 o.add(buildDataset()); |
| 996 return o; | 996 return o; |
| 997 } | 997 } |
| 998 | 998 |
| 999 checkUnnamed2834(core.List<api.Dataset> o) { | 999 checkUnnamed2928(core.List<api.Dataset> o) { |
| 1000 unittest.expect(o, unittest.hasLength(2)); | 1000 unittest.expect(o, unittest.hasLength(2)); |
| 1001 checkDataset(o[0]); | 1001 checkDataset(o[0]); |
| 1002 checkDataset(o[1]); | 1002 checkDataset(o[1]); |
| 1003 } | 1003 } |
| 1004 | 1004 |
| 1005 core.int buildCounterListDatasetsResponse = 0; | 1005 core.int buildCounterListDatasetsResponse = 0; |
| 1006 buildListDatasetsResponse() { | 1006 buildListDatasetsResponse() { |
| 1007 var o = new api.ListDatasetsResponse(); | 1007 var o = new api.ListDatasetsResponse(); |
| 1008 buildCounterListDatasetsResponse++; | 1008 buildCounterListDatasetsResponse++; |
| 1009 if (buildCounterListDatasetsResponse < 3) { | 1009 if (buildCounterListDatasetsResponse < 3) { |
| 1010 o.datasets = buildUnnamed2834(); | 1010 o.datasets = buildUnnamed2928(); |
| 1011 o.nextPageToken = "foo"; | 1011 o.nextPageToken = "foo"; |
| 1012 } | 1012 } |
| 1013 buildCounterListDatasetsResponse--; | 1013 buildCounterListDatasetsResponse--; |
| 1014 return o; | 1014 return o; |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 checkListDatasetsResponse(api.ListDatasetsResponse o) { | 1017 checkListDatasetsResponse(api.ListDatasetsResponse o) { |
| 1018 buildCounterListDatasetsResponse++; | 1018 buildCounterListDatasetsResponse++; |
| 1019 if (buildCounterListDatasetsResponse < 3) { | 1019 if (buildCounterListDatasetsResponse < 3) { |
| 1020 checkUnnamed2834(o.datasets); | 1020 checkUnnamed2928(o.datasets); |
| 1021 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1021 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1022 } | 1022 } |
| 1023 buildCounterListDatasetsResponse--; | 1023 buildCounterListDatasetsResponse--; |
| 1024 } | 1024 } |
| 1025 | 1025 |
| 1026 buildUnnamed2835() { | 1026 buildUnnamed2929() { |
| 1027 var o = new core.List<api.Operation>(); | 1027 var o = new core.List<api.Operation>(); |
| 1028 o.add(buildOperation()); | 1028 o.add(buildOperation()); |
| 1029 o.add(buildOperation()); | 1029 o.add(buildOperation()); |
| 1030 return o; | 1030 return o; |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 checkUnnamed2835(core.List<api.Operation> o) { | 1033 checkUnnamed2929(core.List<api.Operation> o) { |
| 1034 unittest.expect(o, unittest.hasLength(2)); | 1034 unittest.expect(o, unittest.hasLength(2)); |
| 1035 checkOperation(o[0]); | 1035 checkOperation(o[0]); |
| 1036 checkOperation(o[1]); | 1036 checkOperation(o[1]); |
| 1037 } | 1037 } |
| 1038 | 1038 |
| 1039 core.int buildCounterListOperationsResponse = 0; | 1039 core.int buildCounterListOperationsResponse = 0; |
| 1040 buildListOperationsResponse() { | 1040 buildListOperationsResponse() { |
| 1041 var o = new api.ListOperationsResponse(); | 1041 var o = new api.ListOperationsResponse(); |
| 1042 buildCounterListOperationsResponse++; | 1042 buildCounterListOperationsResponse++; |
| 1043 if (buildCounterListOperationsResponse < 3) { | 1043 if (buildCounterListOperationsResponse < 3) { |
| 1044 o.nextPageToken = "foo"; | 1044 o.nextPageToken = "foo"; |
| 1045 o.operations = buildUnnamed2835(); | 1045 o.operations = buildUnnamed2929(); |
| 1046 } | 1046 } |
| 1047 buildCounterListOperationsResponse--; | 1047 buildCounterListOperationsResponse--; |
| 1048 return o; | 1048 return o; |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 checkListOperationsResponse(api.ListOperationsResponse o) { | 1051 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 1052 buildCounterListOperationsResponse++; | 1052 buildCounterListOperationsResponse++; |
| 1053 if (buildCounterListOperationsResponse < 3) { | 1053 if (buildCounterListOperationsResponse < 3) { |
| 1054 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1054 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1055 checkUnnamed2835(o.operations); | 1055 checkUnnamed2929(o.operations); |
| 1056 } | 1056 } |
| 1057 buildCounterListOperationsResponse--; | 1057 buildCounterListOperationsResponse--; |
| 1058 } | 1058 } |
| 1059 | 1059 |
| 1060 buildUnnamed2836() { | 1060 buildUnnamed2930() { |
| 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 checkUnnamed2836(core.Map<core.String, core.String> o) { | 1067 checkUnnamed2930(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 buildUnnamed2837() { | 1073 buildUnnamed2931() { |
| 1074 var o = new core.List<api.Variant>(); | 1074 var o = new core.List<api.Variant>(); |
| 1075 o.add(buildVariant()); | 1075 o.add(buildVariant()); |
| 1076 o.add(buildVariant()); | 1076 o.add(buildVariant()); |
| 1077 return o; | 1077 return o; |
| 1078 } | 1078 } |
| 1079 | 1079 |
| 1080 checkUnnamed2837(core.List<api.Variant> o) { | 1080 checkUnnamed2931(core.List<api.Variant> o) { |
| 1081 unittest.expect(o, unittest.hasLength(2)); | 1081 unittest.expect(o, unittest.hasLength(2)); |
| 1082 checkVariant(o[0]); | 1082 checkVariant(o[0]); |
| 1083 checkVariant(o[1]); | 1083 checkVariant(o[1]); |
| 1084 } | 1084 } |
| 1085 | 1085 |
| 1086 core.int buildCounterMergeVariantsRequest = 0; | 1086 core.int buildCounterMergeVariantsRequest = 0; |
| 1087 buildMergeVariantsRequest() { | 1087 buildMergeVariantsRequest() { |
| 1088 var o = new api.MergeVariantsRequest(); | 1088 var o = new api.MergeVariantsRequest(); |
| 1089 buildCounterMergeVariantsRequest++; | 1089 buildCounterMergeVariantsRequest++; |
| 1090 if (buildCounterMergeVariantsRequest < 3) { | 1090 if (buildCounterMergeVariantsRequest < 3) { |
| 1091 o.infoMergeConfig = buildUnnamed2836(); | 1091 o.infoMergeConfig = buildUnnamed2930(); |
| 1092 o.variantSetId = "foo"; | 1092 o.variantSetId = "foo"; |
| 1093 o.variants = buildUnnamed2837(); | 1093 o.variants = buildUnnamed2931(); |
| 1094 } | 1094 } |
| 1095 buildCounterMergeVariantsRequest--; | 1095 buildCounterMergeVariantsRequest--; |
| 1096 return o; | 1096 return o; |
| 1097 } | 1097 } |
| 1098 | 1098 |
| 1099 checkMergeVariantsRequest(api.MergeVariantsRequest o) { | 1099 checkMergeVariantsRequest(api.MergeVariantsRequest o) { |
| 1100 buildCounterMergeVariantsRequest++; | 1100 buildCounterMergeVariantsRequest++; |
| 1101 if (buildCounterMergeVariantsRequest < 3) { | 1101 if (buildCounterMergeVariantsRequest < 3) { |
| 1102 checkUnnamed2836(o.infoMergeConfig); | 1102 checkUnnamed2930(o.infoMergeConfig); |
| 1103 unittest.expect(o.variantSetId, unittest.equals('foo')); | 1103 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 1104 checkUnnamed2837(o.variants); | 1104 checkUnnamed2931(o.variants); |
| 1105 } | 1105 } |
| 1106 buildCounterMergeVariantsRequest--; | 1106 buildCounterMergeVariantsRequest--; |
| 1107 } | 1107 } |
| 1108 | 1108 |
| 1109 buildUnnamed2838() { | 1109 buildUnnamed2932() { |
| 1110 var o = new core.Map<core.String, core.Object>(); | 1110 var o = new core.Map<core.String, core.Object>(); |
| 1111 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1111 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1112 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1112 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1113 return o; | 1113 return o; |
| 1114 } | 1114 } |
| 1115 | 1115 |
| 1116 checkUnnamed2838(core.Map<core.String, core.Object> o) { | 1116 checkUnnamed2932(core.Map<core.String, core.Object> o) { |
| 1117 unittest.expect(o, unittest.hasLength(2)); | 1117 unittest.expect(o, unittest.hasLength(2)); |
| 1118 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); | 1118 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt
h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"],
unittest.equals('foo')); |
| 1119 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); | 1119 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt
h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"],
unittest.equals('foo')); |
| 1120 } | 1120 } |
| 1121 | 1121 |
| 1122 buildUnnamed2839() { | 1122 buildUnnamed2933() { |
| 1123 var o = new core.Map<core.String, core.Object>(); | 1123 var o = new core.Map<core.String, core.Object>(); |
| 1124 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1124 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1125 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1125 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1126 return o; | 1126 return o; |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 checkUnnamed2839(core.Map<core.String, core.Object> o) { | 1129 checkUnnamed2933(core.Map<core.String, core.Object> o) { |
| 1130 unittest.expect(o, unittest.hasLength(2)); | 1130 unittest.expect(o, unittest.hasLength(2)); |
| 1131 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); | 1131 var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLengt
h(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"],
unittest.equals('foo')); |
| 1132 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); | 1132 var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLen
gth(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["stri
ng"], unittest.equals('foo')); |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 core.int buildCounterOperation = 0; | 1135 core.int buildCounterOperation = 0; |
| 1136 buildOperation() { | 1136 buildOperation() { |
| 1137 var o = new api.Operation(); | 1137 var o = new api.Operation(); |
| 1138 buildCounterOperation++; | 1138 buildCounterOperation++; |
| 1139 if (buildCounterOperation < 3) { | 1139 if (buildCounterOperation < 3) { |
| 1140 o.done = true; | 1140 o.done = true; |
| 1141 o.error = buildStatus(); | 1141 o.error = buildStatus(); |
| 1142 o.metadata = buildUnnamed2838(); | 1142 o.metadata = buildUnnamed2932(); |
| 1143 o.name = "foo"; | 1143 o.name = "foo"; |
| 1144 o.response = buildUnnamed2839(); | 1144 o.response = buildUnnamed2933(); |
| 1145 } | 1145 } |
| 1146 buildCounterOperation--; | 1146 buildCounterOperation--; |
| 1147 return o; | 1147 return o; |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 checkOperation(api.Operation o) { | 1150 checkOperation(api.Operation o) { |
| 1151 buildCounterOperation++; | 1151 buildCounterOperation++; |
| 1152 if (buildCounterOperation < 3) { | 1152 if (buildCounterOperation < 3) { |
| 1153 unittest.expect(o.done, unittest.isTrue); | 1153 unittest.expect(o.done, unittest.isTrue); |
| 1154 checkStatus(o.error); | 1154 checkStatus(o.error); |
| 1155 checkUnnamed2838(o.metadata); | 1155 checkUnnamed2932(o.metadata); |
| 1156 unittest.expect(o.name, unittest.equals('foo')); | 1156 unittest.expect(o.name, unittest.equals('foo')); |
| 1157 checkUnnamed2839(o.response); | 1157 checkUnnamed2933(o.response); |
| 1158 } | 1158 } |
| 1159 buildCounterOperation--; | 1159 buildCounterOperation--; |
| 1160 } | 1160 } |
| 1161 | 1161 |
| 1162 core.int buildCounterOperationEvent = 0; | 1162 core.int buildCounterOperationEvent = 0; |
| 1163 buildOperationEvent() { | 1163 buildOperationEvent() { |
| 1164 var o = new api.OperationEvent(); | 1164 var o = new api.OperationEvent(); |
| 1165 buildCounterOperationEvent++; | 1165 buildCounterOperationEvent++; |
| 1166 if (buildCounterOperationEvent < 3) { | 1166 if (buildCounterOperationEvent < 3) { |
| 1167 o.description = "foo"; | 1167 o.description = "foo"; |
| 1168 o.endTime = "foo"; | 1168 o.endTime = "foo"; |
| 1169 o.startTime = "foo"; | 1169 o.startTime = "foo"; |
| 1170 } | 1170 } |
| 1171 buildCounterOperationEvent--; | 1171 buildCounterOperationEvent--; |
| 1172 return o; | 1172 return o; |
| 1173 } | 1173 } |
| 1174 | 1174 |
| 1175 checkOperationEvent(api.OperationEvent o) { | 1175 checkOperationEvent(api.OperationEvent o) { |
| 1176 buildCounterOperationEvent++; | 1176 buildCounterOperationEvent++; |
| 1177 if (buildCounterOperationEvent < 3) { | 1177 if (buildCounterOperationEvent < 3) { |
| 1178 unittest.expect(o.description, unittest.equals('foo')); | 1178 unittest.expect(o.description, unittest.equals('foo')); |
| 1179 unittest.expect(o.endTime, unittest.equals('foo')); | 1179 unittest.expect(o.endTime, unittest.equals('foo')); |
| 1180 unittest.expect(o.startTime, unittest.equals('foo')); | 1180 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1181 } | 1181 } |
| 1182 buildCounterOperationEvent--; | 1182 buildCounterOperationEvent--; |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 buildUnnamed2840() { | 1185 buildUnnamed2934() { |
| 1186 var o = new core.List<api.OperationEvent>(); | 1186 var o = new core.List<api.OperationEvent>(); |
| 1187 o.add(buildOperationEvent()); | 1187 o.add(buildOperationEvent()); |
| 1188 o.add(buildOperationEvent()); | 1188 o.add(buildOperationEvent()); |
| 1189 return o; | 1189 return o; |
| 1190 } | 1190 } |
| 1191 | 1191 |
| 1192 checkUnnamed2840(core.List<api.OperationEvent> o) { | 1192 checkUnnamed2934(core.List<api.OperationEvent> o) { |
| 1193 unittest.expect(o, unittest.hasLength(2)); | 1193 unittest.expect(o, unittest.hasLength(2)); |
| 1194 checkOperationEvent(o[0]); | 1194 checkOperationEvent(o[0]); |
| 1195 checkOperationEvent(o[1]); | 1195 checkOperationEvent(o[1]); |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 buildUnnamed2841() { | 1198 buildUnnamed2935() { |
| 1199 var o = new core.Map<core.String, core.String>(); | 1199 var o = new core.Map<core.String, core.String>(); |
| 1200 o["x"] = "foo"; | 1200 o["x"] = "foo"; |
| 1201 o["y"] = "foo"; | 1201 o["y"] = "foo"; |
| 1202 return o; | 1202 return o; |
| 1203 } | 1203 } |
| 1204 | 1204 |
| 1205 checkUnnamed2841(core.Map<core.String, core.String> o) { | 1205 checkUnnamed2935(core.Map<core.String, core.String> o) { |
| 1206 unittest.expect(o, unittest.hasLength(2)); | 1206 unittest.expect(o, unittest.hasLength(2)); |
| 1207 unittest.expect(o["x"], unittest.equals('foo')); | 1207 unittest.expect(o["x"], unittest.equals('foo')); |
| 1208 unittest.expect(o["y"], unittest.equals('foo')); | 1208 unittest.expect(o["y"], unittest.equals('foo')); |
| 1209 } | 1209 } |
| 1210 | 1210 |
| 1211 buildUnnamed2842() { | 1211 buildUnnamed2936() { |
| 1212 var o = new core.Map<core.String, core.Object>(); | 1212 var o = new core.Map<core.String, core.Object>(); |
| 1213 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1213 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1214 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1214 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1215 return o; | 1215 return o; |
| 1216 } | 1216 } |
| 1217 | 1217 |
| 1218 checkUnnamed2842(core.Map<core.String, core.Object> o) { | 1218 checkUnnamed2936(core.Map<core.String, core.Object> o) { |
| 1219 unittest.expect(o, unittest.hasLength(2)); | 1219 unittest.expect(o, unittest.hasLength(2)); |
| 1220 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); | 1220 var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLen
gth(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["stri
ng"], unittest.equals('foo')); |
| 1221 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); | 1221 var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLen
gth(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["stri
ng"], unittest.equals('foo')); |
| 1222 } | 1222 } |
| 1223 | 1223 |
| 1224 buildUnnamed2843() { | 1224 buildUnnamed2937() { |
| 1225 var o = new core.Map<core.String, core.Object>(); | 1225 var o = new core.Map<core.String, core.Object>(); |
| 1226 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1226 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1227 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1227 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1228 return o; | 1228 return o; |
| 1229 } | 1229 } |
| 1230 | 1230 |
| 1231 checkUnnamed2843(core.Map<core.String, core.Object> o) { | 1231 checkUnnamed2937(core.Map<core.String, core.Object> o) { |
| 1232 unittest.expect(o, unittest.hasLength(2)); | 1232 unittest.expect(o, unittest.hasLength(2)); |
| 1233 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); | 1233 var casted13 = (o["x"]) as core.Map; unittest.expect(casted13, unittest.hasLen
gth(3)); unittest.expect(casted13["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted13["bool"], unittest.equals(true)); unittest.expect(casted13["stri
ng"], unittest.equals('foo')); |
| 1234 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); | 1234 var casted14 = (o["y"]) as core.Map; unittest.expect(casted14, unittest.hasLen
gth(3)); unittest.expect(casted14["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted14["bool"], unittest.equals(true)); unittest.expect(casted14["stri
ng"], unittest.equals('foo')); |
| 1235 } | 1235 } |
| 1236 | 1236 |
| 1237 core.int buildCounterOperationMetadata = 0; | 1237 core.int buildCounterOperationMetadata = 0; |
| 1238 buildOperationMetadata() { | 1238 buildOperationMetadata() { |
| 1239 var o = new api.OperationMetadata(); | 1239 var o = new api.OperationMetadata(); |
| 1240 buildCounterOperationMetadata++; | 1240 buildCounterOperationMetadata++; |
| 1241 if (buildCounterOperationMetadata < 3) { | 1241 if (buildCounterOperationMetadata < 3) { |
| 1242 o.clientId = "foo"; | 1242 o.clientId = "foo"; |
| 1243 o.createTime = "foo"; | 1243 o.createTime = "foo"; |
| 1244 o.endTime = "foo"; | 1244 o.endTime = "foo"; |
| 1245 o.events = buildUnnamed2840(); | 1245 o.events = buildUnnamed2934(); |
| 1246 o.labels = buildUnnamed2841(); | 1246 o.labels = buildUnnamed2935(); |
| 1247 o.projectId = "foo"; | 1247 o.projectId = "foo"; |
| 1248 o.request = buildUnnamed2842(); | 1248 o.request = buildUnnamed2936(); |
| 1249 o.runtimeMetadata = buildUnnamed2843(); | 1249 o.runtimeMetadata = buildUnnamed2937(); |
| 1250 o.startTime = "foo"; | 1250 o.startTime = "foo"; |
| 1251 } | 1251 } |
| 1252 buildCounterOperationMetadata--; | 1252 buildCounterOperationMetadata--; |
| 1253 return o; | 1253 return o; |
| 1254 } | 1254 } |
| 1255 | 1255 |
| 1256 checkOperationMetadata(api.OperationMetadata o) { | 1256 checkOperationMetadata(api.OperationMetadata o) { |
| 1257 buildCounterOperationMetadata++; | 1257 buildCounterOperationMetadata++; |
| 1258 if (buildCounterOperationMetadata < 3) { | 1258 if (buildCounterOperationMetadata < 3) { |
| 1259 unittest.expect(o.clientId, unittest.equals('foo')); | 1259 unittest.expect(o.clientId, unittest.equals('foo')); |
| 1260 unittest.expect(o.createTime, unittest.equals('foo')); | 1260 unittest.expect(o.createTime, unittest.equals('foo')); |
| 1261 unittest.expect(o.endTime, unittest.equals('foo')); | 1261 unittest.expect(o.endTime, unittest.equals('foo')); |
| 1262 checkUnnamed2840(o.events); | 1262 checkUnnamed2934(o.events); |
| 1263 checkUnnamed2841(o.labels); | 1263 checkUnnamed2935(o.labels); |
| 1264 unittest.expect(o.projectId, unittest.equals('foo')); | 1264 unittest.expect(o.projectId, unittest.equals('foo')); |
| 1265 checkUnnamed2842(o.request); | 1265 checkUnnamed2936(o.request); |
| 1266 checkUnnamed2843(o.runtimeMetadata); | 1266 checkUnnamed2937(o.runtimeMetadata); |
| 1267 unittest.expect(o.startTime, unittest.equals('foo')); | 1267 unittest.expect(o.startTime, unittest.equals('foo')); |
| 1268 } | 1268 } |
| 1269 buildCounterOperationMetadata--; | 1269 buildCounterOperationMetadata--; |
| 1270 } | 1270 } |
| 1271 | 1271 |
| 1272 buildUnnamed2844() { | 1272 buildUnnamed2938() { |
| 1273 var o = new core.List<api.Binding>(); | 1273 var o = new core.List<api.Binding>(); |
| 1274 o.add(buildBinding()); | 1274 o.add(buildBinding()); |
| 1275 o.add(buildBinding()); | 1275 o.add(buildBinding()); |
| 1276 return o; | 1276 return o; |
| 1277 } | 1277 } |
| 1278 | 1278 |
| 1279 checkUnnamed2844(core.List<api.Binding> o) { | 1279 checkUnnamed2938(core.List<api.Binding> o) { |
| 1280 unittest.expect(o, unittest.hasLength(2)); | 1280 unittest.expect(o, unittest.hasLength(2)); |
| 1281 checkBinding(o[0]); | 1281 checkBinding(o[0]); |
| 1282 checkBinding(o[1]); | 1282 checkBinding(o[1]); |
| 1283 } | 1283 } |
| 1284 | 1284 |
| 1285 core.int buildCounterPolicy = 0; | 1285 core.int buildCounterPolicy = 0; |
| 1286 buildPolicy() { | 1286 buildPolicy() { |
| 1287 var o = new api.Policy(); | 1287 var o = new api.Policy(); |
| 1288 buildCounterPolicy++; | 1288 buildCounterPolicy++; |
| 1289 if (buildCounterPolicy < 3) { | 1289 if (buildCounterPolicy < 3) { |
| 1290 o.bindings = buildUnnamed2844(); | 1290 o.bindings = buildUnnamed2938(); |
| 1291 o.etag = "foo"; | 1291 o.etag = "foo"; |
| 1292 o.version = 42; | 1292 o.version = 42; |
| 1293 } | 1293 } |
| 1294 buildCounterPolicy--; | 1294 buildCounterPolicy--; |
| 1295 return o; | 1295 return o; |
| 1296 } | 1296 } |
| 1297 | 1297 |
| 1298 checkPolicy(api.Policy o) { | 1298 checkPolicy(api.Policy o) { |
| 1299 buildCounterPolicy++; | 1299 buildCounterPolicy++; |
| 1300 if (buildCounterPolicy < 3) { | 1300 if (buildCounterPolicy < 3) { |
| 1301 checkUnnamed2844(o.bindings); | 1301 checkUnnamed2938(o.bindings); |
| 1302 unittest.expect(o.etag, unittest.equals('foo')); | 1302 unittest.expect(o.etag, unittest.equals('foo')); |
| 1303 unittest.expect(o.version, unittest.equals(42)); | 1303 unittest.expect(o.version, unittest.equals(42)); |
| 1304 } | 1304 } |
| 1305 buildCounterPolicy--; | 1305 buildCounterPolicy--; |
| 1306 } | 1306 } |
| 1307 | 1307 |
| 1308 core.int buildCounterPosition = 0; | 1308 core.int buildCounterPosition = 0; |
| 1309 buildPosition() { | 1309 buildPosition() { |
| 1310 var o = new api.Position(); | 1310 var o = new api.Position(); |
| 1311 buildCounterPosition++; | 1311 buildCounterPosition++; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 checkRange(api.Range o) { | 1371 checkRange(api.Range o) { |
| 1372 buildCounterRange++; | 1372 buildCounterRange++; |
| 1373 if (buildCounterRange < 3) { | 1373 if (buildCounterRange < 3) { |
| 1374 unittest.expect(o.end, unittest.equals('foo')); | 1374 unittest.expect(o.end, unittest.equals('foo')); |
| 1375 unittest.expect(o.referenceName, unittest.equals('foo')); | 1375 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1376 unittest.expect(o.start, unittest.equals('foo')); | 1376 unittest.expect(o.start, unittest.equals('foo')); |
| 1377 } | 1377 } |
| 1378 buildCounterRange--; | 1378 buildCounterRange--; |
| 1379 } | 1379 } |
| 1380 | 1380 |
| 1381 buildUnnamed2845() { | 1381 buildUnnamed2939() { |
| 1382 var o = new core.List<core.int>(); | 1382 var o = new core.List<core.int>(); |
| 1383 o.add(42); | 1383 o.add(42); |
| 1384 o.add(42); | 1384 o.add(42); |
| 1385 return o; | 1385 return o; |
| 1386 } | 1386 } |
| 1387 | 1387 |
| 1388 checkUnnamed2845(core.List<core.int> o) { | 1388 checkUnnamed2939(core.List<core.int> o) { |
| 1389 unittest.expect(o, unittest.hasLength(2)); | 1389 unittest.expect(o, unittest.hasLength(2)); |
| 1390 unittest.expect(o[0], unittest.equals(42)); | 1390 unittest.expect(o[0], unittest.equals(42)); |
| 1391 unittest.expect(o[1], unittest.equals(42)); | 1391 unittest.expect(o[1], unittest.equals(42)); |
| 1392 } | 1392 } |
| 1393 | 1393 |
| 1394 buildUnnamed2846() { | 1394 buildUnnamed2940() { |
| 1395 var o = new core.List<core.Object>(); | 1395 var o = new core.List<core.Object>(); |
| 1396 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1396 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1397 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1397 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1398 return o; | 1398 return o; |
| 1399 } | 1399 } |
| 1400 | 1400 |
| 1401 checkUnnamed2846(core.List<core.Object> o) { | 1401 checkUnnamed2940(core.List<core.Object> o) { |
| 1402 unittest.expect(o, unittest.hasLength(2)); | 1402 unittest.expect(o, unittest.hasLength(2)); |
| 1403 var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLengt
h(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string
"], unittest.equals('foo')); | 1403 var casted15 = (o[0]) as core.Map; unittest.expect(casted15, unittest.hasLengt
h(3)); unittest.expect(casted15["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted15["bool"], unittest.equals(true)); unittest.expect(casted15["string
"], unittest.equals('foo')); |
| 1404 var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLengt
h(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string
"], unittest.equals('foo')); | 1404 var casted16 = (o[1]) as core.Map; unittest.expect(casted16, unittest.hasLengt
h(3)); unittest.expect(casted16["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted16["bool"], unittest.equals(true)); unittest.expect(casted16["string
"], unittest.equals('foo')); |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 buildUnnamed2847() { | 1407 buildUnnamed2941() { |
| 1408 var o = new core.Map<core.String, core.List<core.Object>>(); | 1408 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 1409 o["x"] = buildUnnamed2846(); | 1409 o["x"] = buildUnnamed2940(); |
| 1410 o["y"] = buildUnnamed2846(); | 1410 o["y"] = buildUnnamed2940(); |
| 1411 return o; | 1411 return o; |
| 1412 } | 1412 } |
| 1413 | 1413 |
| 1414 checkUnnamed2847(core.Map<core.String, core.List<core.Object>> o) { | 1414 checkUnnamed2941(core.Map<core.String, core.List<core.Object>> o) { |
| 1415 unittest.expect(o, unittest.hasLength(2)); | 1415 unittest.expect(o, unittest.hasLength(2)); |
| 1416 checkUnnamed2846(o["x"]); | 1416 checkUnnamed2940(o["x"]); |
| 1417 checkUnnamed2846(o["y"]); | 1417 checkUnnamed2940(o["y"]); |
| 1418 } | 1418 } |
| 1419 | 1419 |
| 1420 core.int buildCounterRead = 0; | 1420 core.int buildCounterRead = 0; |
| 1421 buildRead() { | 1421 buildRead() { |
| 1422 var o = new api.Read(); | 1422 var o = new api.Read(); |
| 1423 buildCounterRead++; | 1423 buildCounterRead++; |
| 1424 if (buildCounterRead < 3) { | 1424 if (buildCounterRead < 3) { |
| 1425 o.alignedQuality = buildUnnamed2845(); | 1425 o.alignedQuality = buildUnnamed2939(); |
| 1426 o.alignedSequence = "foo"; | 1426 o.alignedSequence = "foo"; |
| 1427 o.alignment = buildLinearAlignment(); | 1427 o.alignment = buildLinearAlignment(); |
| 1428 o.duplicateFragment = true; | 1428 o.duplicateFragment = true; |
| 1429 o.failedVendorQualityChecks = true; | 1429 o.failedVendorQualityChecks = true; |
| 1430 o.fragmentLength = 42; | 1430 o.fragmentLength = 42; |
| 1431 o.fragmentName = "foo"; | 1431 o.fragmentName = "foo"; |
| 1432 o.id = "foo"; | 1432 o.id = "foo"; |
| 1433 o.info = buildUnnamed2847(); | 1433 o.info = buildUnnamed2941(); |
| 1434 o.nextMatePosition = buildPosition(); | 1434 o.nextMatePosition = buildPosition(); |
| 1435 o.numberReads = 42; | 1435 o.numberReads = 42; |
| 1436 o.properPlacement = true; | 1436 o.properPlacement = true; |
| 1437 o.readGroupId = "foo"; | 1437 o.readGroupId = "foo"; |
| 1438 o.readGroupSetId = "foo"; | 1438 o.readGroupSetId = "foo"; |
| 1439 o.readNumber = 42; | 1439 o.readNumber = 42; |
| 1440 o.secondaryAlignment = true; | 1440 o.secondaryAlignment = true; |
| 1441 o.supplementaryAlignment = true; | 1441 o.supplementaryAlignment = true; |
| 1442 } | 1442 } |
| 1443 buildCounterRead--; | 1443 buildCounterRead--; |
| 1444 return o; | 1444 return o; |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 checkRead(api.Read o) { | 1447 checkRead(api.Read o) { |
| 1448 buildCounterRead++; | 1448 buildCounterRead++; |
| 1449 if (buildCounterRead < 3) { | 1449 if (buildCounterRead < 3) { |
| 1450 checkUnnamed2845(o.alignedQuality); | 1450 checkUnnamed2939(o.alignedQuality); |
| 1451 unittest.expect(o.alignedSequence, unittest.equals('foo')); | 1451 unittest.expect(o.alignedSequence, unittest.equals('foo')); |
| 1452 checkLinearAlignment(o.alignment); | 1452 checkLinearAlignment(o.alignment); |
| 1453 unittest.expect(o.duplicateFragment, unittest.isTrue); | 1453 unittest.expect(o.duplicateFragment, unittest.isTrue); |
| 1454 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); | 1454 unittest.expect(o.failedVendorQualityChecks, unittest.isTrue); |
| 1455 unittest.expect(o.fragmentLength, unittest.equals(42)); | 1455 unittest.expect(o.fragmentLength, unittest.equals(42)); |
| 1456 unittest.expect(o.fragmentName, unittest.equals('foo')); | 1456 unittest.expect(o.fragmentName, unittest.equals('foo')); |
| 1457 unittest.expect(o.id, unittest.equals('foo')); | 1457 unittest.expect(o.id, unittest.equals('foo')); |
| 1458 checkUnnamed2847(o.info); | 1458 checkUnnamed2941(o.info); |
| 1459 checkPosition(o.nextMatePosition); | 1459 checkPosition(o.nextMatePosition); |
| 1460 unittest.expect(o.numberReads, unittest.equals(42)); | 1460 unittest.expect(o.numberReads, unittest.equals(42)); |
| 1461 unittest.expect(o.properPlacement, unittest.isTrue); | 1461 unittest.expect(o.properPlacement, unittest.isTrue); |
| 1462 unittest.expect(o.readGroupId, unittest.equals('foo')); | 1462 unittest.expect(o.readGroupId, unittest.equals('foo')); |
| 1463 unittest.expect(o.readGroupSetId, unittest.equals('foo')); | 1463 unittest.expect(o.readGroupSetId, unittest.equals('foo')); |
| 1464 unittest.expect(o.readNumber, unittest.equals(42)); | 1464 unittest.expect(o.readNumber, unittest.equals(42)); |
| 1465 unittest.expect(o.secondaryAlignment, unittest.isTrue); | 1465 unittest.expect(o.secondaryAlignment, unittest.isTrue); |
| 1466 unittest.expect(o.supplementaryAlignment, unittest.isTrue); | 1466 unittest.expect(o.supplementaryAlignment, unittest.isTrue); |
| 1467 } | 1467 } |
| 1468 buildCounterRead--; | 1468 buildCounterRead--; |
| 1469 } | 1469 } |
| 1470 | 1470 |
| 1471 buildUnnamed2848() { | 1471 buildUnnamed2942() { |
| 1472 var o = new core.List<core.Object>(); | 1472 var o = new core.List<core.Object>(); |
| 1473 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1473 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1474 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1474 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1475 return o; | 1475 return o; |
| 1476 } | 1476 } |
| 1477 | 1477 |
| 1478 checkUnnamed2848(core.List<core.Object> o) { | 1478 checkUnnamed2942(core.List<core.Object> o) { |
| 1479 unittest.expect(o, unittest.hasLength(2)); | 1479 unittest.expect(o, unittest.hasLength(2)); |
| 1480 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt
h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string
"], unittest.equals('foo')); | 1480 var casted17 = (o[0]) as core.Map; unittest.expect(casted17, unittest.hasLengt
h(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string
"], unittest.equals('foo')); |
| 1481 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt
h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string
"], unittest.equals('foo')); | 1481 var casted18 = (o[1]) as core.Map; unittest.expect(casted18, unittest.hasLengt
h(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string
"], unittest.equals('foo')); |
| 1482 } | 1482 } |
| 1483 | 1483 |
| 1484 buildUnnamed2849() { | 1484 buildUnnamed2943() { |
| 1485 var o = new core.Map<core.String, core.List<core.Object>>(); | 1485 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 1486 o["x"] = buildUnnamed2848(); | 1486 o["x"] = buildUnnamed2942(); |
| 1487 o["y"] = buildUnnamed2848(); | 1487 o["y"] = buildUnnamed2942(); |
| 1488 return o; | 1488 return o; |
| 1489 } | 1489 } |
| 1490 | 1490 |
| 1491 checkUnnamed2849(core.Map<core.String, core.List<core.Object>> o) { | 1491 checkUnnamed2943(core.Map<core.String, core.List<core.Object>> o) { |
| 1492 unittest.expect(o, unittest.hasLength(2)); | 1492 unittest.expect(o, unittest.hasLength(2)); |
| 1493 checkUnnamed2848(o["x"]); | 1493 checkUnnamed2942(o["x"]); |
| 1494 checkUnnamed2848(o["y"]); | 1494 checkUnnamed2942(o["y"]); |
| 1495 } | 1495 } |
| 1496 | 1496 |
| 1497 buildUnnamed2850() { | 1497 buildUnnamed2944() { |
| 1498 var o = new core.List<api.Program>(); | 1498 var o = new core.List<api.Program>(); |
| 1499 o.add(buildProgram()); | 1499 o.add(buildProgram()); |
| 1500 o.add(buildProgram()); | 1500 o.add(buildProgram()); |
| 1501 return o; | 1501 return o; |
| 1502 } | 1502 } |
| 1503 | 1503 |
| 1504 checkUnnamed2850(core.List<api.Program> o) { | 1504 checkUnnamed2944(core.List<api.Program> o) { |
| 1505 unittest.expect(o, unittest.hasLength(2)); | 1505 unittest.expect(o, unittest.hasLength(2)); |
| 1506 checkProgram(o[0]); | 1506 checkProgram(o[0]); |
| 1507 checkProgram(o[1]); | 1507 checkProgram(o[1]); |
| 1508 } | 1508 } |
| 1509 | 1509 |
| 1510 core.int buildCounterReadGroup = 0; | 1510 core.int buildCounterReadGroup = 0; |
| 1511 buildReadGroup() { | 1511 buildReadGroup() { |
| 1512 var o = new api.ReadGroup(); | 1512 var o = new api.ReadGroup(); |
| 1513 buildCounterReadGroup++; | 1513 buildCounterReadGroup++; |
| 1514 if (buildCounterReadGroup < 3) { | 1514 if (buildCounterReadGroup < 3) { |
| 1515 o.datasetId = "foo"; | 1515 o.datasetId = "foo"; |
| 1516 o.description = "foo"; | 1516 o.description = "foo"; |
| 1517 o.experiment = buildExperiment(); | 1517 o.experiment = buildExperiment(); |
| 1518 o.id = "foo"; | 1518 o.id = "foo"; |
| 1519 o.info = buildUnnamed2849(); | 1519 o.info = buildUnnamed2943(); |
| 1520 o.name = "foo"; | 1520 o.name = "foo"; |
| 1521 o.predictedInsertSize = 42; | 1521 o.predictedInsertSize = 42; |
| 1522 o.programs = buildUnnamed2850(); | 1522 o.programs = buildUnnamed2944(); |
| 1523 o.referenceSetId = "foo"; | 1523 o.referenceSetId = "foo"; |
| 1524 o.sampleId = "foo"; | 1524 o.sampleId = "foo"; |
| 1525 } | 1525 } |
| 1526 buildCounterReadGroup--; | 1526 buildCounterReadGroup--; |
| 1527 return o; | 1527 return o; |
| 1528 } | 1528 } |
| 1529 | 1529 |
| 1530 checkReadGroup(api.ReadGroup o) { | 1530 checkReadGroup(api.ReadGroup o) { |
| 1531 buildCounterReadGroup++; | 1531 buildCounterReadGroup++; |
| 1532 if (buildCounterReadGroup < 3) { | 1532 if (buildCounterReadGroup < 3) { |
| 1533 unittest.expect(o.datasetId, unittest.equals('foo')); | 1533 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 1534 unittest.expect(o.description, unittest.equals('foo')); | 1534 unittest.expect(o.description, unittest.equals('foo')); |
| 1535 checkExperiment(o.experiment); | 1535 checkExperiment(o.experiment); |
| 1536 unittest.expect(o.id, unittest.equals('foo')); | 1536 unittest.expect(o.id, unittest.equals('foo')); |
| 1537 checkUnnamed2849(o.info); | 1537 checkUnnamed2943(o.info); |
| 1538 unittest.expect(o.name, unittest.equals('foo')); | 1538 unittest.expect(o.name, unittest.equals('foo')); |
| 1539 unittest.expect(o.predictedInsertSize, unittest.equals(42)); | 1539 unittest.expect(o.predictedInsertSize, unittest.equals(42)); |
| 1540 checkUnnamed2850(o.programs); | 1540 checkUnnamed2944(o.programs); |
| 1541 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1541 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 1542 unittest.expect(o.sampleId, unittest.equals('foo')); | 1542 unittest.expect(o.sampleId, unittest.equals('foo')); |
| 1543 } | 1543 } |
| 1544 buildCounterReadGroup--; | 1544 buildCounterReadGroup--; |
| 1545 } | 1545 } |
| 1546 | 1546 |
| 1547 buildUnnamed2851() { | 1547 buildUnnamed2945() { |
| 1548 var o = new core.List<core.Object>(); | 1548 var o = new core.List<core.Object>(); |
| 1549 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1549 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1550 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 1550 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 1551 return o; | 1551 return o; |
| 1552 } | 1552 } |
| 1553 | 1553 |
| 1554 checkUnnamed2851(core.List<core.Object> o) { | 1554 checkUnnamed2945(core.List<core.Object> o) { |
| 1555 unittest.expect(o, unittest.hasLength(2)); | 1555 unittest.expect(o, unittest.hasLength(2)); |
| 1556 var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLengt
h(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string
"], unittest.equals('foo')); | 1556 var casted19 = (o[0]) as core.Map; unittest.expect(casted19, unittest.hasLengt
h(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string
"], unittest.equals('foo')); |
| 1557 var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLengt
h(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string
"], unittest.equals('foo')); | 1557 var casted20 = (o[1]) as core.Map; unittest.expect(casted20, unittest.hasLengt
h(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string
"], unittest.equals('foo')); |
| 1558 } | 1558 } |
| 1559 | 1559 |
| 1560 buildUnnamed2852() { | 1560 buildUnnamed2946() { |
| 1561 var o = new core.Map<core.String, core.List<core.Object>>(); | 1561 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 1562 o["x"] = buildUnnamed2851(); | 1562 o["x"] = buildUnnamed2945(); |
| 1563 o["y"] = buildUnnamed2851(); | 1563 o["y"] = buildUnnamed2945(); |
| 1564 return o; | 1564 return o; |
| 1565 } | 1565 } |
| 1566 | 1566 |
| 1567 checkUnnamed2852(core.Map<core.String, core.List<core.Object>> o) { | 1567 checkUnnamed2946(core.Map<core.String, core.List<core.Object>> o) { |
| 1568 unittest.expect(o, unittest.hasLength(2)); | 1568 unittest.expect(o, unittest.hasLength(2)); |
| 1569 checkUnnamed2851(o["x"]); | 1569 checkUnnamed2945(o["x"]); |
| 1570 checkUnnamed2851(o["y"]); | 1570 checkUnnamed2945(o["y"]); |
| 1571 } | 1571 } |
| 1572 | 1572 |
| 1573 buildUnnamed2853() { | 1573 buildUnnamed2947() { |
| 1574 var o = new core.List<api.ReadGroup>(); | 1574 var o = new core.List<api.ReadGroup>(); |
| 1575 o.add(buildReadGroup()); | 1575 o.add(buildReadGroup()); |
| 1576 o.add(buildReadGroup()); | 1576 o.add(buildReadGroup()); |
| 1577 return o; | 1577 return o; |
| 1578 } | 1578 } |
| 1579 | 1579 |
| 1580 checkUnnamed2853(core.List<api.ReadGroup> o) { | 1580 checkUnnamed2947(core.List<api.ReadGroup> o) { |
| 1581 unittest.expect(o, unittest.hasLength(2)); | 1581 unittest.expect(o, unittest.hasLength(2)); |
| 1582 checkReadGroup(o[0]); | 1582 checkReadGroup(o[0]); |
| 1583 checkReadGroup(o[1]); | 1583 checkReadGroup(o[1]); |
| 1584 } | 1584 } |
| 1585 | 1585 |
| 1586 core.int buildCounterReadGroupSet = 0; | 1586 core.int buildCounterReadGroupSet = 0; |
| 1587 buildReadGroupSet() { | 1587 buildReadGroupSet() { |
| 1588 var o = new api.ReadGroupSet(); | 1588 var o = new api.ReadGroupSet(); |
| 1589 buildCounterReadGroupSet++; | 1589 buildCounterReadGroupSet++; |
| 1590 if (buildCounterReadGroupSet < 3) { | 1590 if (buildCounterReadGroupSet < 3) { |
| 1591 o.datasetId = "foo"; | 1591 o.datasetId = "foo"; |
| 1592 o.filename = "foo"; | 1592 o.filename = "foo"; |
| 1593 o.id = "foo"; | 1593 o.id = "foo"; |
| 1594 o.info = buildUnnamed2852(); | 1594 o.info = buildUnnamed2946(); |
| 1595 o.name = "foo"; | 1595 o.name = "foo"; |
| 1596 o.readGroups = buildUnnamed2853(); | 1596 o.readGroups = buildUnnamed2947(); |
| 1597 o.referenceSetId = "foo"; | 1597 o.referenceSetId = "foo"; |
| 1598 } | 1598 } |
| 1599 buildCounterReadGroupSet--; | 1599 buildCounterReadGroupSet--; |
| 1600 return o; | 1600 return o; |
| 1601 } | 1601 } |
| 1602 | 1602 |
| 1603 checkReadGroupSet(api.ReadGroupSet o) { | 1603 checkReadGroupSet(api.ReadGroupSet o) { |
| 1604 buildCounterReadGroupSet++; | 1604 buildCounterReadGroupSet++; |
| 1605 if (buildCounterReadGroupSet < 3) { | 1605 if (buildCounterReadGroupSet < 3) { |
| 1606 unittest.expect(o.datasetId, unittest.equals('foo')); | 1606 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 1607 unittest.expect(o.filename, unittest.equals('foo')); | 1607 unittest.expect(o.filename, unittest.equals('foo')); |
| 1608 unittest.expect(o.id, unittest.equals('foo')); | 1608 unittest.expect(o.id, unittest.equals('foo')); |
| 1609 checkUnnamed2852(o.info); | 1609 checkUnnamed2946(o.info); |
| 1610 unittest.expect(o.name, unittest.equals('foo')); | 1610 unittest.expect(o.name, unittest.equals('foo')); |
| 1611 checkUnnamed2853(o.readGroups); | 1611 checkUnnamed2947(o.readGroups); |
| 1612 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1612 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 1613 } | 1613 } |
| 1614 buildCounterReadGroupSet--; | 1614 buildCounterReadGroupSet--; |
| 1615 } | 1615 } |
| 1616 | 1616 |
| 1617 buildUnnamed2854() { | 1617 buildUnnamed2948() { |
| 1618 var o = new core.List<core.String>(); | 1618 var o = new core.List<core.String>(); |
| 1619 o.add("foo"); | 1619 o.add("foo"); |
| 1620 o.add("foo"); | 1620 o.add("foo"); |
| 1621 return o; | 1621 return o; |
| 1622 } | 1622 } |
| 1623 | 1623 |
| 1624 checkUnnamed2854(core.List<core.String> o) { | 1624 checkUnnamed2948(core.List<core.String> o) { |
| 1625 unittest.expect(o, unittest.hasLength(2)); | 1625 unittest.expect(o, unittest.hasLength(2)); |
| 1626 unittest.expect(o[0], unittest.equals('foo')); | 1626 unittest.expect(o[0], unittest.equals('foo')); |
| 1627 unittest.expect(o[1], unittest.equals('foo')); | 1627 unittest.expect(o[1], unittest.equals('foo')); |
| 1628 } | 1628 } |
| 1629 | 1629 |
| 1630 core.int buildCounterReference = 0; | 1630 core.int buildCounterReference = 0; |
| 1631 buildReference() { | 1631 buildReference() { |
| 1632 var o = new api.Reference(); | 1632 var o = new api.Reference(); |
| 1633 buildCounterReference++; | 1633 buildCounterReference++; |
| 1634 if (buildCounterReference < 3) { | 1634 if (buildCounterReference < 3) { |
| 1635 o.id = "foo"; | 1635 o.id = "foo"; |
| 1636 o.length = "foo"; | 1636 o.length = "foo"; |
| 1637 o.md5checksum = "foo"; | 1637 o.md5checksum = "foo"; |
| 1638 o.name = "foo"; | 1638 o.name = "foo"; |
| 1639 o.ncbiTaxonId = 42; | 1639 o.ncbiTaxonId = 42; |
| 1640 o.sourceAccessions = buildUnnamed2854(); | 1640 o.sourceAccessions = buildUnnamed2948(); |
| 1641 o.sourceUri = "foo"; | 1641 o.sourceUri = "foo"; |
| 1642 } | 1642 } |
| 1643 buildCounterReference--; | 1643 buildCounterReference--; |
| 1644 return o; | 1644 return o; |
| 1645 } | 1645 } |
| 1646 | 1646 |
| 1647 checkReference(api.Reference o) { | 1647 checkReference(api.Reference o) { |
| 1648 buildCounterReference++; | 1648 buildCounterReference++; |
| 1649 if (buildCounterReference < 3) { | 1649 if (buildCounterReference < 3) { |
| 1650 unittest.expect(o.id, unittest.equals('foo')); | 1650 unittest.expect(o.id, unittest.equals('foo')); |
| 1651 unittest.expect(o.length, unittest.equals('foo')); | 1651 unittest.expect(o.length, unittest.equals('foo')); |
| 1652 unittest.expect(o.md5checksum, unittest.equals('foo')); | 1652 unittest.expect(o.md5checksum, unittest.equals('foo')); |
| 1653 unittest.expect(o.name, unittest.equals('foo')); | 1653 unittest.expect(o.name, unittest.equals('foo')); |
| 1654 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); | 1654 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); |
| 1655 checkUnnamed2854(o.sourceAccessions); | 1655 checkUnnamed2948(o.sourceAccessions); |
| 1656 unittest.expect(o.sourceUri, unittest.equals('foo')); | 1656 unittest.expect(o.sourceUri, unittest.equals('foo')); |
| 1657 } | 1657 } |
| 1658 buildCounterReference--; | 1658 buildCounterReference--; |
| 1659 } | 1659 } |
| 1660 | 1660 |
| 1661 core.int buildCounterReferenceBound = 0; | 1661 core.int buildCounterReferenceBound = 0; |
| 1662 buildReferenceBound() { | 1662 buildReferenceBound() { |
| 1663 var o = new api.ReferenceBound(); | 1663 var o = new api.ReferenceBound(); |
| 1664 buildCounterReferenceBound++; | 1664 buildCounterReferenceBound++; |
| 1665 if (buildCounterReferenceBound < 3) { | 1665 if (buildCounterReferenceBound < 3) { |
| 1666 o.referenceName = "foo"; | 1666 o.referenceName = "foo"; |
| 1667 o.upperBound = "foo"; | 1667 o.upperBound = "foo"; |
| 1668 } | 1668 } |
| 1669 buildCounterReferenceBound--; | 1669 buildCounterReferenceBound--; |
| 1670 return o; | 1670 return o; |
| 1671 } | 1671 } |
| 1672 | 1672 |
| 1673 checkReferenceBound(api.ReferenceBound o) { | 1673 checkReferenceBound(api.ReferenceBound o) { |
| 1674 buildCounterReferenceBound++; | 1674 buildCounterReferenceBound++; |
| 1675 if (buildCounterReferenceBound < 3) { | 1675 if (buildCounterReferenceBound < 3) { |
| 1676 unittest.expect(o.referenceName, unittest.equals('foo')); | 1676 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1677 unittest.expect(o.upperBound, unittest.equals('foo')); | 1677 unittest.expect(o.upperBound, unittest.equals('foo')); |
| 1678 } | 1678 } |
| 1679 buildCounterReferenceBound--; | 1679 buildCounterReferenceBound--; |
| 1680 } | 1680 } |
| 1681 | 1681 |
| 1682 buildUnnamed2855() { | 1682 buildUnnamed2949() { |
| 1683 var o = new core.List<core.String>(); | 1683 var o = new core.List<core.String>(); |
| 1684 o.add("foo"); | 1684 o.add("foo"); |
| 1685 o.add("foo"); | 1685 o.add("foo"); |
| 1686 return o; | 1686 return o; |
| 1687 } | 1687 } |
| 1688 | 1688 |
| 1689 checkUnnamed2855(core.List<core.String> o) { | 1689 checkUnnamed2949(core.List<core.String> o) { |
| 1690 unittest.expect(o, unittest.hasLength(2)); | 1690 unittest.expect(o, unittest.hasLength(2)); |
| 1691 unittest.expect(o[0], unittest.equals('foo')); | 1691 unittest.expect(o[0], unittest.equals('foo')); |
| 1692 unittest.expect(o[1], unittest.equals('foo')); | 1692 unittest.expect(o[1], unittest.equals('foo')); |
| 1693 } | 1693 } |
| 1694 | 1694 |
| 1695 buildUnnamed2856() { | 1695 buildUnnamed2950() { |
| 1696 var o = new core.List<core.String>(); | 1696 var o = new core.List<core.String>(); |
| 1697 o.add("foo"); | 1697 o.add("foo"); |
| 1698 o.add("foo"); | 1698 o.add("foo"); |
| 1699 return o; | 1699 return o; |
| 1700 } | 1700 } |
| 1701 | 1701 |
| 1702 checkUnnamed2856(core.List<core.String> o) { | 1702 checkUnnamed2950(core.List<core.String> o) { |
| 1703 unittest.expect(o, unittest.hasLength(2)); | 1703 unittest.expect(o, unittest.hasLength(2)); |
| 1704 unittest.expect(o[0], unittest.equals('foo')); | 1704 unittest.expect(o[0], unittest.equals('foo')); |
| 1705 unittest.expect(o[1], unittest.equals('foo')); | 1705 unittest.expect(o[1], unittest.equals('foo')); |
| 1706 } | 1706 } |
| 1707 | 1707 |
| 1708 core.int buildCounterReferenceSet = 0; | 1708 core.int buildCounterReferenceSet = 0; |
| 1709 buildReferenceSet() { | 1709 buildReferenceSet() { |
| 1710 var o = new api.ReferenceSet(); | 1710 var o = new api.ReferenceSet(); |
| 1711 buildCounterReferenceSet++; | 1711 buildCounterReferenceSet++; |
| 1712 if (buildCounterReferenceSet < 3) { | 1712 if (buildCounterReferenceSet < 3) { |
| 1713 o.assemblyId = "foo"; | 1713 o.assemblyId = "foo"; |
| 1714 o.description = "foo"; | 1714 o.description = "foo"; |
| 1715 o.id = "foo"; | 1715 o.id = "foo"; |
| 1716 o.md5checksum = "foo"; | 1716 o.md5checksum = "foo"; |
| 1717 o.ncbiTaxonId = 42; | 1717 o.ncbiTaxonId = 42; |
| 1718 o.referenceIds = buildUnnamed2855(); | 1718 o.referenceIds = buildUnnamed2949(); |
| 1719 o.sourceAccessions = buildUnnamed2856(); | 1719 o.sourceAccessions = buildUnnamed2950(); |
| 1720 o.sourceUri = "foo"; | 1720 o.sourceUri = "foo"; |
| 1721 } | 1721 } |
| 1722 buildCounterReferenceSet--; | 1722 buildCounterReferenceSet--; |
| 1723 return o; | 1723 return o; |
| 1724 } | 1724 } |
| 1725 | 1725 |
| 1726 checkReferenceSet(api.ReferenceSet o) { | 1726 checkReferenceSet(api.ReferenceSet o) { |
| 1727 buildCounterReferenceSet++; | 1727 buildCounterReferenceSet++; |
| 1728 if (buildCounterReferenceSet < 3) { | 1728 if (buildCounterReferenceSet < 3) { |
| 1729 unittest.expect(o.assemblyId, unittest.equals('foo')); | 1729 unittest.expect(o.assemblyId, unittest.equals('foo')); |
| 1730 unittest.expect(o.description, unittest.equals('foo')); | 1730 unittest.expect(o.description, unittest.equals('foo')); |
| 1731 unittest.expect(o.id, unittest.equals('foo')); | 1731 unittest.expect(o.id, unittest.equals('foo')); |
| 1732 unittest.expect(o.md5checksum, unittest.equals('foo')); | 1732 unittest.expect(o.md5checksum, unittest.equals('foo')); |
| 1733 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); | 1733 unittest.expect(o.ncbiTaxonId, unittest.equals(42)); |
| 1734 checkUnnamed2855(o.referenceIds); | 1734 checkUnnamed2949(o.referenceIds); |
| 1735 checkUnnamed2856(o.sourceAccessions); | 1735 checkUnnamed2950(o.sourceAccessions); |
| 1736 unittest.expect(o.sourceUri, unittest.equals('foo')); | 1736 unittest.expect(o.sourceUri, unittest.equals('foo')); |
| 1737 } | 1737 } |
| 1738 buildCounterReferenceSet--; | 1738 buildCounterReferenceSet--; |
| 1739 } | 1739 } |
| 1740 | 1740 |
| 1741 core.int buildCounterRuntimeMetadata = 0; | 1741 core.int buildCounterRuntimeMetadata = 0; |
| 1742 buildRuntimeMetadata() { | 1742 buildRuntimeMetadata() { |
| 1743 var o = new api.RuntimeMetadata(); | 1743 var o = new api.RuntimeMetadata(); |
| 1744 buildCounterRuntimeMetadata++; | 1744 buildCounterRuntimeMetadata++; |
| 1745 if (buildCounterRuntimeMetadata < 3) { | 1745 if (buildCounterRuntimeMetadata < 3) { |
| 1746 o.computeEngine = buildComputeEngine(); | 1746 o.computeEngine = buildComputeEngine(); |
| 1747 } | 1747 } |
| 1748 buildCounterRuntimeMetadata--; | 1748 buildCounterRuntimeMetadata--; |
| 1749 return o; | 1749 return o; |
| 1750 } | 1750 } |
| 1751 | 1751 |
| 1752 checkRuntimeMetadata(api.RuntimeMetadata o) { | 1752 checkRuntimeMetadata(api.RuntimeMetadata o) { |
| 1753 buildCounterRuntimeMetadata++; | 1753 buildCounterRuntimeMetadata++; |
| 1754 if (buildCounterRuntimeMetadata < 3) { | 1754 if (buildCounterRuntimeMetadata < 3) { |
| 1755 checkComputeEngine(o.computeEngine); | 1755 checkComputeEngine(o.computeEngine); |
| 1756 } | 1756 } |
| 1757 buildCounterRuntimeMetadata--; | 1757 buildCounterRuntimeMetadata--; |
| 1758 } | 1758 } |
| 1759 | 1759 |
| 1760 buildUnnamed2857() { | 1760 buildUnnamed2951() { |
| 1761 var o = new core.List<core.String>(); | 1761 var o = new core.List<core.String>(); |
| 1762 o.add("foo"); | 1762 o.add("foo"); |
| 1763 o.add("foo"); | 1763 o.add("foo"); |
| 1764 return o; | 1764 return o; |
| 1765 } | 1765 } |
| 1766 | 1766 |
| 1767 checkUnnamed2857(core.List<core.String> o) { | 1767 checkUnnamed2951(core.List<core.String> o) { |
| 1768 unittest.expect(o, unittest.hasLength(2)); | 1768 unittest.expect(o, unittest.hasLength(2)); |
| 1769 unittest.expect(o[0], unittest.equals('foo')); | 1769 unittest.expect(o[0], unittest.equals('foo')); |
| 1770 unittest.expect(o[1], unittest.equals('foo')); | 1770 unittest.expect(o[1], unittest.equals('foo')); |
| 1771 } | 1771 } |
| 1772 | 1772 |
| 1773 buildUnnamed2858() { | 1773 buildUnnamed2952() { |
| 1774 var o = new core.List<core.String>(); | 1774 var o = new core.List<core.String>(); |
| 1775 o.add("foo"); | 1775 o.add("foo"); |
| 1776 o.add("foo"); | 1776 o.add("foo"); |
| 1777 return o; | 1777 return o; |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 checkUnnamed2858(core.List<core.String> o) { | 1780 checkUnnamed2952(core.List<core.String> o) { |
| 1781 unittest.expect(o, unittest.hasLength(2)); | 1781 unittest.expect(o, unittest.hasLength(2)); |
| 1782 unittest.expect(o[0], unittest.equals('foo')); | 1782 unittest.expect(o[0], unittest.equals('foo')); |
| 1783 unittest.expect(o[1], unittest.equals('foo')); | 1783 unittest.expect(o[1], unittest.equals('foo')); |
| 1784 } | 1784 } |
| 1785 | 1785 |
| 1786 core.int buildCounterSearchAnnotationSetsRequest = 0; | 1786 core.int buildCounterSearchAnnotationSetsRequest = 0; |
| 1787 buildSearchAnnotationSetsRequest() { | 1787 buildSearchAnnotationSetsRequest() { |
| 1788 var o = new api.SearchAnnotationSetsRequest(); | 1788 var o = new api.SearchAnnotationSetsRequest(); |
| 1789 buildCounterSearchAnnotationSetsRequest++; | 1789 buildCounterSearchAnnotationSetsRequest++; |
| 1790 if (buildCounterSearchAnnotationSetsRequest < 3) { | 1790 if (buildCounterSearchAnnotationSetsRequest < 3) { |
| 1791 o.datasetIds = buildUnnamed2857(); | 1791 o.datasetIds = buildUnnamed2951(); |
| 1792 o.name = "foo"; | 1792 o.name = "foo"; |
| 1793 o.pageSize = 42; | 1793 o.pageSize = 42; |
| 1794 o.pageToken = "foo"; | 1794 o.pageToken = "foo"; |
| 1795 o.referenceSetId = "foo"; | 1795 o.referenceSetId = "foo"; |
| 1796 o.types = buildUnnamed2858(); | 1796 o.types = buildUnnamed2952(); |
| 1797 } | 1797 } |
| 1798 buildCounterSearchAnnotationSetsRequest--; | 1798 buildCounterSearchAnnotationSetsRequest--; |
| 1799 return o; | 1799 return o; |
| 1800 } | 1800 } |
| 1801 | 1801 |
| 1802 checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) { | 1802 checkSearchAnnotationSetsRequest(api.SearchAnnotationSetsRequest o) { |
| 1803 buildCounterSearchAnnotationSetsRequest++; | 1803 buildCounterSearchAnnotationSetsRequest++; |
| 1804 if (buildCounterSearchAnnotationSetsRequest < 3) { | 1804 if (buildCounterSearchAnnotationSetsRequest < 3) { |
| 1805 checkUnnamed2857(o.datasetIds); | 1805 checkUnnamed2951(o.datasetIds); |
| 1806 unittest.expect(o.name, unittest.equals('foo')); | 1806 unittest.expect(o.name, unittest.equals('foo')); |
| 1807 unittest.expect(o.pageSize, unittest.equals(42)); | 1807 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1808 unittest.expect(o.pageToken, unittest.equals('foo')); | 1808 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1809 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 1809 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 1810 checkUnnamed2858(o.types); | 1810 checkUnnamed2952(o.types); |
| 1811 } | 1811 } |
| 1812 buildCounterSearchAnnotationSetsRequest--; | 1812 buildCounterSearchAnnotationSetsRequest--; |
| 1813 } | 1813 } |
| 1814 | 1814 |
| 1815 buildUnnamed2859() { | 1815 buildUnnamed2953() { |
| 1816 var o = new core.List<api.AnnotationSet>(); | 1816 var o = new core.List<api.AnnotationSet>(); |
| 1817 o.add(buildAnnotationSet()); | 1817 o.add(buildAnnotationSet()); |
| 1818 o.add(buildAnnotationSet()); | 1818 o.add(buildAnnotationSet()); |
| 1819 return o; | 1819 return o; |
| 1820 } | 1820 } |
| 1821 | 1821 |
| 1822 checkUnnamed2859(core.List<api.AnnotationSet> o) { | 1822 checkUnnamed2953(core.List<api.AnnotationSet> o) { |
| 1823 unittest.expect(o, unittest.hasLength(2)); | 1823 unittest.expect(o, unittest.hasLength(2)); |
| 1824 checkAnnotationSet(o[0]); | 1824 checkAnnotationSet(o[0]); |
| 1825 checkAnnotationSet(o[1]); | 1825 checkAnnotationSet(o[1]); |
| 1826 } | 1826 } |
| 1827 | 1827 |
| 1828 core.int buildCounterSearchAnnotationSetsResponse = 0; | 1828 core.int buildCounterSearchAnnotationSetsResponse = 0; |
| 1829 buildSearchAnnotationSetsResponse() { | 1829 buildSearchAnnotationSetsResponse() { |
| 1830 var o = new api.SearchAnnotationSetsResponse(); | 1830 var o = new api.SearchAnnotationSetsResponse(); |
| 1831 buildCounterSearchAnnotationSetsResponse++; | 1831 buildCounterSearchAnnotationSetsResponse++; |
| 1832 if (buildCounterSearchAnnotationSetsResponse < 3) { | 1832 if (buildCounterSearchAnnotationSetsResponse < 3) { |
| 1833 o.annotationSets = buildUnnamed2859(); | 1833 o.annotationSets = buildUnnamed2953(); |
| 1834 o.nextPageToken = "foo"; | 1834 o.nextPageToken = "foo"; |
| 1835 } | 1835 } |
| 1836 buildCounterSearchAnnotationSetsResponse--; | 1836 buildCounterSearchAnnotationSetsResponse--; |
| 1837 return o; | 1837 return o; |
| 1838 } | 1838 } |
| 1839 | 1839 |
| 1840 checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) { | 1840 checkSearchAnnotationSetsResponse(api.SearchAnnotationSetsResponse o) { |
| 1841 buildCounterSearchAnnotationSetsResponse++; | 1841 buildCounterSearchAnnotationSetsResponse++; |
| 1842 if (buildCounterSearchAnnotationSetsResponse < 3) { | 1842 if (buildCounterSearchAnnotationSetsResponse < 3) { |
| 1843 checkUnnamed2859(o.annotationSets); | 1843 checkUnnamed2953(o.annotationSets); |
| 1844 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1844 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1845 } | 1845 } |
| 1846 buildCounterSearchAnnotationSetsResponse--; | 1846 buildCounterSearchAnnotationSetsResponse--; |
| 1847 } | 1847 } |
| 1848 | 1848 |
| 1849 buildUnnamed2860() { | 1849 buildUnnamed2954() { |
| 1850 var o = new core.List<core.String>(); | 1850 var o = new core.List<core.String>(); |
| 1851 o.add("foo"); | 1851 o.add("foo"); |
| 1852 o.add("foo"); | 1852 o.add("foo"); |
| 1853 return o; | 1853 return o; |
| 1854 } | 1854 } |
| 1855 | 1855 |
| 1856 checkUnnamed2860(core.List<core.String> o) { | 1856 checkUnnamed2954(core.List<core.String> o) { |
| 1857 unittest.expect(o, unittest.hasLength(2)); | 1857 unittest.expect(o, unittest.hasLength(2)); |
| 1858 unittest.expect(o[0], unittest.equals('foo')); | 1858 unittest.expect(o[0], unittest.equals('foo')); |
| 1859 unittest.expect(o[1], unittest.equals('foo')); | 1859 unittest.expect(o[1], unittest.equals('foo')); |
| 1860 } | 1860 } |
| 1861 | 1861 |
| 1862 core.int buildCounterSearchAnnotationsRequest = 0; | 1862 core.int buildCounterSearchAnnotationsRequest = 0; |
| 1863 buildSearchAnnotationsRequest() { | 1863 buildSearchAnnotationsRequest() { |
| 1864 var o = new api.SearchAnnotationsRequest(); | 1864 var o = new api.SearchAnnotationsRequest(); |
| 1865 buildCounterSearchAnnotationsRequest++; | 1865 buildCounterSearchAnnotationsRequest++; |
| 1866 if (buildCounterSearchAnnotationsRequest < 3) { | 1866 if (buildCounterSearchAnnotationsRequest < 3) { |
| 1867 o.annotationSetIds = buildUnnamed2860(); | 1867 o.annotationSetIds = buildUnnamed2954(); |
| 1868 o.end = "foo"; | 1868 o.end = "foo"; |
| 1869 o.pageSize = 42; | 1869 o.pageSize = 42; |
| 1870 o.pageToken = "foo"; | 1870 o.pageToken = "foo"; |
| 1871 o.referenceId = "foo"; | 1871 o.referenceId = "foo"; |
| 1872 o.referenceName = "foo"; | 1872 o.referenceName = "foo"; |
| 1873 o.start = "foo"; | 1873 o.start = "foo"; |
| 1874 } | 1874 } |
| 1875 buildCounterSearchAnnotationsRequest--; | 1875 buildCounterSearchAnnotationsRequest--; |
| 1876 return o; | 1876 return o; |
| 1877 } | 1877 } |
| 1878 | 1878 |
| 1879 checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) { | 1879 checkSearchAnnotationsRequest(api.SearchAnnotationsRequest o) { |
| 1880 buildCounterSearchAnnotationsRequest++; | 1880 buildCounterSearchAnnotationsRequest++; |
| 1881 if (buildCounterSearchAnnotationsRequest < 3) { | 1881 if (buildCounterSearchAnnotationsRequest < 3) { |
| 1882 checkUnnamed2860(o.annotationSetIds); | 1882 checkUnnamed2954(o.annotationSetIds); |
| 1883 unittest.expect(o.end, unittest.equals('foo')); | 1883 unittest.expect(o.end, unittest.equals('foo')); |
| 1884 unittest.expect(o.pageSize, unittest.equals(42)); | 1884 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1885 unittest.expect(o.pageToken, unittest.equals('foo')); | 1885 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1886 unittest.expect(o.referenceId, unittest.equals('foo')); | 1886 unittest.expect(o.referenceId, unittest.equals('foo')); |
| 1887 unittest.expect(o.referenceName, unittest.equals('foo')); | 1887 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 1888 unittest.expect(o.start, unittest.equals('foo')); | 1888 unittest.expect(o.start, unittest.equals('foo')); |
| 1889 } | 1889 } |
| 1890 buildCounterSearchAnnotationsRequest--; | 1890 buildCounterSearchAnnotationsRequest--; |
| 1891 } | 1891 } |
| 1892 | 1892 |
| 1893 buildUnnamed2861() { | 1893 buildUnnamed2955() { |
| 1894 var o = new core.List<api.Annotation>(); | 1894 var o = new core.List<api.Annotation>(); |
| 1895 o.add(buildAnnotation()); | 1895 o.add(buildAnnotation()); |
| 1896 o.add(buildAnnotation()); | 1896 o.add(buildAnnotation()); |
| 1897 return o; | 1897 return o; |
| 1898 } | 1898 } |
| 1899 | 1899 |
| 1900 checkUnnamed2861(core.List<api.Annotation> o) { | 1900 checkUnnamed2955(core.List<api.Annotation> o) { |
| 1901 unittest.expect(o, unittest.hasLength(2)); | 1901 unittest.expect(o, unittest.hasLength(2)); |
| 1902 checkAnnotation(o[0]); | 1902 checkAnnotation(o[0]); |
| 1903 checkAnnotation(o[1]); | 1903 checkAnnotation(o[1]); |
| 1904 } | 1904 } |
| 1905 | 1905 |
| 1906 core.int buildCounterSearchAnnotationsResponse = 0; | 1906 core.int buildCounterSearchAnnotationsResponse = 0; |
| 1907 buildSearchAnnotationsResponse() { | 1907 buildSearchAnnotationsResponse() { |
| 1908 var o = new api.SearchAnnotationsResponse(); | 1908 var o = new api.SearchAnnotationsResponse(); |
| 1909 buildCounterSearchAnnotationsResponse++; | 1909 buildCounterSearchAnnotationsResponse++; |
| 1910 if (buildCounterSearchAnnotationsResponse < 3) { | 1910 if (buildCounterSearchAnnotationsResponse < 3) { |
| 1911 o.annotations = buildUnnamed2861(); | 1911 o.annotations = buildUnnamed2955(); |
| 1912 o.nextPageToken = "foo"; | 1912 o.nextPageToken = "foo"; |
| 1913 } | 1913 } |
| 1914 buildCounterSearchAnnotationsResponse--; | 1914 buildCounterSearchAnnotationsResponse--; |
| 1915 return o; | 1915 return o; |
| 1916 } | 1916 } |
| 1917 | 1917 |
| 1918 checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) { | 1918 checkSearchAnnotationsResponse(api.SearchAnnotationsResponse o) { |
| 1919 buildCounterSearchAnnotationsResponse++; | 1919 buildCounterSearchAnnotationsResponse++; |
| 1920 if (buildCounterSearchAnnotationsResponse < 3) { | 1920 if (buildCounterSearchAnnotationsResponse < 3) { |
| 1921 checkUnnamed2861(o.annotations); | 1921 checkUnnamed2955(o.annotations); |
| 1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1922 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1923 } | 1923 } |
| 1924 buildCounterSearchAnnotationsResponse--; | 1924 buildCounterSearchAnnotationsResponse--; |
| 1925 } | 1925 } |
| 1926 | 1926 |
| 1927 buildUnnamed2862() { | 1927 buildUnnamed2956() { |
| 1928 var o = new core.List<core.String>(); | 1928 var o = new core.List<core.String>(); |
| 1929 o.add("foo"); | 1929 o.add("foo"); |
| 1930 o.add("foo"); | 1930 o.add("foo"); |
| 1931 return o; | 1931 return o; |
| 1932 } | 1932 } |
| 1933 | 1933 |
| 1934 checkUnnamed2862(core.List<core.String> o) { | 1934 checkUnnamed2956(core.List<core.String> o) { |
| 1935 unittest.expect(o, unittest.hasLength(2)); | 1935 unittest.expect(o, unittest.hasLength(2)); |
| 1936 unittest.expect(o[0], unittest.equals('foo')); | 1936 unittest.expect(o[0], unittest.equals('foo')); |
| 1937 unittest.expect(o[1], unittest.equals('foo')); | 1937 unittest.expect(o[1], unittest.equals('foo')); |
| 1938 } | 1938 } |
| 1939 | 1939 |
| 1940 core.int buildCounterSearchCallSetsRequest = 0; | 1940 core.int buildCounterSearchCallSetsRequest = 0; |
| 1941 buildSearchCallSetsRequest() { | 1941 buildSearchCallSetsRequest() { |
| 1942 var o = new api.SearchCallSetsRequest(); | 1942 var o = new api.SearchCallSetsRequest(); |
| 1943 buildCounterSearchCallSetsRequest++; | 1943 buildCounterSearchCallSetsRequest++; |
| 1944 if (buildCounterSearchCallSetsRequest < 3) { | 1944 if (buildCounterSearchCallSetsRequest < 3) { |
| 1945 o.name = "foo"; | 1945 o.name = "foo"; |
| 1946 o.pageSize = 42; | 1946 o.pageSize = 42; |
| 1947 o.pageToken = "foo"; | 1947 o.pageToken = "foo"; |
| 1948 o.variantSetIds = buildUnnamed2862(); | 1948 o.variantSetIds = buildUnnamed2956(); |
| 1949 } | 1949 } |
| 1950 buildCounterSearchCallSetsRequest--; | 1950 buildCounterSearchCallSetsRequest--; |
| 1951 return o; | 1951 return o; |
| 1952 } | 1952 } |
| 1953 | 1953 |
| 1954 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { | 1954 checkSearchCallSetsRequest(api.SearchCallSetsRequest o) { |
| 1955 buildCounterSearchCallSetsRequest++; | 1955 buildCounterSearchCallSetsRequest++; |
| 1956 if (buildCounterSearchCallSetsRequest < 3) { | 1956 if (buildCounterSearchCallSetsRequest < 3) { |
| 1957 unittest.expect(o.name, unittest.equals('foo')); | 1957 unittest.expect(o.name, unittest.equals('foo')); |
| 1958 unittest.expect(o.pageSize, unittest.equals(42)); | 1958 unittest.expect(o.pageSize, unittest.equals(42)); |
| 1959 unittest.expect(o.pageToken, unittest.equals('foo')); | 1959 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 1960 checkUnnamed2862(o.variantSetIds); | 1960 checkUnnamed2956(o.variantSetIds); |
| 1961 } | 1961 } |
| 1962 buildCounterSearchCallSetsRequest--; | 1962 buildCounterSearchCallSetsRequest--; |
| 1963 } | 1963 } |
| 1964 | 1964 |
| 1965 buildUnnamed2863() { | 1965 buildUnnamed2957() { |
| 1966 var o = new core.List<api.CallSet>(); | 1966 var o = new core.List<api.CallSet>(); |
| 1967 o.add(buildCallSet()); | 1967 o.add(buildCallSet()); |
| 1968 o.add(buildCallSet()); | 1968 o.add(buildCallSet()); |
| 1969 return o; | 1969 return o; |
| 1970 } | 1970 } |
| 1971 | 1971 |
| 1972 checkUnnamed2863(core.List<api.CallSet> o) { | 1972 checkUnnamed2957(core.List<api.CallSet> o) { |
| 1973 unittest.expect(o, unittest.hasLength(2)); | 1973 unittest.expect(o, unittest.hasLength(2)); |
| 1974 checkCallSet(o[0]); | 1974 checkCallSet(o[0]); |
| 1975 checkCallSet(o[1]); | 1975 checkCallSet(o[1]); |
| 1976 } | 1976 } |
| 1977 | 1977 |
| 1978 core.int buildCounterSearchCallSetsResponse = 0; | 1978 core.int buildCounterSearchCallSetsResponse = 0; |
| 1979 buildSearchCallSetsResponse() { | 1979 buildSearchCallSetsResponse() { |
| 1980 var o = new api.SearchCallSetsResponse(); | 1980 var o = new api.SearchCallSetsResponse(); |
| 1981 buildCounterSearchCallSetsResponse++; | 1981 buildCounterSearchCallSetsResponse++; |
| 1982 if (buildCounterSearchCallSetsResponse < 3) { | 1982 if (buildCounterSearchCallSetsResponse < 3) { |
| 1983 o.callSets = buildUnnamed2863(); | 1983 o.callSets = buildUnnamed2957(); |
| 1984 o.nextPageToken = "foo"; | 1984 o.nextPageToken = "foo"; |
| 1985 } | 1985 } |
| 1986 buildCounterSearchCallSetsResponse--; | 1986 buildCounterSearchCallSetsResponse--; |
| 1987 return o; | 1987 return o; |
| 1988 } | 1988 } |
| 1989 | 1989 |
| 1990 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { | 1990 checkSearchCallSetsResponse(api.SearchCallSetsResponse o) { |
| 1991 buildCounterSearchCallSetsResponse++; | 1991 buildCounterSearchCallSetsResponse++; |
| 1992 if (buildCounterSearchCallSetsResponse < 3) { | 1992 if (buildCounterSearchCallSetsResponse < 3) { |
| 1993 checkUnnamed2863(o.callSets); | 1993 checkUnnamed2957(o.callSets); |
| 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1994 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1995 } | 1995 } |
| 1996 buildCounterSearchCallSetsResponse--; | 1996 buildCounterSearchCallSetsResponse--; |
| 1997 } | 1997 } |
| 1998 | 1998 |
| 1999 buildUnnamed2864() { | 1999 buildUnnamed2958() { |
| 2000 var o = new core.List<core.String>(); | 2000 var o = new core.List<core.String>(); |
| 2001 o.add("foo"); | 2001 o.add("foo"); |
| 2002 o.add("foo"); | 2002 o.add("foo"); |
| 2003 return o; | 2003 return o; |
| 2004 } | 2004 } |
| 2005 | 2005 |
| 2006 checkUnnamed2864(core.List<core.String> o) { | 2006 checkUnnamed2958(core.List<core.String> o) { |
| 2007 unittest.expect(o, unittest.hasLength(2)); | 2007 unittest.expect(o, unittest.hasLength(2)); |
| 2008 unittest.expect(o[0], unittest.equals('foo')); | 2008 unittest.expect(o[0], unittest.equals('foo')); |
| 2009 unittest.expect(o[1], unittest.equals('foo')); | 2009 unittest.expect(o[1], unittest.equals('foo')); |
| 2010 } | 2010 } |
| 2011 | 2011 |
| 2012 core.int buildCounterSearchReadGroupSetsRequest = 0; | 2012 core.int buildCounterSearchReadGroupSetsRequest = 0; |
| 2013 buildSearchReadGroupSetsRequest() { | 2013 buildSearchReadGroupSetsRequest() { |
| 2014 var o = new api.SearchReadGroupSetsRequest(); | 2014 var o = new api.SearchReadGroupSetsRequest(); |
| 2015 buildCounterSearchReadGroupSetsRequest++; | 2015 buildCounterSearchReadGroupSetsRequest++; |
| 2016 if (buildCounterSearchReadGroupSetsRequest < 3) { | 2016 if (buildCounterSearchReadGroupSetsRequest < 3) { |
| 2017 o.datasetIds = buildUnnamed2864(); | 2017 o.datasetIds = buildUnnamed2958(); |
| 2018 o.name = "foo"; | 2018 o.name = "foo"; |
| 2019 o.pageSize = 42; | 2019 o.pageSize = 42; |
| 2020 o.pageToken = "foo"; | 2020 o.pageToken = "foo"; |
| 2021 } | 2021 } |
| 2022 buildCounterSearchReadGroupSetsRequest--; | 2022 buildCounterSearchReadGroupSetsRequest--; |
| 2023 return o; | 2023 return o; |
| 2024 } | 2024 } |
| 2025 | 2025 |
| 2026 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { | 2026 checkSearchReadGroupSetsRequest(api.SearchReadGroupSetsRequest o) { |
| 2027 buildCounterSearchReadGroupSetsRequest++; | 2027 buildCounterSearchReadGroupSetsRequest++; |
| 2028 if (buildCounterSearchReadGroupSetsRequest < 3) { | 2028 if (buildCounterSearchReadGroupSetsRequest < 3) { |
| 2029 checkUnnamed2864(o.datasetIds); | 2029 checkUnnamed2958(o.datasetIds); |
| 2030 unittest.expect(o.name, unittest.equals('foo')); | 2030 unittest.expect(o.name, unittest.equals('foo')); |
| 2031 unittest.expect(o.pageSize, unittest.equals(42)); | 2031 unittest.expect(o.pageSize, unittest.equals(42)); |
| 2032 unittest.expect(o.pageToken, unittest.equals('foo')); | 2032 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 2033 } | 2033 } |
| 2034 buildCounterSearchReadGroupSetsRequest--; | 2034 buildCounterSearchReadGroupSetsRequest--; |
| 2035 } | 2035 } |
| 2036 | 2036 |
| 2037 buildUnnamed2865() { | 2037 buildUnnamed2959() { |
| 2038 var o = new core.List<api.ReadGroupSet>(); | 2038 var o = new core.List<api.ReadGroupSet>(); |
| 2039 o.add(buildReadGroupSet()); | 2039 o.add(buildReadGroupSet()); |
| 2040 o.add(buildReadGroupSet()); | 2040 o.add(buildReadGroupSet()); |
| 2041 return o; | 2041 return o; |
| 2042 } | 2042 } |
| 2043 | 2043 |
| 2044 checkUnnamed2865(core.List<api.ReadGroupSet> o) { | 2044 checkUnnamed2959(core.List<api.ReadGroupSet> o) { |
| 2045 unittest.expect(o, unittest.hasLength(2)); | 2045 unittest.expect(o, unittest.hasLength(2)); |
| 2046 checkReadGroupSet(o[0]); | 2046 checkReadGroupSet(o[0]); |
| 2047 checkReadGroupSet(o[1]); | 2047 checkReadGroupSet(o[1]); |
| 2048 } | 2048 } |
| 2049 | 2049 |
| 2050 core.int buildCounterSearchReadGroupSetsResponse = 0; | 2050 core.int buildCounterSearchReadGroupSetsResponse = 0; |
| 2051 buildSearchReadGroupSetsResponse() { | 2051 buildSearchReadGroupSetsResponse() { |
| 2052 var o = new api.SearchReadGroupSetsResponse(); | 2052 var o = new api.SearchReadGroupSetsResponse(); |
| 2053 buildCounterSearchReadGroupSetsResponse++; | 2053 buildCounterSearchReadGroupSetsResponse++; |
| 2054 if (buildCounterSearchReadGroupSetsResponse < 3) { | 2054 if (buildCounterSearchReadGroupSetsResponse < 3) { |
| 2055 o.nextPageToken = "foo"; | 2055 o.nextPageToken = "foo"; |
| 2056 o.readGroupSets = buildUnnamed2865(); | 2056 o.readGroupSets = buildUnnamed2959(); |
| 2057 } | 2057 } |
| 2058 buildCounterSearchReadGroupSetsResponse--; | 2058 buildCounterSearchReadGroupSetsResponse--; |
| 2059 return o; | 2059 return o; |
| 2060 } | 2060 } |
| 2061 | 2061 |
| 2062 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { | 2062 checkSearchReadGroupSetsResponse(api.SearchReadGroupSetsResponse o) { |
| 2063 buildCounterSearchReadGroupSetsResponse++; | 2063 buildCounterSearchReadGroupSetsResponse++; |
| 2064 if (buildCounterSearchReadGroupSetsResponse < 3) { | 2064 if (buildCounterSearchReadGroupSetsResponse < 3) { |
| 2065 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2065 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2066 checkUnnamed2865(o.readGroupSets); | 2066 checkUnnamed2959(o.readGroupSets); |
| 2067 } | 2067 } |
| 2068 buildCounterSearchReadGroupSetsResponse--; | 2068 buildCounterSearchReadGroupSetsResponse--; |
| 2069 } | 2069 } |
| 2070 | 2070 |
| 2071 buildUnnamed2866() { | 2071 buildUnnamed2960() { |
| 2072 var o = new core.List<core.String>(); | 2072 var o = new core.List<core.String>(); |
| 2073 o.add("foo"); | 2073 o.add("foo"); |
| 2074 o.add("foo"); | 2074 o.add("foo"); |
| 2075 return o; | 2075 return o; |
| 2076 } | 2076 } |
| 2077 | 2077 |
| 2078 checkUnnamed2866(core.List<core.String> o) { | 2078 checkUnnamed2960(core.List<core.String> o) { |
| 2079 unittest.expect(o, unittest.hasLength(2)); | 2079 unittest.expect(o, unittest.hasLength(2)); |
| 2080 unittest.expect(o[0], unittest.equals('foo')); | 2080 unittest.expect(o[0], unittest.equals('foo')); |
| 2081 unittest.expect(o[1], unittest.equals('foo')); | 2081 unittest.expect(o[1], unittest.equals('foo')); |
| 2082 } | 2082 } |
| 2083 | 2083 |
| 2084 buildUnnamed2867() { | 2084 buildUnnamed2961() { |
| 2085 var o = new core.List<core.String>(); | 2085 var o = new core.List<core.String>(); |
| 2086 o.add("foo"); | 2086 o.add("foo"); |
| 2087 o.add("foo"); | 2087 o.add("foo"); |
| 2088 return o; | 2088 return o; |
| 2089 } | 2089 } |
| 2090 | 2090 |
| 2091 checkUnnamed2867(core.List<core.String> o) { | 2091 checkUnnamed2961(core.List<core.String> o) { |
| 2092 unittest.expect(o, unittest.hasLength(2)); | 2092 unittest.expect(o, unittest.hasLength(2)); |
| 2093 unittest.expect(o[0], unittest.equals('foo')); | 2093 unittest.expect(o[0], unittest.equals('foo')); |
| 2094 unittest.expect(o[1], unittest.equals('foo')); | 2094 unittest.expect(o[1], unittest.equals('foo')); |
| 2095 } | 2095 } |
| 2096 | 2096 |
| 2097 core.int buildCounterSearchReadsRequest = 0; | 2097 core.int buildCounterSearchReadsRequest = 0; |
| 2098 buildSearchReadsRequest() { | 2098 buildSearchReadsRequest() { |
| 2099 var o = new api.SearchReadsRequest(); | 2099 var o = new api.SearchReadsRequest(); |
| 2100 buildCounterSearchReadsRequest++; | 2100 buildCounterSearchReadsRequest++; |
| 2101 if (buildCounterSearchReadsRequest < 3) { | 2101 if (buildCounterSearchReadsRequest < 3) { |
| 2102 o.end = "foo"; | 2102 o.end = "foo"; |
| 2103 o.pageSize = 42; | 2103 o.pageSize = 42; |
| 2104 o.pageToken = "foo"; | 2104 o.pageToken = "foo"; |
| 2105 o.readGroupIds = buildUnnamed2866(); | 2105 o.readGroupIds = buildUnnamed2960(); |
| 2106 o.readGroupSetIds = buildUnnamed2867(); | 2106 o.readGroupSetIds = buildUnnamed2961(); |
| 2107 o.referenceName = "foo"; | 2107 o.referenceName = "foo"; |
| 2108 o.start = "foo"; | 2108 o.start = "foo"; |
| 2109 } | 2109 } |
| 2110 buildCounterSearchReadsRequest--; | 2110 buildCounterSearchReadsRequest--; |
| 2111 return o; | 2111 return o; |
| 2112 } | 2112 } |
| 2113 | 2113 |
| 2114 checkSearchReadsRequest(api.SearchReadsRequest o) { | 2114 checkSearchReadsRequest(api.SearchReadsRequest o) { |
| 2115 buildCounterSearchReadsRequest++; | 2115 buildCounterSearchReadsRequest++; |
| 2116 if (buildCounterSearchReadsRequest < 3) { | 2116 if (buildCounterSearchReadsRequest < 3) { |
| 2117 unittest.expect(o.end, unittest.equals('foo')); | 2117 unittest.expect(o.end, unittest.equals('foo')); |
| 2118 unittest.expect(o.pageSize, unittest.equals(42)); | 2118 unittest.expect(o.pageSize, unittest.equals(42)); |
| 2119 unittest.expect(o.pageToken, unittest.equals('foo')); | 2119 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 2120 checkUnnamed2866(o.readGroupIds); | 2120 checkUnnamed2960(o.readGroupIds); |
| 2121 checkUnnamed2867(o.readGroupSetIds); | 2121 checkUnnamed2961(o.readGroupSetIds); |
| 2122 unittest.expect(o.referenceName, unittest.equals('foo')); | 2122 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 2123 unittest.expect(o.start, unittest.equals('foo')); | 2123 unittest.expect(o.start, unittest.equals('foo')); |
| 2124 } | 2124 } |
| 2125 buildCounterSearchReadsRequest--; | 2125 buildCounterSearchReadsRequest--; |
| 2126 } | 2126 } |
| 2127 | 2127 |
| 2128 buildUnnamed2868() { | 2128 buildUnnamed2962() { |
| 2129 var o = new core.List<api.Read>(); | 2129 var o = new core.List<api.Read>(); |
| 2130 o.add(buildRead()); | 2130 o.add(buildRead()); |
| 2131 o.add(buildRead()); | 2131 o.add(buildRead()); |
| 2132 return o; | 2132 return o; |
| 2133 } | 2133 } |
| 2134 | 2134 |
| 2135 checkUnnamed2868(core.List<api.Read> o) { | 2135 checkUnnamed2962(core.List<api.Read> o) { |
| 2136 unittest.expect(o, unittest.hasLength(2)); | 2136 unittest.expect(o, unittest.hasLength(2)); |
| 2137 checkRead(o[0]); | 2137 checkRead(o[0]); |
| 2138 checkRead(o[1]); | 2138 checkRead(o[1]); |
| 2139 } | 2139 } |
| 2140 | 2140 |
| 2141 core.int buildCounterSearchReadsResponse = 0; | 2141 core.int buildCounterSearchReadsResponse = 0; |
| 2142 buildSearchReadsResponse() { | 2142 buildSearchReadsResponse() { |
| 2143 var o = new api.SearchReadsResponse(); | 2143 var o = new api.SearchReadsResponse(); |
| 2144 buildCounterSearchReadsResponse++; | 2144 buildCounterSearchReadsResponse++; |
| 2145 if (buildCounterSearchReadsResponse < 3) { | 2145 if (buildCounterSearchReadsResponse < 3) { |
| 2146 o.alignments = buildUnnamed2868(); | 2146 o.alignments = buildUnnamed2962(); |
| 2147 o.nextPageToken = "foo"; | 2147 o.nextPageToken = "foo"; |
| 2148 } | 2148 } |
| 2149 buildCounterSearchReadsResponse--; | 2149 buildCounterSearchReadsResponse--; |
| 2150 return o; | 2150 return o; |
| 2151 } | 2151 } |
| 2152 | 2152 |
| 2153 checkSearchReadsResponse(api.SearchReadsResponse o) { | 2153 checkSearchReadsResponse(api.SearchReadsResponse o) { |
| 2154 buildCounterSearchReadsResponse++; | 2154 buildCounterSearchReadsResponse++; |
| 2155 if (buildCounterSearchReadsResponse < 3) { | 2155 if (buildCounterSearchReadsResponse < 3) { |
| 2156 checkUnnamed2868(o.alignments); | 2156 checkUnnamed2962(o.alignments); |
| 2157 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2157 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2158 } | 2158 } |
| 2159 buildCounterSearchReadsResponse--; | 2159 buildCounterSearchReadsResponse--; |
| 2160 } | 2160 } |
| 2161 | 2161 |
| 2162 buildUnnamed2869() { | 2162 buildUnnamed2963() { |
| 2163 var o = new core.List<core.String>(); | 2163 var o = new core.List<core.String>(); |
| 2164 o.add("foo"); | 2164 o.add("foo"); |
| 2165 o.add("foo"); | 2165 o.add("foo"); |
| 2166 return o; | 2166 return o; |
| 2167 } | 2167 } |
| 2168 | 2168 |
| 2169 checkUnnamed2869(core.List<core.String> o) { | 2169 checkUnnamed2963(core.List<core.String> o) { |
| 2170 unittest.expect(o, unittest.hasLength(2)); | 2170 unittest.expect(o, unittest.hasLength(2)); |
| 2171 unittest.expect(o[0], unittest.equals('foo')); | 2171 unittest.expect(o[0], unittest.equals('foo')); |
| 2172 unittest.expect(o[1], unittest.equals('foo')); | 2172 unittest.expect(o[1], unittest.equals('foo')); |
| 2173 } | 2173 } |
| 2174 | 2174 |
| 2175 buildUnnamed2870() { | 2175 buildUnnamed2964() { |
| 2176 var o = new core.List<core.String>(); | 2176 var o = new core.List<core.String>(); |
| 2177 o.add("foo"); | 2177 o.add("foo"); |
| 2178 o.add("foo"); | 2178 o.add("foo"); |
| 2179 return o; | 2179 return o; |
| 2180 } | 2180 } |
| 2181 | 2181 |
| 2182 checkUnnamed2870(core.List<core.String> o) { | 2182 checkUnnamed2964(core.List<core.String> o) { |
| 2183 unittest.expect(o, unittest.hasLength(2)); | 2183 unittest.expect(o, unittest.hasLength(2)); |
| 2184 unittest.expect(o[0], unittest.equals('foo')); | 2184 unittest.expect(o[0], unittest.equals('foo')); |
| 2185 unittest.expect(o[1], unittest.equals('foo')); | 2185 unittest.expect(o[1], unittest.equals('foo')); |
| 2186 } | 2186 } |
| 2187 | 2187 |
| 2188 core.int buildCounterSearchReferenceSetsRequest = 0; | 2188 core.int buildCounterSearchReferenceSetsRequest = 0; |
| 2189 buildSearchReferenceSetsRequest() { | 2189 buildSearchReferenceSetsRequest() { |
| 2190 var o = new api.SearchReferenceSetsRequest(); | 2190 var o = new api.SearchReferenceSetsRequest(); |
| 2191 buildCounterSearchReferenceSetsRequest++; | 2191 buildCounterSearchReferenceSetsRequest++; |
| 2192 if (buildCounterSearchReferenceSetsRequest < 3) { | 2192 if (buildCounterSearchReferenceSetsRequest < 3) { |
| 2193 o.accessions = buildUnnamed2869(); | 2193 o.accessions = buildUnnamed2963(); |
| 2194 o.assemblyId = "foo"; | 2194 o.assemblyId = "foo"; |
| 2195 o.md5checksums = buildUnnamed2870(); | 2195 o.md5checksums = buildUnnamed2964(); |
| 2196 o.pageSize = 42; | 2196 o.pageSize = 42; |
| 2197 o.pageToken = "foo"; | 2197 o.pageToken = "foo"; |
| 2198 } | 2198 } |
| 2199 buildCounterSearchReferenceSetsRequest--; | 2199 buildCounterSearchReferenceSetsRequest--; |
| 2200 return o; | 2200 return o; |
| 2201 } | 2201 } |
| 2202 | 2202 |
| 2203 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { | 2203 checkSearchReferenceSetsRequest(api.SearchReferenceSetsRequest o) { |
| 2204 buildCounterSearchReferenceSetsRequest++; | 2204 buildCounterSearchReferenceSetsRequest++; |
| 2205 if (buildCounterSearchReferenceSetsRequest < 3) { | 2205 if (buildCounterSearchReferenceSetsRequest < 3) { |
| 2206 checkUnnamed2869(o.accessions); | 2206 checkUnnamed2963(o.accessions); |
| 2207 unittest.expect(o.assemblyId, unittest.equals('foo')); | 2207 unittest.expect(o.assemblyId, unittest.equals('foo')); |
| 2208 checkUnnamed2870(o.md5checksums); | 2208 checkUnnamed2964(o.md5checksums); |
| 2209 unittest.expect(o.pageSize, unittest.equals(42)); | 2209 unittest.expect(o.pageSize, unittest.equals(42)); |
| 2210 unittest.expect(o.pageToken, unittest.equals('foo')); | 2210 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 2211 } | 2211 } |
| 2212 buildCounterSearchReferenceSetsRequest--; | 2212 buildCounterSearchReferenceSetsRequest--; |
| 2213 } | 2213 } |
| 2214 | 2214 |
| 2215 buildUnnamed2871() { | 2215 buildUnnamed2965() { |
| 2216 var o = new core.List<api.ReferenceSet>(); | 2216 var o = new core.List<api.ReferenceSet>(); |
| 2217 o.add(buildReferenceSet()); | 2217 o.add(buildReferenceSet()); |
| 2218 o.add(buildReferenceSet()); | 2218 o.add(buildReferenceSet()); |
| 2219 return o; | 2219 return o; |
| 2220 } | 2220 } |
| 2221 | 2221 |
| 2222 checkUnnamed2871(core.List<api.ReferenceSet> o) { | 2222 checkUnnamed2965(core.List<api.ReferenceSet> o) { |
| 2223 unittest.expect(o, unittest.hasLength(2)); | 2223 unittest.expect(o, unittest.hasLength(2)); |
| 2224 checkReferenceSet(o[0]); | 2224 checkReferenceSet(o[0]); |
| 2225 checkReferenceSet(o[1]); | 2225 checkReferenceSet(o[1]); |
| 2226 } | 2226 } |
| 2227 | 2227 |
| 2228 core.int buildCounterSearchReferenceSetsResponse = 0; | 2228 core.int buildCounterSearchReferenceSetsResponse = 0; |
| 2229 buildSearchReferenceSetsResponse() { | 2229 buildSearchReferenceSetsResponse() { |
| 2230 var o = new api.SearchReferenceSetsResponse(); | 2230 var o = new api.SearchReferenceSetsResponse(); |
| 2231 buildCounterSearchReferenceSetsResponse++; | 2231 buildCounterSearchReferenceSetsResponse++; |
| 2232 if (buildCounterSearchReferenceSetsResponse < 3) { | 2232 if (buildCounterSearchReferenceSetsResponse < 3) { |
| 2233 o.nextPageToken = "foo"; | 2233 o.nextPageToken = "foo"; |
| 2234 o.referenceSets = buildUnnamed2871(); | 2234 o.referenceSets = buildUnnamed2965(); |
| 2235 } | 2235 } |
| 2236 buildCounterSearchReferenceSetsResponse--; | 2236 buildCounterSearchReferenceSetsResponse--; |
| 2237 return o; | 2237 return o; |
| 2238 } | 2238 } |
| 2239 | 2239 |
| 2240 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { | 2240 checkSearchReferenceSetsResponse(api.SearchReferenceSetsResponse o) { |
| 2241 buildCounterSearchReferenceSetsResponse++; | 2241 buildCounterSearchReferenceSetsResponse++; |
| 2242 if (buildCounterSearchReferenceSetsResponse < 3) { | 2242 if (buildCounterSearchReferenceSetsResponse < 3) { |
| 2243 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2243 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2244 checkUnnamed2871(o.referenceSets); | 2244 checkUnnamed2965(o.referenceSets); |
| 2245 } | 2245 } |
| 2246 buildCounterSearchReferenceSetsResponse--; | 2246 buildCounterSearchReferenceSetsResponse--; |
| 2247 } | 2247 } |
| 2248 | 2248 |
| 2249 buildUnnamed2872() { | 2249 buildUnnamed2966() { |
| 2250 var o = new core.List<core.String>(); | 2250 var o = new core.List<core.String>(); |
| 2251 o.add("foo"); | 2251 o.add("foo"); |
| 2252 o.add("foo"); | 2252 o.add("foo"); |
| 2253 return o; | 2253 return o; |
| 2254 } | 2254 } |
| 2255 | 2255 |
| 2256 checkUnnamed2872(core.List<core.String> o) { | 2256 checkUnnamed2966(core.List<core.String> o) { |
| 2257 unittest.expect(o, unittest.hasLength(2)); | 2257 unittest.expect(o, unittest.hasLength(2)); |
| 2258 unittest.expect(o[0], unittest.equals('foo')); | 2258 unittest.expect(o[0], unittest.equals('foo')); |
| 2259 unittest.expect(o[1], unittest.equals('foo')); | 2259 unittest.expect(o[1], unittest.equals('foo')); |
| 2260 } | 2260 } |
| 2261 | 2261 |
| 2262 buildUnnamed2873() { | 2262 buildUnnamed2967() { |
| 2263 var o = new core.List<core.String>(); | 2263 var o = new core.List<core.String>(); |
| 2264 o.add("foo"); | 2264 o.add("foo"); |
| 2265 o.add("foo"); | 2265 o.add("foo"); |
| 2266 return o; | 2266 return o; |
| 2267 } | 2267 } |
| 2268 | 2268 |
| 2269 checkUnnamed2873(core.List<core.String> o) { | 2269 checkUnnamed2967(core.List<core.String> o) { |
| 2270 unittest.expect(o, unittest.hasLength(2)); | 2270 unittest.expect(o, unittest.hasLength(2)); |
| 2271 unittest.expect(o[0], unittest.equals('foo')); | 2271 unittest.expect(o[0], unittest.equals('foo')); |
| 2272 unittest.expect(o[1], unittest.equals('foo')); | 2272 unittest.expect(o[1], unittest.equals('foo')); |
| 2273 } | 2273 } |
| 2274 | 2274 |
| 2275 core.int buildCounterSearchReferencesRequest = 0; | 2275 core.int buildCounterSearchReferencesRequest = 0; |
| 2276 buildSearchReferencesRequest() { | 2276 buildSearchReferencesRequest() { |
| 2277 var o = new api.SearchReferencesRequest(); | 2277 var o = new api.SearchReferencesRequest(); |
| 2278 buildCounterSearchReferencesRequest++; | 2278 buildCounterSearchReferencesRequest++; |
| 2279 if (buildCounterSearchReferencesRequest < 3) { | 2279 if (buildCounterSearchReferencesRequest < 3) { |
| 2280 o.accessions = buildUnnamed2872(); | 2280 o.accessions = buildUnnamed2966(); |
| 2281 o.md5checksums = buildUnnamed2873(); | 2281 o.md5checksums = buildUnnamed2967(); |
| 2282 o.pageSize = 42; | 2282 o.pageSize = 42; |
| 2283 o.pageToken = "foo"; | 2283 o.pageToken = "foo"; |
| 2284 o.referenceSetId = "foo"; | 2284 o.referenceSetId = "foo"; |
| 2285 } | 2285 } |
| 2286 buildCounterSearchReferencesRequest--; | 2286 buildCounterSearchReferencesRequest--; |
| 2287 return o; | 2287 return o; |
| 2288 } | 2288 } |
| 2289 | 2289 |
| 2290 checkSearchReferencesRequest(api.SearchReferencesRequest o) { | 2290 checkSearchReferencesRequest(api.SearchReferencesRequest o) { |
| 2291 buildCounterSearchReferencesRequest++; | 2291 buildCounterSearchReferencesRequest++; |
| 2292 if (buildCounterSearchReferencesRequest < 3) { | 2292 if (buildCounterSearchReferencesRequest < 3) { |
| 2293 checkUnnamed2872(o.accessions); | 2293 checkUnnamed2966(o.accessions); |
| 2294 checkUnnamed2873(o.md5checksums); | 2294 checkUnnamed2967(o.md5checksums); |
| 2295 unittest.expect(o.pageSize, unittest.equals(42)); | 2295 unittest.expect(o.pageSize, unittest.equals(42)); |
| 2296 unittest.expect(o.pageToken, unittest.equals('foo')); | 2296 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 2297 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 2297 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 2298 } | 2298 } |
| 2299 buildCounterSearchReferencesRequest--; | 2299 buildCounterSearchReferencesRequest--; |
| 2300 } | 2300 } |
| 2301 | 2301 |
| 2302 buildUnnamed2874() { | 2302 buildUnnamed2968() { |
| 2303 var o = new core.List<api.Reference>(); | 2303 var o = new core.List<api.Reference>(); |
| 2304 o.add(buildReference()); | 2304 o.add(buildReference()); |
| 2305 o.add(buildReference()); | 2305 o.add(buildReference()); |
| 2306 return o; | 2306 return o; |
| 2307 } | 2307 } |
| 2308 | 2308 |
| 2309 checkUnnamed2874(core.List<api.Reference> o) { | 2309 checkUnnamed2968(core.List<api.Reference> o) { |
| 2310 unittest.expect(o, unittest.hasLength(2)); | 2310 unittest.expect(o, unittest.hasLength(2)); |
| 2311 checkReference(o[0]); | 2311 checkReference(o[0]); |
| 2312 checkReference(o[1]); | 2312 checkReference(o[1]); |
| 2313 } | 2313 } |
| 2314 | 2314 |
| 2315 core.int buildCounterSearchReferencesResponse = 0; | 2315 core.int buildCounterSearchReferencesResponse = 0; |
| 2316 buildSearchReferencesResponse() { | 2316 buildSearchReferencesResponse() { |
| 2317 var o = new api.SearchReferencesResponse(); | 2317 var o = new api.SearchReferencesResponse(); |
| 2318 buildCounterSearchReferencesResponse++; | 2318 buildCounterSearchReferencesResponse++; |
| 2319 if (buildCounterSearchReferencesResponse < 3) { | 2319 if (buildCounterSearchReferencesResponse < 3) { |
| 2320 o.nextPageToken = "foo"; | 2320 o.nextPageToken = "foo"; |
| 2321 o.references = buildUnnamed2874(); | 2321 o.references = buildUnnamed2968(); |
| 2322 } | 2322 } |
| 2323 buildCounterSearchReferencesResponse--; | 2323 buildCounterSearchReferencesResponse--; |
| 2324 return o; | 2324 return o; |
| 2325 } | 2325 } |
| 2326 | 2326 |
| 2327 checkSearchReferencesResponse(api.SearchReferencesResponse o) { | 2327 checkSearchReferencesResponse(api.SearchReferencesResponse o) { |
| 2328 buildCounterSearchReferencesResponse++; | 2328 buildCounterSearchReferencesResponse++; |
| 2329 if (buildCounterSearchReferencesResponse < 3) { | 2329 if (buildCounterSearchReferencesResponse < 3) { |
| 2330 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2330 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2331 checkUnnamed2874(o.references); | 2331 checkUnnamed2968(o.references); |
| 2332 } | 2332 } |
| 2333 buildCounterSearchReferencesResponse--; | 2333 buildCounterSearchReferencesResponse--; |
| 2334 } | 2334 } |
| 2335 | 2335 |
| 2336 buildUnnamed2875() { | 2336 buildUnnamed2969() { |
| 2337 var o = new core.List<core.String>(); | 2337 var o = new core.List<core.String>(); |
| 2338 o.add("foo"); | 2338 o.add("foo"); |
| 2339 o.add("foo"); | 2339 o.add("foo"); |
| 2340 return o; | 2340 return o; |
| 2341 } | 2341 } |
| 2342 | 2342 |
| 2343 checkUnnamed2875(core.List<core.String> o) { | 2343 checkUnnamed2969(core.List<core.String> o) { |
| 2344 unittest.expect(o, unittest.hasLength(2)); | 2344 unittest.expect(o, unittest.hasLength(2)); |
| 2345 unittest.expect(o[0], unittest.equals('foo')); | 2345 unittest.expect(o[0], unittest.equals('foo')); |
| 2346 unittest.expect(o[1], unittest.equals('foo')); | 2346 unittest.expect(o[1], unittest.equals('foo')); |
| 2347 } | 2347 } |
| 2348 | 2348 |
| 2349 core.int buildCounterSearchVariantSetsRequest = 0; | 2349 core.int buildCounterSearchVariantSetsRequest = 0; |
| 2350 buildSearchVariantSetsRequest() { | 2350 buildSearchVariantSetsRequest() { |
| 2351 var o = new api.SearchVariantSetsRequest(); | 2351 var o = new api.SearchVariantSetsRequest(); |
| 2352 buildCounterSearchVariantSetsRequest++; | 2352 buildCounterSearchVariantSetsRequest++; |
| 2353 if (buildCounterSearchVariantSetsRequest < 3) { | 2353 if (buildCounterSearchVariantSetsRequest < 3) { |
| 2354 o.datasetIds = buildUnnamed2875(); | 2354 o.datasetIds = buildUnnamed2969(); |
| 2355 o.pageSize = 42; | 2355 o.pageSize = 42; |
| 2356 o.pageToken = "foo"; | 2356 o.pageToken = "foo"; |
| 2357 } | 2357 } |
| 2358 buildCounterSearchVariantSetsRequest--; | 2358 buildCounterSearchVariantSetsRequest--; |
| 2359 return o; | 2359 return o; |
| 2360 } | 2360 } |
| 2361 | 2361 |
| 2362 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { | 2362 checkSearchVariantSetsRequest(api.SearchVariantSetsRequest o) { |
| 2363 buildCounterSearchVariantSetsRequest++; | 2363 buildCounterSearchVariantSetsRequest++; |
| 2364 if (buildCounterSearchVariantSetsRequest < 3) { | 2364 if (buildCounterSearchVariantSetsRequest < 3) { |
| 2365 checkUnnamed2875(o.datasetIds); | 2365 checkUnnamed2969(o.datasetIds); |
| 2366 unittest.expect(o.pageSize, unittest.equals(42)); | 2366 unittest.expect(o.pageSize, unittest.equals(42)); |
| 2367 unittest.expect(o.pageToken, unittest.equals('foo')); | 2367 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 2368 } | 2368 } |
| 2369 buildCounterSearchVariantSetsRequest--; | 2369 buildCounterSearchVariantSetsRequest--; |
| 2370 } | 2370 } |
| 2371 | 2371 |
| 2372 buildUnnamed2876() { | 2372 buildUnnamed2970() { |
| 2373 var o = new core.List<api.VariantSet>(); | 2373 var o = new core.List<api.VariantSet>(); |
| 2374 o.add(buildVariantSet()); | 2374 o.add(buildVariantSet()); |
| 2375 o.add(buildVariantSet()); | 2375 o.add(buildVariantSet()); |
| 2376 return o; | 2376 return o; |
| 2377 } | 2377 } |
| 2378 | 2378 |
| 2379 checkUnnamed2876(core.List<api.VariantSet> o) { | 2379 checkUnnamed2970(core.List<api.VariantSet> o) { |
| 2380 unittest.expect(o, unittest.hasLength(2)); | 2380 unittest.expect(o, unittest.hasLength(2)); |
| 2381 checkVariantSet(o[0]); | 2381 checkVariantSet(o[0]); |
| 2382 checkVariantSet(o[1]); | 2382 checkVariantSet(o[1]); |
| 2383 } | 2383 } |
| 2384 | 2384 |
| 2385 core.int buildCounterSearchVariantSetsResponse = 0; | 2385 core.int buildCounterSearchVariantSetsResponse = 0; |
| 2386 buildSearchVariantSetsResponse() { | 2386 buildSearchVariantSetsResponse() { |
| 2387 var o = new api.SearchVariantSetsResponse(); | 2387 var o = new api.SearchVariantSetsResponse(); |
| 2388 buildCounterSearchVariantSetsResponse++; | 2388 buildCounterSearchVariantSetsResponse++; |
| 2389 if (buildCounterSearchVariantSetsResponse < 3) { | 2389 if (buildCounterSearchVariantSetsResponse < 3) { |
| 2390 o.nextPageToken = "foo"; | 2390 o.nextPageToken = "foo"; |
| 2391 o.variantSets = buildUnnamed2876(); | 2391 o.variantSets = buildUnnamed2970(); |
| 2392 } | 2392 } |
| 2393 buildCounterSearchVariantSetsResponse--; | 2393 buildCounterSearchVariantSetsResponse--; |
| 2394 return o; | 2394 return o; |
| 2395 } | 2395 } |
| 2396 | 2396 |
| 2397 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { | 2397 checkSearchVariantSetsResponse(api.SearchVariantSetsResponse o) { |
| 2398 buildCounterSearchVariantSetsResponse++; | 2398 buildCounterSearchVariantSetsResponse++; |
| 2399 if (buildCounterSearchVariantSetsResponse < 3) { | 2399 if (buildCounterSearchVariantSetsResponse < 3) { |
| 2400 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2400 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2401 checkUnnamed2876(o.variantSets); | 2401 checkUnnamed2970(o.variantSets); |
| 2402 } | 2402 } |
| 2403 buildCounterSearchVariantSetsResponse--; | 2403 buildCounterSearchVariantSetsResponse--; |
| 2404 } | 2404 } |
| 2405 | 2405 |
| 2406 buildUnnamed2877() { | 2406 buildUnnamed2971() { |
| 2407 var o = new core.List<core.String>(); | 2407 var o = new core.List<core.String>(); |
| 2408 o.add("foo"); | 2408 o.add("foo"); |
| 2409 o.add("foo"); | 2409 o.add("foo"); |
| 2410 return o; | 2410 return o; |
| 2411 } | 2411 } |
| 2412 | 2412 |
| 2413 checkUnnamed2877(core.List<core.String> o) { | 2413 checkUnnamed2971(core.List<core.String> o) { |
| 2414 unittest.expect(o, unittest.hasLength(2)); | 2414 unittest.expect(o, unittest.hasLength(2)); |
| 2415 unittest.expect(o[0], unittest.equals('foo')); | 2415 unittest.expect(o[0], unittest.equals('foo')); |
| 2416 unittest.expect(o[1], unittest.equals('foo')); | 2416 unittest.expect(o[1], unittest.equals('foo')); |
| 2417 } | 2417 } |
| 2418 | 2418 |
| 2419 buildUnnamed2878() { | 2419 buildUnnamed2972() { |
| 2420 var o = new core.List<core.String>(); | 2420 var o = new core.List<core.String>(); |
| 2421 o.add("foo"); | 2421 o.add("foo"); |
| 2422 o.add("foo"); | 2422 o.add("foo"); |
| 2423 return o; | 2423 return o; |
| 2424 } | 2424 } |
| 2425 | 2425 |
| 2426 checkUnnamed2878(core.List<core.String> o) { | 2426 checkUnnamed2972(core.List<core.String> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2427 unittest.expect(o, unittest.hasLength(2)); |
| 2428 unittest.expect(o[0], unittest.equals('foo')); | 2428 unittest.expect(o[0], unittest.equals('foo')); |
| 2429 unittest.expect(o[1], unittest.equals('foo')); | 2429 unittest.expect(o[1], unittest.equals('foo')); |
| 2430 } | 2430 } |
| 2431 | 2431 |
| 2432 core.int buildCounterSearchVariantsRequest = 0; | 2432 core.int buildCounterSearchVariantsRequest = 0; |
| 2433 buildSearchVariantsRequest() { | 2433 buildSearchVariantsRequest() { |
| 2434 var o = new api.SearchVariantsRequest(); | 2434 var o = new api.SearchVariantsRequest(); |
| 2435 buildCounterSearchVariantsRequest++; | 2435 buildCounterSearchVariantsRequest++; |
| 2436 if (buildCounterSearchVariantsRequest < 3) { | 2436 if (buildCounterSearchVariantsRequest < 3) { |
| 2437 o.callSetIds = buildUnnamed2877(); | 2437 o.callSetIds = buildUnnamed2971(); |
| 2438 o.end = "foo"; | 2438 o.end = "foo"; |
| 2439 o.maxCalls = 42; | 2439 o.maxCalls = 42; |
| 2440 o.pageSize = 42; | 2440 o.pageSize = 42; |
| 2441 o.pageToken = "foo"; | 2441 o.pageToken = "foo"; |
| 2442 o.referenceName = "foo"; | 2442 o.referenceName = "foo"; |
| 2443 o.start = "foo"; | 2443 o.start = "foo"; |
| 2444 o.variantName = "foo"; | 2444 o.variantName = "foo"; |
| 2445 o.variantSetIds = buildUnnamed2878(); | 2445 o.variantSetIds = buildUnnamed2972(); |
| 2446 } | 2446 } |
| 2447 buildCounterSearchVariantsRequest--; | 2447 buildCounterSearchVariantsRequest--; |
| 2448 return o; | 2448 return o; |
| 2449 } | 2449 } |
| 2450 | 2450 |
| 2451 checkSearchVariantsRequest(api.SearchVariantsRequest o) { | 2451 checkSearchVariantsRequest(api.SearchVariantsRequest o) { |
| 2452 buildCounterSearchVariantsRequest++; | 2452 buildCounterSearchVariantsRequest++; |
| 2453 if (buildCounterSearchVariantsRequest < 3) { | 2453 if (buildCounterSearchVariantsRequest < 3) { |
| 2454 checkUnnamed2877(o.callSetIds); | 2454 checkUnnamed2971(o.callSetIds); |
| 2455 unittest.expect(o.end, unittest.equals('foo')); | 2455 unittest.expect(o.end, unittest.equals('foo')); |
| 2456 unittest.expect(o.maxCalls, unittest.equals(42)); | 2456 unittest.expect(o.maxCalls, unittest.equals(42)); |
| 2457 unittest.expect(o.pageSize, unittest.equals(42)); | 2457 unittest.expect(o.pageSize, unittest.equals(42)); |
| 2458 unittest.expect(o.pageToken, unittest.equals('foo')); | 2458 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 2459 unittest.expect(o.referenceName, unittest.equals('foo')); | 2459 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 2460 unittest.expect(o.start, unittest.equals('foo')); | 2460 unittest.expect(o.start, unittest.equals('foo')); |
| 2461 unittest.expect(o.variantName, unittest.equals('foo')); | 2461 unittest.expect(o.variantName, unittest.equals('foo')); |
| 2462 checkUnnamed2878(o.variantSetIds); | 2462 checkUnnamed2972(o.variantSetIds); |
| 2463 } | 2463 } |
| 2464 buildCounterSearchVariantsRequest--; | 2464 buildCounterSearchVariantsRequest--; |
| 2465 } | 2465 } |
| 2466 | 2466 |
| 2467 buildUnnamed2879() { | 2467 buildUnnamed2973() { |
| 2468 var o = new core.List<api.Variant>(); | 2468 var o = new core.List<api.Variant>(); |
| 2469 o.add(buildVariant()); | 2469 o.add(buildVariant()); |
| 2470 o.add(buildVariant()); | 2470 o.add(buildVariant()); |
| 2471 return o; | 2471 return o; |
| 2472 } | 2472 } |
| 2473 | 2473 |
| 2474 checkUnnamed2879(core.List<api.Variant> o) { | 2474 checkUnnamed2973(core.List<api.Variant> o) { |
| 2475 unittest.expect(o, unittest.hasLength(2)); | 2475 unittest.expect(o, unittest.hasLength(2)); |
| 2476 checkVariant(o[0]); | 2476 checkVariant(o[0]); |
| 2477 checkVariant(o[1]); | 2477 checkVariant(o[1]); |
| 2478 } | 2478 } |
| 2479 | 2479 |
| 2480 core.int buildCounterSearchVariantsResponse = 0; | 2480 core.int buildCounterSearchVariantsResponse = 0; |
| 2481 buildSearchVariantsResponse() { | 2481 buildSearchVariantsResponse() { |
| 2482 var o = new api.SearchVariantsResponse(); | 2482 var o = new api.SearchVariantsResponse(); |
| 2483 buildCounterSearchVariantsResponse++; | 2483 buildCounterSearchVariantsResponse++; |
| 2484 if (buildCounterSearchVariantsResponse < 3) { | 2484 if (buildCounterSearchVariantsResponse < 3) { |
| 2485 o.nextPageToken = "foo"; | 2485 o.nextPageToken = "foo"; |
| 2486 o.variants = buildUnnamed2879(); | 2486 o.variants = buildUnnamed2973(); |
| 2487 } | 2487 } |
| 2488 buildCounterSearchVariantsResponse--; | 2488 buildCounterSearchVariantsResponse--; |
| 2489 return o; | 2489 return o; |
| 2490 } | 2490 } |
| 2491 | 2491 |
| 2492 checkSearchVariantsResponse(api.SearchVariantsResponse o) { | 2492 checkSearchVariantsResponse(api.SearchVariantsResponse o) { |
| 2493 buildCounterSearchVariantsResponse++; | 2493 buildCounterSearchVariantsResponse++; |
| 2494 if (buildCounterSearchVariantsResponse < 3) { | 2494 if (buildCounterSearchVariantsResponse < 3) { |
| 2495 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 2495 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 2496 checkUnnamed2879(o.variants); | 2496 checkUnnamed2973(o.variants); |
| 2497 } | 2497 } |
| 2498 buildCounterSearchVariantsResponse--; | 2498 buildCounterSearchVariantsResponse--; |
| 2499 } | 2499 } |
| 2500 | 2500 |
| 2501 core.int buildCounterSetIamPolicyRequest = 0; | 2501 core.int buildCounterSetIamPolicyRequest = 0; |
| 2502 buildSetIamPolicyRequest() { | 2502 buildSetIamPolicyRequest() { |
| 2503 var o = new api.SetIamPolicyRequest(); | 2503 var o = new api.SetIamPolicyRequest(); |
| 2504 buildCounterSetIamPolicyRequest++; | 2504 buildCounterSetIamPolicyRequest++; |
| 2505 if (buildCounterSetIamPolicyRequest < 3) { | 2505 if (buildCounterSetIamPolicyRequest < 3) { |
| 2506 o.policy = buildPolicy(); | 2506 o.policy = buildPolicy(); |
| 2507 } | 2507 } |
| 2508 buildCounterSetIamPolicyRequest--; | 2508 buildCounterSetIamPolicyRequest--; |
| 2509 return o; | 2509 return o; |
| 2510 } | 2510 } |
| 2511 | 2511 |
| 2512 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { | 2512 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
| 2513 buildCounterSetIamPolicyRequest++; | 2513 buildCounterSetIamPolicyRequest++; |
| 2514 if (buildCounterSetIamPolicyRequest < 3) { | 2514 if (buildCounterSetIamPolicyRequest < 3) { |
| 2515 checkPolicy(o.policy); | 2515 checkPolicy(o.policy); |
| 2516 } | 2516 } |
| 2517 buildCounterSetIamPolicyRequest--; | 2517 buildCounterSetIamPolicyRequest--; |
| 2518 } | 2518 } |
| 2519 | 2519 |
| 2520 buildUnnamed2880() { | 2520 buildUnnamed2974() { |
| 2521 var o = new core.Map<core.String, core.Object>(); | 2521 var o = new core.Map<core.String, core.Object>(); |
| 2522 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2522 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2523 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 2523 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 2524 return o; | 2524 return o; |
| 2525 } | 2525 } |
| 2526 | 2526 |
| 2527 checkUnnamed2880(core.Map<core.String, core.Object> o) { | 2527 checkUnnamed2974(core.Map<core.String, core.Object> o) { |
| 2528 unittest.expect(o, unittest.hasLength(2)); | 2528 unittest.expect(o, unittest.hasLength(2)); |
| 2529 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); | 2529 var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLen
gth(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["stri
ng"], unittest.equals('foo')); |
| 2530 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); | 2530 var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLen
gth(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest
.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["stri
ng"], unittest.equals('foo')); |
| 2531 } | 2531 } |
| 2532 | 2532 |
| 2533 buildUnnamed2881() { | 2533 buildUnnamed2975() { |
| 2534 var o = new core.List<core.Map<core.String, core.Object>>(); | 2534 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 2535 o.add(buildUnnamed2880()); | 2535 o.add(buildUnnamed2974()); |
| 2536 o.add(buildUnnamed2880()); | 2536 o.add(buildUnnamed2974()); |
| 2537 return o; | 2537 return o; |
| 2538 } | 2538 } |
| 2539 | 2539 |
| 2540 checkUnnamed2881(core.List<core.Map<core.String, core.Object>> o) { | 2540 checkUnnamed2975(core.List<core.Map<core.String, core.Object>> o) { |
| 2541 unittest.expect(o, unittest.hasLength(2)); | 2541 unittest.expect(o, unittest.hasLength(2)); |
| 2542 checkUnnamed2880(o[0]); | 2542 checkUnnamed2974(o[0]); |
| 2543 checkUnnamed2880(o[1]); | 2543 checkUnnamed2974(o[1]); |
| 2544 } | 2544 } |
| 2545 | 2545 |
| 2546 core.int buildCounterStatus = 0; | 2546 core.int buildCounterStatus = 0; |
| 2547 buildStatus() { | 2547 buildStatus() { |
| 2548 var o = new api.Status(); | 2548 var o = new api.Status(); |
| 2549 buildCounterStatus++; | 2549 buildCounterStatus++; |
| 2550 if (buildCounterStatus < 3) { | 2550 if (buildCounterStatus < 3) { |
| 2551 o.code = 42; | 2551 o.code = 42; |
| 2552 o.details = buildUnnamed2881(); | 2552 o.details = buildUnnamed2975(); |
| 2553 o.message = "foo"; | 2553 o.message = "foo"; |
| 2554 } | 2554 } |
| 2555 buildCounterStatus--; | 2555 buildCounterStatus--; |
| 2556 return o; | 2556 return o; |
| 2557 } | 2557 } |
| 2558 | 2558 |
| 2559 checkStatus(api.Status o) { | 2559 checkStatus(api.Status o) { |
| 2560 buildCounterStatus++; | 2560 buildCounterStatus++; |
| 2561 if (buildCounterStatus < 3) { | 2561 if (buildCounterStatus < 3) { |
| 2562 unittest.expect(o.code, unittest.equals(42)); | 2562 unittest.expect(o.code, unittest.equals(42)); |
| 2563 checkUnnamed2881(o.details); | 2563 checkUnnamed2975(o.details); |
| 2564 unittest.expect(o.message, unittest.equals('foo')); | 2564 unittest.expect(o.message, unittest.equals('foo')); |
| 2565 } | 2565 } |
| 2566 buildCounterStatus--; | 2566 buildCounterStatus--; |
| 2567 } | 2567 } |
| 2568 | 2568 |
| 2569 core.int buildCounterStreamReadsRequest = 0; | 2569 buildUnnamed2976() { |
| 2570 buildStreamReadsRequest() { | |
| 2571 var o = new api.StreamReadsRequest(); | |
| 2572 buildCounterStreamReadsRequest++; | |
| 2573 if (buildCounterStreamReadsRequest < 3) { | |
| 2574 o.end = "foo"; | |
| 2575 o.projectId = "foo"; | |
| 2576 o.readGroupSetId = "foo"; | |
| 2577 o.referenceName = "foo"; | |
| 2578 o.shard = 42; | |
| 2579 o.start = "foo"; | |
| 2580 o.totalShards = 42; | |
| 2581 } | |
| 2582 buildCounterStreamReadsRequest--; | |
| 2583 return o; | |
| 2584 } | |
| 2585 | |
| 2586 checkStreamReadsRequest(api.StreamReadsRequest o) { | |
| 2587 buildCounterStreamReadsRequest++; | |
| 2588 if (buildCounterStreamReadsRequest < 3) { | |
| 2589 unittest.expect(o.end, unittest.equals('foo')); | |
| 2590 unittest.expect(o.projectId, unittest.equals('foo')); | |
| 2591 unittest.expect(o.readGroupSetId, unittest.equals('foo')); | |
| 2592 unittest.expect(o.referenceName, unittest.equals('foo')); | |
| 2593 unittest.expect(o.shard, unittest.equals(42)); | |
| 2594 unittest.expect(o.start, unittest.equals('foo')); | |
| 2595 unittest.expect(o.totalShards, unittest.equals(42)); | |
| 2596 } | |
| 2597 buildCounterStreamReadsRequest--; | |
| 2598 } | |
| 2599 | |
| 2600 buildUnnamed2882() { | |
| 2601 var o = new core.List<api.Read>(); | |
| 2602 o.add(buildRead()); | |
| 2603 o.add(buildRead()); | |
| 2604 return o; | |
| 2605 } | |
| 2606 | |
| 2607 checkUnnamed2882(core.List<api.Read> o) { | |
| 2608 unittest.expect(o, unittest.hasLength(2)); | |
| 2609 checkRead(o[0]); | |
| 2610 checkRead(o[1]); | |
| 2611 } | |
| 2612 | |
| 2613 core.int buildCounterStreamReadsResponse = 0; | |
| 2614 buildStreamReadsResponse() { | |
| 2615 var o = new api.StreamReadsResponse(); | |
| 2616 buildCounterStreamReadsResponse++; | |
| 2617 if (buildCounterStreamReadsResponse < 3) { | |
| 2618 o.alignments = buildUnnamed2882(); | |
| 2619 } | |
| 2620 buildCounterStreamReadsResponse--; | |
| 2621 return o; | |
| 2622 } | |
| 2623 | |
| 2624 checkStreamReadsResponse(api.StreamReadsResponse o) { | |
| 2625 buildCounterStreamReadsResponse++; | |
| 2626 if (buildCounterStreamReadsResponse < 3) { | |
| 2627 checkUnnamed2882(o.alignments); | |
| 2628 } | |
| 2629 buildCounterStreamReadsResponse--; | |
| 2630 } | |
| 2631 | |
| 2632 buildUnnamed2883() { | |
| 2633 var o = new core.List<core.String>(); | 2570 var o = new core.List<core.String>(); |
| 2634 o.add("foo"); | 2571 o.add("foo"); |
| 2635 o.add("foo"); | 2572 o.add("foo"); |
| 2636 return o; | 2573 return o; |
| 2637 } | 2574 } |
| 2638 | 2575 |
| 2639 checkUnnamed2883(core.List<core.String> o) { | 2576 checkUnnamed2976(core.List<core.String> o) { |
| 2640 unittest.expect(o, unittest.hasLength(2)); | 2577 unittest.expect(o, unittest.hasLength(2)); |
| 2641 unittest.expect(o[0], unittest.equals('foo')); | 2578 unittest.expect(o[0], unittest.equals('foo')); |
| 2642 unittest.expect(o[1], unittest.equals('foo')); | 2579 unittest.expect(o[1], unittest.equals('foo')); |
| 2643 } | |
| 2644 | |
| 2645 core.int buildCounterStreamVariantsRequest = 0; | |
| 2646 buildStreamVariantsRequest() { | |
| 2647 var o = new api.StreamVariantsRequest(); | |
| 2648 buildCounterStreamVariantsRequest++; | |
| 2649 if (buildCounterStreamVariantsRequest < 3) { | |
| 2650 o.callSetIds = buildUnnamed2883(); | |
| 2651 o.end = "foo"; | |
| 2652 o.projectId = "foo"; | |
| 2653 o.referenceName = "foo"; | |
| 2654 o.start = "foo"; | |
| 2655 o.variantSetId = "foo"; | |
| 2656 } | |
| 2657 buildCounterStreamVariantsRequest--; | |
| 2658 return o; | |
| 2659 } | |
| 2660 | |
| 2661 checkStreamVariantsRequest(api.StreamVariantsRequest o) { | |
| 2662 buildCounterStreamVariantsRequest++; | |
| 2663 if (buildCounterStreamVariantsRequest < 3) { | |
| 2664 checkUnnamed2883(o.callSetIds); | |
| 2665 unittest.expect(o.end, unittest.equals('foo')); | |
| 2666 unittest.expect(o.projectId, unittest.equals('foo')); | |
| 2667 unittest.expect(o.referenceName, unittest.equals('foo')); | |
| 2668 unittest.expect(o.start, unittest.equals('foo')); | |
| 2669 unittest.expect(o.variantSetId, unittest.equals('foo')); | |
| 2670 } | |
| 2671 buildCounterStreamVariantsRequest--; | |
| 2672 } | |
| 2673 | |
| 2674 buildUnnamed2884() { | |
| 2675 var o = new core.List<api.Variant>(); | |
| 2676 o.add(buildVariant()); | |
| 2677 o.add(buildVariant()); | |
| 2678 return o; | |
| 2679 } | |
| 2680 | |
| 2681 checkUnnamed2884(core.List<api.Variant> o) { | |
| 2682 unittest.expect(o, unittest.hasLength(2)); | |
| 2683 checkVariant(o[0]); | |
| 2684 checkVariant(o[1]); | |
| 2685 } | |
| 2686 | |
| 2687 core.int buildCounterStreamVariantsResponse = 0; | |
| 2688 buildStreamVariantsResponse() { | |
| 2689 var o = new api.StreamVariantsResponse(); | |
| 2690 buildCounterStreamVariantsResponse++; | |
| 2691 if (buildCounterStreamVariantsResponse < 3) { | |
| 2692 o.variants = buildUnnamed2884(); | |
| 2693 } | |
| 2694 buildCounterStreamVariantsResponse--; | |
| 2695 return o; | |
| 2696 } | |
| 2697 | |
| 2698 checkStreamVariantsResponse(api.StreamVariantsResponse o) { | |
| 2699 buildCounterStreamVariantsResponse++; | |
| 2700 if (buildCounterStreamVariantsResponse < 3) { | |
| 2701 checkUnnamed2884(o.variants); | |
| 2702 } | |
| 2703 buildCounterStreamVariantsResponse--; | |
| 2704 } | |
| 2705 | |
| 2706 buildUnnamed2885() { | |
| 2707 var o = new core.List<core.String>(); | |
| 2708 o.add("foo"); | |
| 2709 o.add("foo"); | |
| 2710 return o; | |
| 2711 } | |
| 2712 | |
| 2713 checkUnnamed2885(core.List<core.String> o) { | |
| 2714 unittest.expect(o, unittest.hasLength(2)); | |
| 2715 unittest.expect(o[0], unittest.equals('foo')); | |
| 2716 unittest.expect(o[1], unittest.equals('foo')); | |
| 2717 } | 2580 } |
| 2718 | 2581 |
| 2719 core.int buildCounterTestIamPermissionsRequest = 0; | 2582 core.int buildCounterTestIamPermissionsRequest = 0; |
| 2720 buildTestIamPermissionsRequest() { | 2583 buildTestIamPermissionsRequest() { |
| 2721 var o = new api.TestIamPermissionsRequest(); | 2584 var o = new api.TestIamPermissionsRequest(); |
| 2722 buildCounterTestIamPermissionsRequest++; | 2585 buildCounterTestIamPermissionsRequest++; |
| 2723 if (buildCounterTestIamPermissionsRequest < 3) { | 2586 if (buildCounterTestIamPermissionsRequest < 3) { |
| 2724 o.permissions = buildUnnamed2885(); | 2587 o.permissions = buildUnnamed2976(); |
| 2725 } | 2588 } |
| 2726 buildCounterTestIamPermissionsRequest--; | 2589 buildCounterTestIamPermissionsRequest--; |
| 2727 return o; | 2590 return o; |
| 2728 } | 2591 } |
| 2729 | 2592 |
| 2730 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 2593 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
| 2731 buildCounterTestIamPermissionsRequest++; | 2594 buildCounterTestIamPermissionsRequest++; |
| 2732 if (buildCounterTestIamPermissionsRequest < 3) { | 2595 if (buildCounterTestIamPermissionsRequest < 3) { |
| 2733 checkUnnamed2885(o.permissions); | 2596 checkUnnamed2976(o.permissions); |
| 2734 } | 2597 } |
| 2735 buildCounterTestIamPermissionsRequest--; | 2598 buildCounterTestIamPermissionsRequest--; |
| 2736 } | 2599 } |
| 2737 | 2600 |
| 2738 buildUnnamed2886() { | 2601 buildUnnamed2977() { |
| 2739 var o = new core.List<core.String>(); | 2602 var o = new core.List<core.String>(); |
| 2740 o.add("foo"); | 2603 o.add("foo"); |
| 2741 o.add("foo"); | 2604 o.add("foo"); |
| 2742 return o; | 2605 return o; |
| 2743 } | 2606 } |
| 2744 | 2607 |
| 2745 checkUnnamed2886(core.List<core.String> o) { | 2608 checkUnnamed2977(core.List<core.String> o) { |
| 2746 unittest.expect(o, unittest.hasLength(2)); | 2609 unittest.expect(o, unittest.hasLength(2)); |
| 2747 unittest.expect(o[0], unittest.equals('foo')); | 2610 unittest.expect(o[0], unittest.equals('foo')); |
| 2748 unittest.expect(o[1], unittest.equals('foo')); | 2611 unittest.expect(o[1], unittest.equals('foo')); |
| 2749 } | 2612 } |
| 2750 | 2613 |
| 2751 core.int buildCounterTestIamPermissionsResponse = 0; | 2614 core.int buildCounterTestIamPermissionsResponse = 0; |
| 2752 buildTestIamPermissionsResponse() { | 2615 buildTestIamPermissionsResponse() { |
| 2753 var o = new api.TestIamPermissionsResponse(); | 2616 var o = new api.TestIamPermissionsResponse(); |
| 2754 buildCounterTestIamPermissionsResponse++; | 2617 buildCounterTestIamPermissionsResponse++; |
| 2755 if (buildCounterTestIamPermissionsResponse < 3) { | 2618 if (buildCounterTestIamPermissionsResponse < 3) { |
| 2756 o.permissions = buildUnnamed2886(); | 2619 o.permissions = buildUnnamed2977(); |
| 2757 } | 2620 } |
| 2758 buildCounterTestIamPermissionsResponse--; | 2621 buildCounterTestIamPermissionsResponse--; |
| 2759 return o; | 2622 return o; |
| 2760 } | 2623 } |
| 2761 | 2624 |
| 2762 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 2625 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
| 2763 buildCounterTestIamPermissionsResponse++; | 2626 buildCounterTestIamPermissionsResponse++; |
| 2764 if (buildCounterTestIamPermissionsResponse < 3) { | 2627 if (buildCounterTestIamPermissionsResponse < 3) { |
| 2765 checkUnnamed2886(o.permissions); | 2628 checkUnnamed2977(o.permissions); |
| 2766 } | 2629 } |
| 2767 buildCounterTestIamPermissionsResponse--; | 2630 buildCounterTestIamPermissionsResponse--; |
| 2768 } | 2631 } |
| 2769 | 2632 |
| 2770 buildUnnamed2887() { | 2633 buildUnnamed2978() { |
| 2771 var o = new core.List<api.Exon>(); | 2634 var o = new core.List<api.Exon>(); |
| 2772 o.add(buildExon()); | 2635 o.add(buildExon()); |
| 2773 o.add(buildExon()); | 2636 o.add(buildExon()); |
| 2774 return o; | 2637 return o; |
| 2775 } | 2638 } |
| 2776 | 2639 |
| 2777 checkUnnamed2887(core.List<api.Exon> o) { | 2640 checkUnnamed2978(core.List<api.Exon> o) { |
| 2778 unittest.expect(o, unittest.hasLength(2)); | 2641 unittest.expect(o, unittest.hasLength(2)); |
| 2779 checkExon(o[0]); | 2642 checkExon(o[0]); |
| 2780 checkExon(o[1]); | 2643 checkExon(o[1]); |
| 2781 } | 2644 } |
| 2782 | 2645 |
| 2783 core.int buildCounterTranscript = 0; | 2646 core.int buildCounterTranscript = 0; |
| 2784 buildTranscript() { | 2647 buildTranscript() { |
| 2785 var o = new api.Transcript(); | 2648 var o = new api.Transcript(); |
| 2786 buildCounterTranscript++; | 2649 buildCounterTranscript++; |
| 2787 if (buildCounterTranscript < 3) { | 2650 if (buildCounterTranscript < 3) { |
| 2788 o.codingSequence = buildCodingSequence(); | 2651 o.codingSequence = buildCodingSequence(); |
| 2789 o.exons = buildUnnamed2887(); | 2652 o.exons = buildUnnamed2978(); |
| 2790 o.geneId = "foo"; | 2653 o.geneId = "foo"; |
| 2791 } | 2654 } |
| 2792 buildCounterTranscript--; | 2655 buildCounterTranscript--; |
| 2793 return o; | 2656 return o; |
| 2794 } | 2657 } |
| 2795 | 2658 |
| 2796 checkTranscript(api.Transcript o) { | 2659 checkTranscript(api.Transcript o) { |
| 2797 buildCounterTranscript++; | 2660 buildCounterTranscript++; |
| 2798 if (buildCounterTranscript < 3) { | 2661 if (buildCounterTranscript < 3) { |
| 2799 checkCodingSequence(o.codingSequence); | 2662 checkCodingSequence(o.codingSequence); |
| 2800 checkUnnamed2887(o.exons); | 2663 checkUnnamed2978(o.exons); |
| 2801 unittest.expect(o.geneId, unittest.equals('foo')); | 2664 unittest.expect(o.geneId, unittest.equals('foo')); |
| 2802 } | 2665 } |
| 2803 buildCounterTranscript--; | 2666 buildCounterTranscript--; |
| 2804 } | 2667 } |
| 2805 | 2668 |
| 2806 core.int buildCounterUndeleteDatasetRequest = 0; | 2669 core.int buildCounterUndeleteDatasetRequest = 0; |
| 2807 buildUndeleteDatasetRequest() { | 2670 buildUndeleteDatasetRequest() { |
| 2808 var o = new api.UndeleteDatasetRequest(); | 2671 var o = new api.UndeleteDatasetRequest(); |
| 2809 buildCounterUndeleteDatasetRequest++; | 2672 buildCounterUndeleteDatasetRequest++; |
| 2810 if (buildCounterUndeleteDatasetRequest < 3) { | 2673 if (buildCounterUndeleteDatasetRequest < 3) { |
| 2811 } | 2674 } |
| 2812 buildCounterUndeleteDatasetRequest--; | 2675 buildCounterUndeleteDatasetRequest--; |
| 2813 return o; | 2676 return o; |
| 2814 } | 2677 } |
| 2815 | 2678 |
| 2816 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { | 2679 checkUndeleteDatasetRequest(api.UndeleteDatasetRequest o) { |
| 2817 buildCounterUndeleteDatasetRequest++; | 2680 buildCounterUndeleteDatasetRequest++; |
| 2818 if (buildCounterUndeleteDatasetRequest < 3) { | 2681 if (buildCounterUndeleteDatasetRequest < 3) { |
| 2819 } | 2682 } |
| 2820 buildCounterUndeleteDatasetRequest--; | 2683 buildCounterUndeleteDatasetRequest--; |
| 2821 } | 2684 } |
| 2822 | 2685 |
| 2823 buildUnnamed2888() { | 2686 buildUnnamed2979() { |
| 2824 var o = new core.List<core.String>(); | 2687 var o = new core.List<core.String>(); |
| 2825 o.add("foo"); | 2688 o.add("foo"); |
| 2826 o.add("foo"); | 2689 o.add("foo"); |
| 2827 return o; | 2690 return o; |
| 2828 } | 2691 } |
| 2829 | 2692 |
| 2830 checkUnnamed2888(core.List<core.String> o) { | 2693 checkUnnamed2979(core.List<core.String> o) { |
| 2831 unittest.expect(o, unittest.hasLength(2)); | 2694 unittest.expect(o, unittest.hasLength(2)); |
| 2832 unittest.expect(o[0], unittest.equals('foo')); | 2695 unittest.expect(o[0], unittest.equals('foo')); |
| 2833 unittest.expect(o[1], unittest.equals('foo')); | 2696 unittest.expect(o[1], unittest.equals('foo')); |
| 2834 } | 2697 } |
| 2835 | 2698 |
| 2836 buildUnnamed2889() { | 2699 buildUnnamed2980() { |
| 2837 var o = new core.List<api.VariantCall>(); | 2700 var o = new core.List<api.VariantCall>(); |
| 2838 o.add(buildVariantCall()); | 2701 o.add(buildVariantCall()); |
| 2839 o.add(buildVariantCall()); | 2702 o.add(buildVariantCall()); |
| 2840 return o; | 2703 return o; |
| 2841 } | 2704 } |
| 2842 | 2705 |
| 2843 checkUnnamed2889(core.List<api.VariantCall> o) { | 2706 checkUnnamed2980(core.List<api.VariantCall> o) { |
| 2844 unittest.expect(o, unittest.hasLength(2)); | 2707 unittest.expect(o, unittest.hasLength(2)); |
| 2845 checkVariantCall(o[0]); | 2708 checkVariantCall(o[0]); |
| 2846 checkVariantCall(o[1]); | 2709 checkVariantCall(o[1]); |
| 2847 } | 2710 } |
| 2848 | 2711 |
| 2849 buildUnnamed2890() { | 2712 buildUnnamed2981() { |
| 2850 var o = new core.List<core.String>(); | 2713 var o = new core.List<core.String>(); |
| 2851 o.add("foo"); | 2714 o.add("foo"); |
| 2852 o.add("foo"); | 2715 o.add("foo"); |
| 2853 return o; | 2716 return o; |
| 2854 } | 2717 } |
| 2855 | 2718 |
| 2856 checkUnnamed2890(core.List<core.String> o) { | 2719 checkUnnamed2981(core.List<core.String> o) { |
| 2857 unittest.expect(o, unittest.hasLength(2)); | 2720 unittest.expect(o, unittest.hasLength(2)); |
| 2858 unittest.expect(o[0], unittest.equals('foo')); | 2721 unittest.expect(o[0], unittest.equals('foo')); |
| 2859 unittest.expect(o[1], unittest.equals('foo')); | 2722 unittest.expect(o[1], unittest.equals('foo')); |
| 2860 } | 2723 } |
| 2861 | 2724 |
| 2862 buildUnnamed2891() { | 2725 buildUnnamed2982() { |
| 2863 var o = new core.List<core.Object>(); | 2726 var o = new core.List<core.Object>(); |
| 2864 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2727 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2865 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2728 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 2866 return o; | 2729 return o; |
| 2867 } | 2730 } |
| 2868 | 2731 |
| 2869 checkUnnamed2891(core.List<core.Object> o) { | 2732 checkUnnamed2982(core.List<core.Object> o) { |
| 2870 unittest.expect(o, unittest.hasLength(2)); | 2733 unittest.expect(o, unittest.hasLength(2)); |
| 2871 var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLengt
h(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string
"], unittest.equals('foo')); | 2734 var casted23 = (o[0]) as core.Map; unittest.expect(casted23, unittest.hasLengt
h(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string
"], unittest.equals('foo')); |
| 2872 var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLengt
h(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string
"], unittest.equals('foo')); | 2735 var casted24 = (o[1]) as core.Map; unittest.expect(casted24, unittest.hasLengt
h(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string
"], unittest.equals('foo')); |
| 2873 } | 2736 } |
| 2874 | 2737 |
| 2875 buildUnnamed2892() { | 2738 buildUnnamed2983() { |
| 2876 var o = new core.Map<core.String, core.List<core.Object>>(); | 2739 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 2877 o["x"] = buildUnnamed2891(); | 2740 o["x"] = buildUnnamed2982(); |
| 2878 o["y"] = buildUnnamed2891(); | 2741 o["y"] = buildUnnamed2982(); |
| 2879 return o; | 2742 return o; |
| 2880 } | 2743 } |
| 2881 | 2744 |
| 2882 checkUnnamed2892(core.Map<core.String, core.List<core.Object>> o) { | 2745 checkUnnamed2983(core.Map<core.String, core.List<core.Object>> o) { |
| 2883 unittest.expect(o, unittest.hasLength(2)); | 2746 unittest.expect(o, unittest.hasLength(2)); |
| 2884 checkUnnamed2891(o["x"]); | 2747 checkUnnamed2982(o["x"]); |
| 2885 checkUnnamed2891(o["y"]); | 2748 checkUnnamed2982(o["y"]); |
| 2886 } | 2749 } |
| 2887 | 2750 |
| 2888 buildUnnamed2893() { | 2751 buildUnnamed2984() { |
| 2889 var o = new core.List<core.String>(); | 2752 var o = new core.List<core.String>(); |
| 2890 o.add("foo"); | 2753 o.add("foo"); |
| 2891 o.add("foo"); | 2754 o.add("foo"); |
| 2892 return o; | 2755 return o; |
| 2893 } | 2756 } |
| 2894 | 2757 |
| 2895 checkUnnamed2893(core.List<core.String> o) { | 2758 checkUnnamed2984(core.List<core.String> o) { |
| 2896 unittest.expect(o, unittest.hasLength(2)); | 2759 unittest.expect(o, unittest.hasLength(2)); |
| 2897 unittest.expect(o[0], unittest.equals('foo')); | 2760 unittest.expect(o[0], unittest.equals('foo')); |
| 2898 unittest.expect(o[1], unittest.equals('foo')); | 2761 unittest.expect(o[1], unittest.equals('foo')); |
| 2899 } | 2762 } |
| 2900 | 2763 |
| 2901 core.int buildCounterVariant = 0; | 2764 core.int buildCounterVariant = 0; |
| 2902 buildVariant() { | 2765 buildVariant() { |
| 2903 var o = new api.Variant(); | 2766 var o = new api.Variant(); |
| 2904 buildCounterVariant++; | 2767 buildCounterVariant++; |
| 2905 if (buildCounterVariant < 3) { | 2768 if (buildCounterVariant < 3) { |
| 2906 o.alternateBases = buildUnnamed2888(); | 2769 o.alternateBases = buildUnnamed2979(); |
| 2907 o.calls = buildUnnamed2889(); | 2770 o.calls = buildUnnamed2980(); |
| 2908 o.created = "foo"; | 2771 o.created = "foo"; |
| 2909 o.end = "foo"; | 2772 o.end = "foo"; |
| 2910 o.filter = buildUnnamed2890(); | 2773 o.filter = buildUnnamed2981(); |
| 2911 o.id = "foo"; | 2774 o.id = "foo"; |
| 2912 o.info = buildUnnamed2892(); | 2775 o.info = buildUnnamed2983(); |
| 2913 o.names = buildUnnamed2893(); | 2776 o.names = buildUnnamed2984(); |
| 2914 o.quality = 42.0; | 2777 o.quality = 42.0; |
| 2915 o.referenceBases = "foo"; | 2778 o.referenceBases = "foo"; |
| 2916 o.referenceName = "foo"; | 2779 o.referenceName = "foo"; |
| 2917 o.start = "foo"; | 2780 o.start = "foo"; |
| 2918 o.variantSetId = "foo"; | 2781 o.variantSetId = "foo"; |
| 2919 } | 2782 } |
| 2920 buildCounterVariant--; | 2783 buildCounterVariant--; |
| 2921 return o; | 2784 return o; |
| 2922 } | 2785 } |
| 2923 | 2786 |
| 2924 checkVariant(api.Variant o) { | 2787 checkVariant(api.Variant o) { |
| 2925 buildCounterVariant++; | 2788 buildCounterVariant++; |
| 2926 if (buildCounterVariant < 3) { | 2789 if (buildCounterVariant < 3) { |
| 2927 checkUnnamed2888(o.alternateBases); | 2790 checkUnnamed2979(o.alternateBases); |
| 2928 checkUnnamed2889(o.calls); | 2791 checkUnnamed2980(o.calls); |
| 2929 unittest.expect(o.created, unittest.equals('foo')); | 2792 unittest.expect(o.created, unittest.equals('foo')); |
| 2930 unittest.expect(o.end, unittest.equals('foo')); | 2793 unittest.expect(o.end, unittest.equals('foo')); |
| 2931 checkUnnamed2890(o.filter); | 2794 checkUnnamed2981(o.filter); |
| 2932 unittest.expect(o.id, unittest.equals('foo')); | 2795 unittest.expect(o.id, unittest.equals('foo')); |
| 2933 checkUnnamed2892(o.info); | 2796 checkUnnamed2983(o.info); |
| 2934 checkUnnamed2893(o.names); | 2797 checkUnnamed2984(o.names); |
| 2935 unittest.expect(o.quality, unittest.equals(42.0)); | 2798 unittest.expect(o.quality, unittest.equals(42.0)); |
| 2936 unittest.expect(o.referenceBases, unittest.equals('foo')); | 2799 unittest.expect(o.referenceBases, unittest.equals('foo')); |
| 2937 unittest.expect(o.referenceName, unittest.equals('foo')); | 2800 unittest.expect(o.referenceName, unittest.equals('foo')); |
| 2938 unittest.expect(o.start, unittest.equals('foo')); | 2801 unittest.expect(o.start, unittest.equals('foo')); |
| 2939 unittest.expect(o.variantSetId, unittest.equals('foo')); | 2802 unittest.expect(o.variantSetId, unittest.equals('foo')); |
| 2940 } | 2803 } |
| 2941 buildCounterVariant--; | 2804 buildCounterVariant--; |
| 2942 } | 2805 } |
| 2943 | 2806 |
| 2944 buildUnnamed2894() { | 2807 buildUnnamed2985() { |
| 2945 var o = new core.List<api.ClinicalCondition>(); | 2808 var o = new core.List<api.ClinicalCondition>(); |
| 2946 o.add(buildClinicalCondition()); | 2809 o.add(buildClinicalCondition()); |
| 2947 o.add(buildClinicalCondition()); | 2810 o.add(buildClinicalCondition()); |
| 2948 return o; | 2811 return o; |
| 2949 } | 2812 } |
| 2950 | 2813 |
| 2951 checkUnnamed2894(core.List<api.ClinicalCondition> o) { | 2814 checkUnnamed2985(core.List<api.ClinicalCondition> o) { |
| 2952 unittest.expect(o, unittest.hasLength(2)); | 2815 unittest.expect(o, unittest.hasLength(2)); |
| 2953 checkClinicalCondition(o[0]); | 2816 checkClinicalCondition(o[0]); |
| 2954 checkClinicalCondition(o[1]); | 2817 checkClinicalCondition(o[1]); |
| 2955 } | 2818 } |
| 2956 | 2819 |
| 2957 buildUnnamed2895() { | 2820 buildUnnamed2986() { |
| 2958 var o = new core.List<core.String>(); | 2821 var o = new core.List<core.String>(); |
| 2959 o.add("foo"); | 2822 o.add("foo"); |
| 2960 o.add("foo"); | 2823 o.add("foo"); |
| 2961 return o; | 2824 return o; |
| 2962 } | 2825 } |
| 2963 | 2826 |
| 2964 checkUnnamed2895(core.List<core.String> o) { | 2827 checkUnnamed2986(core.List<core.String> o) { |
| 2965 unittest.expect(o, unittest.hasLength(2)); | 2828 unittest.expect(o, unittest.hasLength(2)); |
| 2966 unittest.expect(o[0], unittest.equals('foo')); | 2829 unittest.expect(o[0], unittest.equals('foo')); |
| 2967 unittest.expect(o[1], unittest.equals('foo')); | 2830 unittest.expect(o[1], unittest.equals('foo')); |
| 2968 } | 2831 } |
| 2969 | 2832 |
| 2970 core.int buildCounterVariantAnnotation = 0; | 2833 core.int buildCounterVariantAnnotation = 0; |
| 2971 buildVariantAnnotation() { | 2834 buildVariantAnnotation() { |
| 2972 var o = new api.VariantAnnotation(); | 2835 var o = new api.VariantAnnotation(); |
| 2973 buildCounterVariantAnnotation++; | 2836 buildCounterVariantAnnotation++; |
| 2974 if (buildCounterVariantAnnotation < 3) { | 2837 if (buildCounterVariantAnnotation < 3) { |
| 2975 o.alternateBases = "foo"; | 2838 o.alternateBases = "foo"; |
| 2976 o.clinicalSignificance = "foo"; | 2839 o.clinicalSignificance = "foo"; |
| 2977 o.conditions = buildUnnamed2894(); | 2840 o.conditions = buildUnnamed2985(); |
| 2978 o.effect = "foo"; | 2841 o.effect = "foo"; |
| 2979 o.geneId = "foo"; | 2842 o.geneId = "foo"; |
| 2980 o.transcriptIds = buildUnnamed2895(); | 2843 o.transcriptIds = buildUnnamed2986(); |
| 2981 o.type = "foo"; | 2844 o.type = "foo"; |
| 2982 } | 2845 } |
| 2983 buildCounterVariantAnnotation--; | 2846 buildCounterVariantAnnotation--; |
| 2984 return o; | 2847 return o; |
| 2985 } | 2848 } |
| 2986 | 2849 |
| 2987 checkVariantAnnotation(api.VariantAnnotation o) { | 2850 checkVariantAnnotation(api.VariantAnnotation o) { |
| 2988 buildCounterVariantAnnotation++; | 2851 buildCounterVariantAnnotation++; |
| 2989 if (buildCounterVariantAnnotation < 3) { | 2852 if (buildCounterVariantAnnotation < 3) { |
| 2990 unittest.expect(o.alternateBases, unittest.equals('foo')); | 2853 unittest.expect(o.alternateBases, unittest.equals('foo')); |
| 2991 unittest.expect(o.clinicalSignificance, unittest.equals('foo')); | 2854 unittest.expect(o.clinicalSignificance, unittest.equals('foo')); |
| 2992 checkUnnamed2894(o.conditions); | 2855 checkUnnamed2985(o.conditions); |
| 2993 unittest.expect(o.effect, unittest.equals('foo')); | 2856 unittest.expect(o.effect, unittest.equals('foo')); |
| 2994 unittest.expect(o.geneId, unittest.equals('foo')); | 2857 unittest.expect(o.geneId, unittest.equals('foo')); |
| 2995 checkUnnamed2895(o.transcriptIds); | 2858 checkUnnamed2986(o.transcriptIds); |
| 2996 unittest.expect(o.type, unittest.equals('foo')); | 2859 unittest.expect(o.type, unittest.equals('foo')); |
| 2997 } | 2860 } |
| 2998 buildCounterVariantAnnotation--; | 2861 buildCounterVariantAnnotation--; |
| 2999 } | 2862 } |
| 3000 | 2863 |
| 3001 buildUnnamed2896() { | 2864 buildUnnamed2987() { |
| 3002 var o = new core.List<core.int>(); | 2865 var o = new core.List<core.int>(); |
| 3003 o.add(42); | 2866 o.add(42); |
| 3004 o.add(42); | 2867 o.add(42); |
| 3005 return o; | 2868 return o; |
| 3006 } | 2869 } |
| 3007 | 2870 |
| 3008 checkUnnamed2896(core.List<core.int> o) { | 2871 checkUnnamed2987(core.List<core.int> o) { |
| 3009 unittest.expect(o, unittest.hasLength(2)); | 2872 unittest.expect(o, unittest.hasLength(2)); |
| 3010 unittest.expect(o[0], unittest.equals(42)); | 2873 unittest.expect(o[0], unittest.equals(42)); |
| 3011 unittest.expect(o[1], unittest.equals(42)); | 2874 unittest.expect(o[1], unittest.equals(42)); |
| 3012 } | 2875 } |
| 3013 | 2876 |
| 3014 buildUnnamed2897() { | 2877 buildUnnamed2988() { |
| 3015 var o = new core.List<core.double>(); | 2878 var o = new core.List<core.double>(); |
| 3016 o.add(42.0); | 2879 o.add(42.0); |
| 3017 o.add(42.0); | 2880 o.add(42.0); |
| 3018 return o; | 2881 return o; |
| 3019 } | 2882 } |
| 3020 | 2883 |
| 3021 checkUnnamed2897(core.List<core.double> o) { | 2884 checkUnnamed2988(core.List<core.double> o) { |
| 3022 unittest.expect(o, unittest.hasLength(2)); | 2885 unittest.expect(o, unittest.hasLength(2)); |
| 3023 unittest.expect(o[0], unittest.equals(42.0)); | 2886 unittest.expect(o[0], unittest.equals(42.0)); |
| 3024 unittest.expect(o[1], unittest.equals(42.0)); | 2887 unittest.expect(o[1], unittest.equals(42.0)); |
| 3025 } | 2888 } |
| 3026 | 2889 |
| 3027 buildUnnamed2898() { | 2890 buildUnnamed2989() { |
| 3028 var o = new core.List<core.Object>(); | 2891 var o = new core.List<core.Object>(); |
| 3029 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2892 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3030 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 2893 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3031 return o; | 2894 return o; |
| 3032 } | 2895 } |
| 3033 | 2896 |
| 3034 checkUnnamed2898(core.List<core.Object> o) { | 2897 checkUnnamed2989(core.List<core.Object> o) { |
| 3035 unittest.expect(o, unittest.hasLength(2)); | 2898 unittest.expect(o, unittest.hasLength(2)); |
| 3036 var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLengt
h(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string
"], unittest.equals('foo')); | 2899 var casted25 = (o[0]) as core.Map; unittest.expect(casted25, unittest.hasLengt
h(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string
"], unittest.equals('foo')); |
| 3037 var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLengt
h(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string
"], unittest.equals('foo')); | 2900 var casted26 = (o[1]) as core.Map; unittest.expect(casted26, unittest.hasLengt
h(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string
"], unittest.equals('foo')); |
| 3038 } | 2901 } |
| 3039 | 2902 |
| 3040 buildUnnamed2899() { | 2903 buildUnnamed2990() { |
| 3041 var o = new core.Map<core.String, core.List<core.Object>>(); | 2904 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 3042 o["x"] = buildUnnamed2898(); | 2905 o["x"] = buildUnnamed2989(); |
| 3043 o["y"] = buildUnnamed2898(); | 2906 o["y"] = buildUnnamed2989(); |
| 3044 return o; | 2907 return o; |
| 3045 } | 2908 } |
| 3046 | 2909 |
| 3047 checkUnnamed2899(core.Map<core.String, core.List<core.Object>> o) { | 2910 checkUnnamed2990(core.Map<core.String, core.List<core.Object>> o) { |
| 3048 unittest.expect(o, unittest.hasLength(2)); | 2911 unittest.expect(o, unittest.hasLength(2)); |
| 3049 checkUnnamed2898(o["x"]); | 2912 checkUnnamed2989(o["x"]); |
| 3050 checkUnnamed2898(o["y"]); | 2913 checkUnnamed2989(o["y"]); |
| 3051 } | 2914 } |
| 3052 | 2915 |
| 3053 core.int buildCounterVariantCall = 0; | 2916 core.int buildCounterVariantCall = 0; |
| 3054 buildVariantCall() { | 2917 buildVariantCall() { |
| 3055 var o = new api.VariantCall(); | 2918 var o = new api.VariantCall(); |
| 3056 buildCounterVariantCall++; | 2919 buildCounterVariantCall++; |
| 3057 if (buildCounterVariantCall < 3) { | 2920 if (buildCounterVariantCall < 3) { |
| 3058 o.callSetId = "foo"; | 2921 o.callSetId = "foo"; |
| 3059 o.callSetName = "foo"; | 2922 o.callSetName = "foo"; |
| 3060 o.genotype = buildUnnamed2896(); | 2923 o.genotype = buildUnnamed2987(); |
| 3061 o.genotypeLikelihood = buildUnnamed2897(); | 2924 o.genotypeLikelihood = buildUnnamed2988(); |
| 3062 o.info = buildUnnamed2899(); | 2925 o.info = buildUnnamed2990(); |
| 3063 o.phaseset = "foo"; | 2926 o.phaseset = "foo"; |
| 3064 } | 2927 } |
| 3065 buildCounterVariantCall--; | 2928 buildCounterVariantCall--; |
| 3066 return o; | 2929 return o; |
| 3067 } | 2930 } |
| 3068 | 2931 |
| 3069 checkVariantCall(api.VariantCall o) { | 2932 checkVariantCall(api.VariantCall o) { |
| 3070 buildCounterVariantCall++; | 2933 buildCounterVariantCall++; |
| 3071 if (buildCounterVariantCall < 3) { | 2934 if (buildCounterVariantCall < 3) { |
| 3072 unittest.expect(o.callSetId, unittest.equals('foo')); | 2935 unittest.expect(o.callSetId, unittest.equals('foo')); |
| 3073 unittest.expect(o.callSetName, unittest.equals('foo')); | 2936 unittest.expect(o.callSetName, unittest.equals('foo')); |
| 3074 checkUnnamed2896(o.genotype); | 2937 checkUnnamed2987(o.genotype); |
| 3075 checkUnnamed2897(o.genotypeLikelihood); | 2938 checkUnnamed2988(o.genotypeLikelihood); |
| 3076 checkUnnamed2899(o.info); | 2939 checkUnnamed2990(o.info); |
| 3077 unittest.expect(o.phaseset, unittest.equals('foo')); | 2940 unittest.expect(o.phaseset, unittest.equals('foo')); |
| 3078 } | 2941 } |
| 3079 buildCounterVariantCall--; | 2942 buildCounterVariantCall--; |
| 3080 } | 2943 } |
| 3081 | 2944 |
| 3082 buildUnnamed2900() { | 2945 buildUnnamed2991() { |
| 3083 var o = new core.List<api.VariantSetMetadata>(); | 2946 var o = new core.List<api.VariantSetMetadata>(); |
| 3084 o.add(buildVariantSetMetadata()); | 2947 o.add(buildVariantSetMetadata()); |
| 3085 o.add(buildVariantSetMetadata()); | 2948 o.add(buildVariantSetMetadata()); |
| 3086 return o; | 2949 return o; |
| 3087 } | 2950 } |
| 3088 | 2951 |
| 3089 checkUnnamed2900(core.List<api.VariantSetMetadata> o) { | 2952 checkUnnamed2991(core.List<api.VariantSetMetadata> o) { |
| 3090 unittest.expect(o, unittest.hasLength(2)); | 2953 unittest.expect(o, unittest.hasLength(2)); |
| 3091 checkVariantSetMetadata(o[0]); | 2954 checkVariantSetMetadata(o[0]); |
| 3092 checkVariantSetMetadata(o[1]); | 2955 checkVariantSetMetadata(o[1]); |
| 3093 } | 2956 } |
| 3094 | 2957 |
| 3095 buildUnnamed2901() { | 2958 buildUnnamed2992() { |
| 3096 var o = new core.List<api.ReferenceBound>(); | 2959 var o = new core.List<api.ReferenceBound>(); |
| 3097 o.add(buildReferenceBound()); | 2960 o.add(buildReferenceBound()); |
| 3098 o.add(buildReferenceBound()); | 2961 o.add(buildReferenceBound()); |
| 3099 return o; | 2962 return o; |
| 3100 } | 2963 } |
| 3101 | 2964 |
| 3102 checkUnnamed2901(core.List<api.ReferenceBound> o) { | 2965 checkUnnamed2992(core.List<api.ReferenceBound> o) { |
| 3103 unittest.expect(o, unittest.hasLength(2)); | 2966 unittest.expect(o, unittest.hasLength(2)); |
| 3104 checkReferenceBound(o[0]); | 2967 checkReferenceBound(o[0]); |
| 3105 checkReferenceBound(o[1]); | 2968 checkReferenceBound(o[1]); |
| 3106 } | 2969 } |
| 3107 | 2970 |
| 3108 core.int buildCounterVariantSet = 0; | 2971 core.int buildCounterVariantSet = 0; |
| 3109 buildVariantSet() { | 2972 buildVariantSet() { |
| 3110 var o = new api.VariantSet(); | 2973 var o = new api.VariantSet(); |
| 3111 buildCounterVariantSet++; | 2974 buildCounterVariantSet++; |
| 3112 if (buildCounterVariantSet < 3) { | 2975 if (buildCounterVariantSet < 3) { |
| 3113 o.datasetId = "foo"; | 2976 o.datasetId = "foo"; |
| 3114 o.description = "foo"; | 2977 o.description = "foo"; |
| 3115 o.id = "foo"; | 2978 o.id = "foo"; |
| 3116 o.metadata = buildUnnamed2900(); | 2979 o.metadata = buildUnnamed2991(); |
| 3117 o.name = "foo"; | 2980 o.name = "foo"; |
| 3118 o.referenceBounds = buildUnnamed2901(); | 2981 o.referenceBounds = buildUnnamed2992(); |
| 3119 o.referenceSetId = "foo"; | 2982 o.referenceSetId = "foo"; |
| 3120 } | 2983 } |
| 3121 buildCounterVariantSet--; | 2984 buildCounterVariantSet--; |
| 3122 return o; | 2985 return o; |
| 3123 } | 2986 } |
| 3124 | 2987 |
| 3125 checkVariantSet(api.VariantSet o) { | 2988 checkVariantSet(api.VariantSet o) { |
| 3126 buildCounterVariantSet++; | 2989 buildCounterVariantSet++; |
| 3127 if (buildCounterVariantSet < 3) { | 2990 if (buildCounterVariantSet < 3) { |
| 3128 unittest.expect(o.datasetId, unittest.equals('foo')); | 2991 unittest.expect(o.datasetId, unittest.equals('foo')); |
| 3129 unittest.expect(o.description, unittest.equals('foo')); | 2992 unittest.expect(o.description, unittest.equals('foo')); |
| 3130 unittest.expect(o.id, unittest.equals('foo')); | 2993 unittest.expect(o.id, unittest.equals('foo')); |
| 3131 checkUnnamed2900(o.metadata); | 2994 checkUnnamed2991(o.metadata); |
| 3132 unittest.expect(o.name, unittest.equals('foo')); | 2995 unittest.expect(o.name, unittest.equals('foo')); |
| 3133 checkUnnamed2901(o.referenceBounds); | 2996 checkUnnamed2992(o.referenceBounds); |
| 3134 unittest.expect(o.referenceSetId, unittest.equals('foo')); | 2997 unittest.expect(o.referenceSetId, unittest.equals('foo')); |
| 3135 } | 2998 } |
| 3136 buildCounterVariantSet--; | 2999 buildCounterVariantSet--; |
| 3137 } | 3000 } |
| 3138 | 3001 |
| 3139 buildUnnamed2902() { | 3002 buildUnnamed2993() { |
| 3140 var o = new core.List<core.Object>(); | 3003 var o = new core.List<core.Object>(); |
| 3141 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3004 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3142 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3005 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
| 3143 return o; | 3006 return o; |
| 3144 } | 3007 } |
| 3145 | 3008 |
| 3146 checkUnnamed2902(core.List<core.Object> o) { | 3009 checkUnnamed2993(core.List<core.Object> o) { |
| 3147 unittest.expect(o, unittest.hasLength(2)); | 3010 unittest.expect(o, unittest.hasLength(2)); |
| 3148 var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLengt
h(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string
"], unittest.equals('foo')); | 3011 var casted27 = (o[0]) as core.Map; unittest.expect(casted27, unittest.hasLengt
h(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string
"], unittest.equals('foo')); |
| 3149 var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLengt
h(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string
"], unittest.equals('foo')); | 3012 var casted28 = (o[1]) as core.Map; unittest.expect(casted28, unittest.hasLengt
h(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.e
xpect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string
"], unittest.equals('foo')); |
| 3150 } | 3013 } |
| 3151 | 3014 |
| 3152 buildUnnamed2903() { | 3015 buildUnnamed2994() { |
| 3153 var o = new core.Map<core.String, core.List<core.Object>>(); | 3016 var o = new core.Map<core.String, core.List<core.Object>>(); |
| 3154 o["x"] = buildUnnamed2902(); | 3017 o["x"] = buildUnnamed2993(); |
| 3155 o["y"] = buildUnnamed2902(); | 3018 o["y"] = buildUnnamed2993(); |
| 3156 return o; | 3019 return o; |
| 3157 } | 3020 } |
| 3158 | 3021 |
| 3159 checkUnnamed2903(core.Map<core.String, core.List<core.Object>> o) { | 3022 checkUnnamed2994(core.Map<core.String, core.List<core.Object>> o) { |
| 3160 unittest.expect(o, unittest.hasLength(2)); | 3023 unittest.expect(o, unittest.hasLength(2)); |
| 3161 checkUnnamed2902(o["x"]); | 3024 checkUnnamed2993(o["x"]); |
| 3162 checkUnnamed2902(o["y"]); | 3025 checkUnnamed2993(o["y"]); |
| 3163 } | 3026 } |
| 3164 | 3027 |
| 3165 core.int buildCounterVariantSetMetadata = 0; | 3028 core.int buildCounterVariantSetMetadata = 0; |
| 3166 buildVariantSetMetadata() { | 3029 buildVariantSetMetadata() { |
| 3167 var o = new api.VariantSetMetadata(); | 3030 var o = new api.VariantSetMetadata(); |
| 3168 buildCounterVariantSetMetadata++; | 3031 buildCounterVariantSetMetadata++; |
| 3169 if (buildCounterVariantSetMetadata < 3) { | 3032 if (buildCounterVariantSetMetadata < 3) { |
| 3170 o.description = "foo"; | 3033 o.description = "foo"; |
| 3171 o.id = "foo"; | 3034 o.id = "foo"; |
| 3172 o.info = buildUnnamed2903(); | 3035 o.info = buildUnnamed2994(); |
| 3173 o.key = "foo"; | 3036 o.key = "foo"; |
| 3174 o.number = "foo"; | 3037 o.number = "foo"; |
| 3175 o.type = "foo"; | 3038 o.type = "foo"; |
| 3176 o.value = "foo"; | 3039 o.value = "foo"; |
| 3177 } | 3040 } |
| 3178 buildCounterVariantSetMetadata--; | 3041 buildCounterVariantSetMetadata--; |
| 3179 return o; | 3042 return o; |
| 3180 } | 3043 } |
| 3181 | 3044 |
| 3182 checkVariantSetMetadata(api.VariantSetMetadata o) { | 3045 checkVariantSetMetadata(api.VariantSetMetadata o) { |
| 3183 buildCounterVariantSetMetadata++; | 3046 buildCounterVariantSetMetadata++; |
| 3184 if (buildCounterVariantSetMetadata < 3) { | 3047 if (buildCounterVariantSetMetadata < 3) { |
| 3185 unittest.expect(o.description, unittest.equals('foo')); | 3048 unittest.expect(o.description, unittest.equals('foo')); |
| 3186 unittest.expect(o.id, unittest.equals('foo')); | 3049 unittest.expect(o.id, unittest.equals('foo')); |
| 3187 checkUnnamed2903(o.info); | 3050 checkUnnamed2994(o.info); |
| 3188 unittest.expect(o.key, unittest.equals('foo')); | 3051 unittest.expect(o.key, unittest.equals('foo')); |
| 3189 unittest.expect(o.number, unittest.equals('foo')); | 3052 unittest.expect(o.number, unittest.equals('foo')); |
| 3190 unittest.expect(o.type, unittest.equals('foo')); | 3053 unittest.expect(o.type, unittest.equals('foo')); |
| 3191 unittest.expect(o.value, unittest.equals('foo')); | 3054 unittest.expect(o.value, unittest.equals('foo')); |
| 3192 } | 3055 } |
| 3193 buildCounterVariantSetMetadata--; | 3056 buildCounterVariantSetMetadata--; |
| 3194 } | 3057 } |
| 3195 | 3058 |
| 3196 | 3059 |
| 3197 main() { | 3060 main() { |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3773 | 3636 |
| 3774 unittest.group("obj-schema-Status", () { | 3637 unittest.group("obj-schema-Status", () { |
| 3775 unittest.test("to-json--from-json", () { | 3638 unittest.test("to-json--from-json", () { |
| 3776 var o = buildStatus(); | 3639 var o = buildStatus(); |
| 3777 var od = new api.Status.fromJson(o.toJson()); | 3640 var od = new api.Status.fromJson(o.toJson()); |
| 3778 checkStatus(od); | 3641 checkStatus(od); |
| 3779 }); | 3642 }); |
| 3780 }); | 3643 }); |
| 3781 | 3644 |
| 3782 | 3645 |
| 3783 unittest.group("obj-schema-StreamReadsRequest", () { | |
| 3784 unittest.test("to-json--from-json", () { | |
| 3785 var o = buildStreamReadsRequest(); | |
| 3786 var od = new api.StreamReadsRequest.fromJson(o.toJson()); | |
| 3787 checkStreamReadsRequest(od); | |
| 3788 }); | |
| 3789 }); | |
| 3790 | |
| 3791 | |
| 3792 unittest.group("obj-schema-StreamReadsResponse", () { | |
| 3793 unittest.test("to-json--from-json", () { | |
| 3794 var o = buildStreamReadsResponse(); | |
| 3795 var od = new api.StreamReadsResponse.fromJson(o.toJson()); | |
| 3796 checkStreamReadsResponse(od); | |
| 3797 }); | |
| 3798 }); | |
| 3799 | |
| 3800 | |
| 3801 unittest.group("obj-schema-StreamVariantsRequest", () { | |
| 3802 unittest.test("to-json--from-json", () { | |
| 3803 var o = buildStreamVariantsRequest(); | |
| 3804 var od = new api.StreamVariantsRequest.fromJson(o.toJson()); | |
| 3805 checkStreamVariantsRequest(od); | |
| 3806 }); | |
| 3807 }); | |
| 3808 | |
| 3809 | |
| 3810 unittest.group("obj-schema-StreamVariantsResponse", () { | |
| 3811 unittest.test("to-json--from-json", () { | |
| 3812 var o = buildStreamVariantsResponse(); | |
| 3813 var od = new api.StreamVariantsResponse.fromJson(o.toJson()); | |
| 3814 checkStreamVariantsResponse(od); | |
| 3815 }); | |
| 3816 }); | |
| 3817 | |
| 3818 | |
| 3819 unittest.group("obj-schema-TestIamPermissionsRequest", () { | 3646 unittest.group("obj-schema-TestIamPermissionsRequest", () { |
| 3820 unittest.test("to-json--from-json", () { | 3647 unittest.test("to-json--from-json", () { |
| 3821 var o = buildTestIamPermissionsRequest(); | 3648 var o = buildTestIamPermissionsRequest(); |
| 3822 var od = new api.TestIamPermissionsRequest.fromJson(o.toJson()); | 3649 var od = new api.TestIamPermissionsRequest.fromJson(o.toJson()); |
| 3823 checkTestIamPermissionsRequest(od); | 3650 checkTestIamPermissionsRequest(od); |
| 3824 }); | 3651 }); |
| 3825 }); | 3652 }); |
| 3826 | 3653 |
| 3827 | 3654 |
| 3828 unittest.group("obj-schema-TestIamPermissionsResponse", () { | 3655 unittest.group("obj-schema-TestIamPermissionsResponse", () { |
| (...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4867 }), true); | 4694 }), true); |
| 4868 res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync(((ap
i.Policy response) { | 4695 res.getIamPolicy(arg_request, arg_resource).then(unittest.expectAsync(((ap
i.Policy response) { |
| 4869 checkPolicy(response); | 4696 checkPolicy(response); |
| 4870 }))); | 4697 }))); |
| 4871 }); | 4698 }); |
| 4872 | 4699 |
| 4873 unittest.test("method--list", () { | 4700 unittest.test("method--list", () { |
| 4874 | 4701 |
| 4875 var mock = new HttpServerMock(); | 4702 var mock = new HttpServerMock(); |
| 4876 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; | 4703 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; |
| 4704 var arg_pageSize = 42; |
| 4877 var arg_projectId = "foo"; | 4705 var arg_projectId = "foo"; |
| 4878 var arg_pageSize = 42; | |
| 4879 var arg_pageToken = "foo"; | 4706 var arg_pageToken = "foo"; |
| 4880 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4707 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 4881 var path = (req.url).path; | 4708 var path = (req.url).path; |
| 4882 var pathOffset = 0; | 4709 var pathOffset = 0; |
| 4883 var index; | 4710 var index; |
| 4884 var subPart; | 4711 var subPart; |
| 4885 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4712 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4886 pathOffset += 1; | 4713 pathOffset += 1; |
| 4887 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("v1/datasets")); | 4714 unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.eq
uals("v1/datasets")); |
| 4888 pathOffset += 11; | 4715 pathOffset += 11; |
| 4889 | 4716 |
| 4890 var query = (req.url).query; | 4717 var query = (req.url).query; |
| 4891 var queryOffset = 0; | 4718 var queryOffset = 0; |
| 4892 var queryMap = {}; | 4719 var queryMap = {}; |
| 4893 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 4720 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 4894 parseBool(n) { | 4721 parseBool(n) { |
| 4895 if (n == "true") return true; | 4722 if (n == "true") return true; |
| 4896 if (n == "false") return false; | 4723 if (n == "false") return false; |
| 4897 if (n == null) return null; | 4724 if (n == null) return null; |
| 4898 throw new core.ArgumentError("Invalid boolean: $n"); | 4725 throw new core.ArgumentError("Invalid boolean: $n"); |
| 4899 } | 4726 } |
| 4900 if (query.length > 0) { | 4727 if (query.length > 0) { |
| 4901 for (var part in query.split("&")) { | 4728 for (var part in query.split("&")) { |
| 4902 var keyvalue = part.split("="); | 4729 var keyvalue = part.split("="); |
| 4903 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 4730 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 4904 } | 4731 } |
| 4905 } | 4732 } |
| 4733 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 4906 unittest.expect(queryMap["projectId"].first, unittest.equals(arg_project
Id)); | 4734 unittest.expect(queryMap["projectId"].first, unittest.equals(arg_project
Id)); |
| 4907 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 4908 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 4735 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 4909 | 4736 |
| 4910 | 4737 |
| 4911 var h = { | 4738 var h = { |
| 4912 "content-type" : "application/json; charset=utf-8", | 4739 "content-type" : "application/json; charset=utf-8", |
| 4913 }; | 4740 }; |
| 4914 var resp = convert.JSON.encode(buildListDatasetsResponse()); | 4741 var resp = convert.JSON.encode(buildListDatasetsResponse()); |
| 4915 return new async.Future.value(stringResponse(200, h, resp)); | 4742 return new async.Future.value(stringResponse(200, h, resp)); |
| 4916 }), true); | 4743 }), true); |
| 4917 res.list(projectId: arg_projectId, pageSize: arg_pageSize, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.ListDatasetsResponse response) { | 4744 res.list(pageSize: arg_pageSize, projectId: arg_projectId, pageToken: arg_
pageToken).then(unittest.expectAsync(((api.ListDatasetsResponse response) { |
| 4918 checkListDatasetsResponse(response); | 4745 checkListDatasetsResponse(response); |
| 4919 }))); | 4746 }))); |
| 4920 }); | 4747 }); |
| 4921 | 4748 |
| 4922 unittest.test("method--patch", () { | 4749 unittest.test("method--patch", () { |
| 4923 | 4750 |
| 4924 var mock = new HttpServerMock(); | 4751 var mock = new HttpServerMock(); |
| 4925 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; | 4752 api.DatasetsResourceApi res = new api.GenomicsApi(mock).datasets; |
| 4926 var arg_request = buildDataset(); | 4753 var arg_request = buildDataset(); |
| 4927 var arg_datasetId = "foo"; | 4754 var arg_datasetId = "foo"; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5221 res.get(arg_name).then(unittest.expectAsync(((api.Operation response) { | 5048 res.get(arg_name).then(unittest.expectAsync(((api.Operation response) { |
| 5222 checkOperation(response); | 5049 checkOperation(response); |
| 5223 }))); | 5050 }))); |
| 5224 }); | 5051 }); |
| 5225 | 5052 |
| 5226 unittest.test("method--list", () { | 5053 unittest.test("method--list", () { |
| 5227 | 5054 |
| 5228 var mock = new HttpServerMock(); | 5055 var mock = new HttpServerMock(); |
| 5229 api.OperationsResourceApi res = new api.GenomicsApi(mock).operations; | 5056 api.OperationsResourceApi res = new api.GenomicsApi(mock).operations; |
| 5230 var arg_name = "foo"; | 5057 var arg_name = "foo"; |
| 5058 var arg_pageSize = 42; |
| 5231 var arg_filter = "foo"; | 5059 var arg_filter = "foo"; |
| 5232 var arg_pageSize = 42; | |
| 5233 var arg_pageToken = "foo"; | 5060 var arg_pageToken = "foo"; |
| 5234 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5061 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5235 var path = (req.url).path; | 5062 var path = (req.url).path; |
| 5236 var pathOffset = 0; | 5063 var pathOffset = 0; |
| 5237 var index; | 5064 var index; |
| 5238 var subPart; | 5065 var subPart; |
| 5239 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5066 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5240 pathOffset += 1; | 5067 pathOffset += 1; |
| 5241 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); | 5068 unittest.expect(path.substring(pathOffset, pathOffset + 3), unittest.equ
als("v1/")); |
| 5242 pathOffset += 3; | 5069 pathOffset += 3; |
| 5243 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; | 5070 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; |
| 5244 | 5071 |
| 5245 var query = (req.url).query; | 5072 var query = (req.url).query; |
| 5246 var queryOffset = 0; | 5073 var queryOffset = 0; |
| 5247 var queryMap = {}; | 5074 var queryMap = {}; |
| 5248 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | 5075 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); |
| 5249 parseBool(n) { | 5076 parseBool(n) { |
| 5250 if (n == "true") return true; | 5077 if (n == "true") return true; |
| 5251 if (n == "false") return false; | 5078 if (n == "false") return false; |
| 5252 if (n == null) return null; | 5079 if (n == null) return null; |
| 5253 throw new core.ArgumentError("Invalid boolean: $n"); | 5080 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5254 } | 5081 } |
| 5255 if (query.length > 0) { | 5082 if (query.length > 0) { |
| 5256 for (var part in query.split("&")) { | 5083 for (var part in query.split("&")) { |
| 5257 var keyvalue = part.split("="); | 5084 var keyvalue = part.split("="); |
| 5258 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5085 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5259 } | 5086 } |
| 5260 } | 5087 } |
| 5088 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5261 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); | 5089 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
| 5262 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 5263 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5090 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5264 | 5091 |
| 5265 | 5092 |
| 5266 var h = { | 5093 var h = { |
| 5267 "content-type" : "application/json; charset=utf-8", | 5094 "content-type" : "application/json; charset=utf-8", |
| 5268 }; | 5095 }; |
| 5269 var resp = convert.JSON.encode(buildListOperationsResponse()); | 5096 var resp = convert.JSON.encode(buildListOperationsResponse()); |
| 5270 return new async.Future.value(stringResponse(200, h, resp)); | 5097 return new async.Future.value(stringResponse(200, h, resp)); |
| 5271 }), true); | 5098 }), true); |
| 5272 res.list(arg_name, filter: arg_filter, pageSize: arg_pageSize, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ | 5099 res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken:
arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response)
{ |
| 5273 checkListOperationsResponse(response); | 5100 checkListOperationsResponse(response); |
| 5274 }))); | 5101 }))); |
| 5275 }); | 5102 }); |
| 5276 | 5103 |
| 5277 }); | 5104 }); |
| 5278 | 5105 |
| 5279 | 5106 |
| 5280 unittest.group("resource-ReadgroupsetsResourceApi", () { | 5107 unittest.group("resource-ReadgroupsetsResourceApi", () { |
| 5281 unittest.test("method--delete", () { | 5108 unittest.test("method--delete", () { |
| 5282 | 5109 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5576 | 5403 |
| 5577 }); | 5404 }); |
| 5578 | 5405 |
| 5579 | 5406 |
| 5580 unittest.group("resource-ReadgroupsetsCoveragebucketsResourceApi", () { | 5407 unittest.group("resource-ReadgroupsetsCoveragebucketsResourceApi", () { |
| 5581 unittest.test("method--list", () { | 5408 unittest.test("method--list", () { |
| 5582 | 5409 |
| 5583 var mock = new HttpServerMock(); | 5410 var mock = new HttpServerMock(); |
| 5584 api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock
).readgroupsets.coveragebuckets; | 5411 api.ReadgroupsetsCoveragebucketsResourceApi res = new api.GenomicsApi(mock
).readgroupsets.coveragebuckets; |
| 5585 var arg_readGroupSetId = "foo"; | 5412 var arg_readGroupSetId = "foo"; |
| 5413 var arg_pageSize = 42; |
| 5414 var arg_start = "foo"; |
| 5415 var arg_targetBucketWidth = "foo"; |
| 5586 var arg_referenceName = "foo"; | 5416 var arg_referenceName = "foo"; |
| 5587 var arg_start = "foo"; | |
| 5588 var arg_end = "foo"; | 5417 var arg_end = "foo"; |
| 5589 var arg_targetBucketWidth = "foo"; | |
| 5590 var arg_pageToken = "foo"; | 5418 var arg_pageToken = "foo"; |
| 5591 var arg_pageSize = 42; | |
| 5592 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5419 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5593 var path = (req.url).path; | 5420 var path = (req.url).path; |
| 5594 var pathOffset = 0; | 5421 var pathOffset = 0; |
| 5595 var index; | 5422 var index; |
| 5596 var subPart; | 5423 var subPart; |
| 5597 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5424 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5598 pathOffset += 1; | 5425 pathOffset += 1; |
| 5599 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/readgroupsets/")); | 5426 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/readgroupsets/")); |
| 5600 pathOffset += 17; | 5427 pathOffset += 17; |
| 5601 index = path.indexOf("/coveragebuckets", pathOffset); | 5428 index = path.indexOf("/coveragebuckets", pathOffset); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5615 if (n == "false") return false; | 5442 if (n == "false") return false; |
| 5616 if (n == null) return null; | 5443 if (n == null) return null; |
| 5617 throw new core.ArgumentError("Invalid boolean: $n"); | 5444 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5618 } | 5445 } |
| 5619 if (query.length > 0) { | 5446 if (query.length > 0) { |
| 5620 for (var part in query.split("&")) { | 5447 for (var part in query.split("&")) { |
| 5621 var keyvalue = part.split("="); | 5448 var keyvalue = part.split("="); |
| 5622 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5449 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5623 } | 5450 } |
| 5624 } | 5451 } |
| 5452 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5453 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); |
| 5454 unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg
_targetBucketWidth)); |
| 5625 unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_ref
erenceName)); | 5455 unittest.expect(queryMap["referenceName"].first, unittest.equals(arg_ref
erenceName)); |
| 5626 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); | |
| 5627 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); | 5456 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); |
| 5628 unittest.expect(queryMap["targetBucketWidth"].first, unittest.equals(arg
_targetBucketWidth)); | |
| 5629 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5457 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5630 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 5631 | 5458 |
| 5632 | 5459 |
| 5633 var h = { | 5460 var h = { |
| 5634 "content-type" : "application/json; charset=utf-8", | 5461 "content-type" : "application/json; charset=utf-8", |
| 5635 }; | 5462 }; |
| 5636 var resp = convert.JSON.encode(buildListCoverageBucketsResponse()); | 5463 var resp = convert.JSON.encode(buildListCoverageBucketsResponse()); |
| 5637 return new async.Future.value(stringResponse(200, h, resp)); | 5464 return new async.Future.value(stringResponse(200, h, resp)); |
| 5638 }), true); | 5465 }), true); |
| 5639 res.list(arg_readGroupSetId, referenceName: arg_referenceName, start: arg_
start, end: arg_end, targetBucketWidth: arg_targetBucketWidth, pageToken: arg_pa
geToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListCoverageBuc
ketsResponse response) { | 5466 res.list(arg_readGroupSetId, pageSize: arg_pageSize, start: arg_start, tar
getBucketWidth: arg_targetBucketWidth, referenceName: arg_referenceName, end: ar
g_end, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListCoverageBuc
ketsResponse response) { |
| 5640 checkListCoverageBucketsResponse(response); | 5467 checkListCoverageBucketsResponse(response); |
| 5641 }))); | 5468 }))); |
| 5642 }); | 5469 }); |
| 5643 | 5470 |
| 5644 }); | 5471 }); |
| 5645 | 5472 |
| 5646 | 5473 |
| 5647 unittest.group("resource-ReadsResourceApi", () { | 5474 unittest.group("resource-ReadsResourceApi", () { |
| 5648 unittest.test("method--search", () { | 5475 unittest.test("method--search", () { |
| 5649 | 5476 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5685 "content-type" : "application/json; charset=utf-8", | 5512 "content-type" : "application/json; charset=utf-8", |
| 5686 }; | 5513 }; |
| 5687 var resp = convert.JSON.encode(buildSearchReadsResponse()); | 5514 var resp = convert.JSON.encode(buildSearchReadsResponse()); |
| 5688 return new async.Future.value(stringResponse(200, h, resp)); | 5515 return new async.Future.value(stringResponse(200, h, resp)); |
| 5689 }), true); | 5516 }), true); |
| 5690 res.search(arg_request).then(unittest.expectAsync(((api.SearchReadsRespons
e response) { | 5517 res.search(arg_request).then(unittest.expectAsync(((api.SearchReadsRespons
e response) { |
| 5691 checkSearchReadsResponse(response); | 5518 checkSearchReadsResponse(response); |
| 5692 }))); | 5519 }))); |
| 5693 }); | 5520 }); |
| 5694 | 5521 |
| 5695 unittest.test("method--stream", () { | |
| 5696 | |
| 5697 var mock = new HttpServerMock(); | |
| 5698 api.ReadsResourceApi res = new api.GenomicsApi(mock).reads; | |
| 5699 var arg_request = buildStreamReadsRequest(); | |
| 5700 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
| 5701 var obj = new api.StreamReadsRequest.fromJson(json); | |
| 5702 checkStreamReadsRequest(obj); | |
| 5703 | |
| 5704 var path = (req.url).path; | |
| 5705 var pathOffset = 0; | |
| 5706 var index; | |
| 5707 var subPart; | |
| 5708 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
| 5709 pathOffset += 1; | |
| 5710 unittest.expect(path.substring(pathOffset, pathOffset + 15), unittest.eq
uals("v1/reads:stream")); | |
| 5711 pathOffset += 15; | |
| 5712 | |
| 5713 var query = (req.url).query; | |
| 5714 var queryOffset = 0; | |
| 5715 var queryMap = {}; | |
| 5716 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
| 5717 parseBool(n) { | |
| 5718 if (n == "true") return true; | |
| 5719 if (n == "false") return false; | |
| 5720 if (n == null) return null; | |
| 5721 throw new core.ArgumentError("Invalid boolean: $n"); | |
| 5722 } | |
| 5723 if (query.length > 0) { | |
| 5724 for (var part in query.split("&")) { | |
| 5725 var keyvalue = part.split("="); | |
| 5726 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
| 5727 } | |
| 5728 } | |
| 5729 | |
| 5730 | |
| 5731 var h = { | |
| 5732 "content-type" : "application/json; charset=utf-8", | |
| 5733 }; | |
| 5734 var resp = convert.JSON.encode(buildStreamReadsResponse()); | |
| 5735 return new async.Future.value(stringResponse(200, h, resp)); | |
| 5736 }), true); | |
| 5737 res.stream(arg_request).then(unittest.expectAsync(((api.StreamReadsRespons
e response) { | |
| 5738 checkStreamReadsResponse(response); | |
| 5739 }))); | |
| 5740 }); | |
| 5741 | |
| 5742 }); | 5522 }); |
| 5743 | 5523 |
| 5744 | 5524 |
| 5745 unittest.group("resource-ReferencesResourceApi", () { | 5525 unittest.group("resource-ReferencesResourceApi", () { |
| 5746 unittest.test("method--get", () { | 5526 unittest.test("method--get", () { |
| 5747 | 5527 |
| 5748 var mock = new HttpServerMock(); | 5528 var mock = new HttpServerMock(); |
| 5749 api.ReferencesResourceApi res = new api.GenomicsApi(mock).references; | 5529 api.ReferencesResourceApi res = new api.GenomicsApi(mock).references; |
| 5750 var arg_referenceId = "foo"; | 5530 var arg_referenceId = "foo"; |
| 5751 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5531 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5839 | 5619 |
| 5840 }); | 5620 }); |
| 5841 | 5621 |
| 5842 | 5622 |
| 5843 unittest.group("resource-ReferencesBasesResourceApi", () { | 5623 unittest.group("resource-ReferencesBasesResourceApi", () { |
| 5844 unittest.test("method--list", () { | 5624 unittest.test("method--list", () { |
| 5845 | 5625 |
| 5846 var mock = new HttpServerMock(); | 5626 var mock = new HttpServerMock(); |
| 5847 api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.
bases; | 5627 api.ReferencesBasesResourceApi res = new api.GenomicsApi(mock).references.
bases; |
| 5848 var arg_referenceId = "foo"; | 5628 var arg_referenceId = "foo"; |
| 5629 var arg_pageSize = 42; |
| 5849 var arg_start = "foo"; | 5630 var arg_start = "foo"; |
| 5850 var arg_end = "foo"; | 5631 var arg_end = "foo"; |
| 5851 var arg_pageToken = "foo"; | 5632 var arg_pageToken = "foo"; |
| 5852 var arg_pageSize = 42; | |
| 5853 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5633 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| 5854 var path = (req.url).path; | 5634 var path = (req.url).path; |
| 5855 var pathOffset = 0; | 5635 var pathOffset = 0; |
| 5856 var index; | 5636 var index; |
| 5857 var subPart; | 5637 var subPart; |
| 5858 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5638 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 5859 pathOffset += 1; | 5639 pathOffset += 1; |
| 5860 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1/references/")); | 5640 unittest.expect(path.substring(pathOffset, pathOffset + 14), unittest.eq
uals("v1/references/")); |
| 5861 pathOffset += 14; | 5641 pathOffset += 14; |
| 5862 index = path.indexOf("/bases", pathOffset); | 5642 index = path.indexOf("/bases", pathOffset); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 5876 if (n == "false") return false; | 5656 if (n == "false") return false; |
| 5877 if (n == null) return null; | 5657 if (n == null) return null; |
| 5878 throw new core.ArgumentError("Invalid boolean: $n"); | 5658 throw new core.ArgumentError("Invalid boolean: $n"); |
| 5879 } | 5659 } |
| 5880 if (query.length > 0) { | 5660 if (query.length > 0) { |
| 5881 for (var part in query.split("&")) { | 5661 for (var part in query.split("&")) { |
| 5882 var keyvalue = part.split("="); | 5662 var keyvalue = part.split("="); |
| 5883 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5663 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
| 5884 } | 5664 } |
| 5885 } | 5665 } |
| 5666 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); |
| 5886 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); | 5667 unittest.expect(queryMap["start"].first, unittest.equals(arg_start)); |
| 5887 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); | 5668 unittest.expect(queryMap["end"].first, unittest.equals(arg_end)); |
| 5888 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); | 5669 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok
en)); |
| 5889 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ
als(arg_pageSize)); | |
| 5890 | 5670 |
| 5891 | 5671 |
| 5892 var h = { | 5672 var h = { |
| 5893 "content-type" : "application/json; charset=utf-8", | 5673 "content-type" : "application/json; charset=utf-8", |
| 5894 }; | 5674 }; |
| 5895 var resp = convert.JSON.encode(buildListBasesResponse()); | 5675 var resp = convert.JSON.encode(buildListBasesResponse()); |
| 5896 return new async.Future.value(stringResponse(200, h, resp)); | 5676 return new async.Future.value(stringResponse(200, h, resp)); |
| 5897 }), true); | 5677 }), true); |
| 5898 res.list(arg_referenceId, start: arg_start, end: arg_end, pageToken: arg_p
ageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListBasesRespo
nse response) { | 5678 res.list(arg_referenceId, pageSize: arg_pageSize, start: arg_start, end: a
rg_end, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListBasesRespo
nse response) { |
| 5899 checkListBasesResponse(response); | 5679 checkListBasesResponse(response); |
| 5900 }))); | 5680 }))); |
| 5901 }); | 5681 }); |
| 5902 | 5682 |
| 5903 }); | 5683 }); |
| 5904 | 5684 |
| 5905 | 5685 |
| 5906 unittest.group("resource-ReferencesetsResourceApi", () { | 5686 unittest.group("resource-ReferencesetsResourceApi", () { |
| 5907 unittest.test("method--get", () { | 5687 unittest.test("method--get", () { |
| 5908 | 5688 |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6330 "content-type" : "application/json; charset=utf-8", | 6110 "content-type" : "application/json; charset=utf-8", |
| 6331 }; | 6111 }; |
| 6332 var resp = convert.JSON.encode(buildSearchVariantsResponse()); | 6112 var resp = convert.JSON.encode(buildSearchVariantsResponse()); |
| 6333 return new async.Future.value(stringResponse(200, h, resp)); | 6113 return new async.Future.value(stringResponse(200, h, resp)); |
| 6334 }), true); | 6114 }), true); |
| 6335 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantsResp
onse response) { | 6115 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantsResp
onse response) { |
| 6336 checkSearchVariantsResponse(response); | 6116 checkSearchVariantsResponse(response); |
| 6337 }))); | 6117 }))); |
| 6338 }); | 6118 }); |
| 6339 | 6119 |
| 6340 unittest.test("method--stream", () { | |
| 6341 | |
| 6342 var mock = new HttpServerMock(); | |
| 6343 api.VariantsResourceApi res = new api.GenomicsApi(mock).variants; | |
| 6344 var arg_request = buildStreamVariantsRequest(); | |
| 6345 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | |
| 6346 var obj = new api.StreamVariantsRequest.fromJson(json); | |
| 6347 checkStreamVariantsRequest(obj); | |
| 6348 | |
| 6349 var path = (req.url).path; | |
| 6350 var pathOffset = 0; | |
| 6351 var index; | |
| 6352 var subPart; | |
| 6353 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | |
| 6354 pathOffset += 1; | |
| 6355 unittest.expect(path.substring(pathOffset, pathOffset + 18), unittest.eq
uals("v1/variants:stream")); | |
| 6356 pathOffset += 18; | |
| 6357 | |
| 6358 var query = (req.url).query; | |
| 6359 var queryOffset = 0; | |
| 6360 var queryMap = {}; | |
| 6361 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); | |
| 6362 parseBool(n) { | |
| 6363 if (n == "true") return true; | |
| 6364 if (n == "false") return false; | |
| 6365 if (n == null) return null; | |
| 6366 throw new core.ArgumentError("Invalid boolean: $n"); | |
| 6367 } | |
| 6368 if (query.length > 0) { | |
| 6369 for (var part in query.split("&")) { | |
| 6370 var keyvalue = part.split("="); | |
| 6371 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | |
| 6372 } | |
| 6373 } | |
| 6374 | |
| 6375 | |
| 6376 var h = { | |
| 6377 "content-type" : "application/json; charset=utf-8", | |
| 6378 }; | |
| 6379 var resp = convert.JSON.encode(buildStreamVariantsResponse()); | |
| 6380 return new async.Future.value(stringResponse(200, h, resp)); | |
| 6381 }), true); | |
| 6382 res.stream(arg_request).then(unittest.expectAsync(((api.StreamVariantsResp
onse response) { | |
| 6383 checkStreamVariantsResponse(response); | |
| 6384 }))); | |
| 6385 }); | |
| 6386 | |
| 6387 }); | 6120 }); |
| 6388 | 6121 |
| 6389 | 6122 |
| 6390 unittest.group("resource-VariantsetsResourceApi", () { | 6123 unittest.group("resource-VariantsetsResourceApi", () { |
| 6391 unittest.test("method--create", () { | 6124 unittest.test("method--create", () { |
| 6392 | 6125 |
| 6393 var mock = new HttpServerMock(); | 6126 var mock = new HttpServerMock(); |
| 6394 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; | 6127 api.VariantsetsResourceApi res = new api.GenomicsApi(mock).variantsets; |
| 6395 var arg_request = buildVariantSet(); | 6128 var arg_request = buildVariantSet(); |
| 6396 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 6129 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6682 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { | 6415 res.search(arg_request).then(unittest.expectAsync(((api.SearchVariantSetsR
esponse response) { |
| 6683 checkSearchVariantSetsResponse(response); | 6416 checkSearchVariantSetsResponse(response); |
| 6684 }))); | 6417 }))); |
| 6685 }); | 6418 }); |
| 6686 | 6419 |
| 6687 }); | 6420 }); |
| 6688 | 6421 |
| 6689 | 6422 |
| 6690 } | 6423 } |
| 6691 | 6424 |
| OLD | NEW |