| OLD | NEW |
| 1 library googleapis.dfareporting.v1_3.test; | 1 library googleapis.dfareporting.v1_3.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 buildUnnamed753() { | 54 buildUnnamed172() { |
| 55 var o = new core.List<api.DimensionValue>(); | 55 var o = new core.List<api.DimensionValue>(); |
| 56 o.add(buildDimensionValue()); | 56 o.add(buildDimensionValue()); |
| 57 o.add(buildDimensionValue()); | 57 o.add(buildDimensionValue()); |
| 58 return o; | 58 return o; |
| 59 } | 59 } |
| 60 | 60 |
| 61 checkUnnamed753(core.List<api.DimensionValue> o) { | 61 checkUnnamed172(core.List<api.DimensionValue> o) { |
| 62 unittest.expect(o, unittest.hasLength(2)); | 62 unittest.expect(o, unittest.hasLength(2)); |
| 63 checkDimensionValue(o[0]); | 63 checkDimensionValue(o[0]); |
| 64 checkDimensionValue(o[1]); | 64 checkDimensionValue(o[1]); |
| 65 } | 65 } |
| 66 | 66 |
| 67 buildUnnamed754() { | 67 buildUnnamed173() { |
| 68 var o = new core.List<core.String>(); | 68 var o = new core.List<core.String>(); |
| 69 o.add("foo"); | 69 o.add("foo"); |
| 70 o.add("foo"); | 70 o.add("foo"); |
| 71 return o; | 71 return o; |
| 72 } | 72 } |
| 73 | 73 |
| 74 checkUnnamed754(core.List<core.String> o) { | 74 checkUnnamed173(core.List<core.String> o) { |
| 75 unittest.expect(o, unittest.hasLength(2)); | 75 unittest.expect(o, unittest.hasLength(2)); |
| 76 unittest.expect(o[0], unittest.equals('foo')); | 76 unittest.expect(o[0], unittest.equals('foo')); |
| 77 unittest.expect(o[1], unittest.equals('foo')); | 77 unittest.expect(o[1], unittest.equals('foo')); |
| 78 } | 78 } |
| 79 | 79 |
| 80 core.int buildCounterActivities = 0; | 80 core.int buildCounterActivities = 0; |
| 81 buildActivities() { | 81 buildActivities() { |
| 82 var o = new api.Activities(); | 82 var o = new api.Activities(); |
| 83 buildCounterActivities++; | 83 buildCounterActivities++; |
| 84 if (buildCounterActivities < 3) { | 84 if (buildCounterActivities < 3) { |
| 85 o.filters = buildUnnamed753(); | 85 o.filters = buildUnnamed172(); |
| 86 o.kind = "foo"; | 86 o.kind = "foo"; |
| 87 o.metricNames = buildUnnamed754(); | 87 o.metricNames = buildUnnamed173(); |
| 88 } | 88 } |
| 89 buildCounterActivities--; | 89 buildCounterActivities--; |
| 90 return o; | 90 return o; |
| 91 } | 91 } |
| 92 | 92 |
| 93 checkActivities(api.Activities o) { | 93 checkActivities(api.Activities o) { |
| 94 buildCounterActivities++; | 94 buildCounterActivities++; |
| 95 if (buildCounterActivities < 3) { | 95 if (buildCounterActivities < 3) { |
| 96 checkUnnamed753(o.filters); | 96 checkUnnamed172(o.filters); |
| 97 unittest.expect(o.kind, unittest.equals('foo')); | 97 unittest.expect(o.kind, unittest.equals('foo')); |
| 98 checkUnnamed754(o.metricNames); | 98 checkUnnamed173(o.metricNames); |
| 99 } | 99 } |
| 100 buildCounterActivities--; | 100 buildCounterActivities--; |
| 101 } | 101 } |
| 102 | 102 |
| 103 core.int buildCounterCompatibleFields = 0; | 103 core.int buildCounterCompatibleFields = 0; |
| 104 buildCompatibleFields() { | 104 buildCompatibleFields() { |
| 105 var o = new api.CompatibleFields(); | 105 var o = new api.CompatibleFields(); |
| 106 buildCounterCompatibleFields++; | 106 buildCounterCompatibleFields++; |
| 107 if (buildCounterCompatibleFields < 3) { | 107 if (buildCounterCompatibleFields < 3) { |
| 108 o.crossDimensionReachReportCompatibleFields = buildCrossDimensionReachReport
CompatibleFields(); | 108 o.crossDimensionReachReportCompatibleFields = buildCrossDimensionReachReport
CompatibleFields(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 122 checkCrossDimensionReachReportCompatibleFields(o.crossDimensionReachReportCo
mpatibleFields); | 122 checkCrossDimensionReachReportCompatibleFields(o.crossDimensionReachReportCo
mpatibleFields); |
| 123 checkFloodlightReportCompatibleFields(o.floodlightReportCompatibleFields); | 123 checkFloodlightReportCompatibleFields(o.floodlightReportCompatibleFields); |
| 124 unittest.expect(o.kind, unittest.equals('foo')); | 124 unittest.expect(o.kind, unittest.equals('foo')); |
| 125 checkPathToConversionReportCompatibleFields(o.pathToConversionReportCompatib
leFields); | 125 checkPathToConversionReportCompatibleFields(o.pathToConversionReportCompatib
leFields); |
| 126 checkReachReportCompatibleFields(o.reachReportCompatibleFields); | 126 checkReachReportCompatibleFields(o.reachReportCompatibleFields); |
| 127 checkReportCompatibleFields(o.reportCompatibleFields); | 127 checkReportCompatibleFields(o.reportCompatibleFields); |
| 128 } | 128 } |
| 129 buildCounterCompatibleFields--; | 129 buildCounterCompatibleFields--; |
| 130 } | 130 } |
| 131 | 131 |
| 132 buildUnnamed755() { | 132 buildUnnamed174() { |
| 133 var o = new core.List<api.Dimension>(); | 133 var o = new core.List<api.Dimension>(); |
| 134 o.add(buildDimension()); | 134 o.add(buildDimension()); |
| 135 o.add(buildDimension()); | 135 o.add(buildDimension()); |
| 136 return o; | 136 return o; |
| 137 } | 137 } |
| 138 | 138 |
| 139 checkUnnamed755(core.List<api.Dimension> o) { | 139 checkUnnamed174(core.List<api.Dimension> o) { |
| 140 unittest.expect(o, unittest.hasLength(2)); | 140 unittest.expect(o, unittest.hasLength(2)); |
| 141 checkDimension(o[0]); | 141 checkDimension(o[0]); |
| 142 checkDimension(o[1]); | 142 checkDimension(o[1]); |
| 143 } | 143 } |
| 144 | 144 |
| 145 buildUnnamed756() { | 145 buildUnnamed175() { |
| 146 var o = new core.List<api.Dimension>(); | 146 var o = new core.List<api.Dimension>(); |
| 147 o.add(buildDimension()); | 147 o.add(buildDimension()); |
| 148 o.add(buildDimension()); | 148 o.add(buildDimension()); |
| 149 return o; | 149 return o; |
| 150 } | 150 } |
| 151 | 151 |
| 152 checkUnnamed756(core.List<api.Dimension> o) { | 152 checkUnnamed175(core.List<api.Dimension> o) { |
| 153 unittest.expect(o, unittest.hasLength(2)); | 153 unittest.expect(o, unittest.hasLength(2)); |
| 154 checkDimension(o[0]); | 154 checkDimension(o[0]); |
| 155 checkDimension(o[1]); | 155 checkDimension(o[1]); |
| 156 } | 156 } |
| 157 | 157 |
| 158 buildUnnamed757() { | 158 buildUnnamed176() { |
| 159 var o = new core.List<api.Metric>(); | 159 var o = new core.List<api.Metric>(); |
| 160 o.add(buildMetric()); | 160 o.add(buildMetric()); |
| 161 o.add(buildMetric()); | 161 o.add(buildMetric()); |
| 162 return o; | 162 return o; |
| 163 } | 163 } |
| 164 | 164 |
| 165 checkUnnamed757(core.List<api.Metric> o) { | 165 checkUnnamed176(core.List<api.Metric> o) { |
| 166 unittest.expect(o, unittest.hasLength(2)); | 166 unittest.expect(o, unittest.hasLength(2)); |
| 167 checkMetric(o[0]); | 167 checkMetric(o[0]); |
| 168 checkMetric(o[1]); | 168 checkMetric(o[1]); |
| 169 } | 169 } |
| 170 | 170 |
| 171 buildUnnamed758() { | 171 buildUnnamed177() { |
| 172 var o = new core.List<api.Metric>(); | 172 var o = new core.List<api.Metric>(); |
| 173 o.add(buildMetric()); | 173 o.add(buildMetric()); |
| 174 o.add(buildMetric()); | 174 o.add(buildMetric()); |
| 175 return o; | 175 return o; |
| 176 } | 176 } |
| 177 | 177 |
| 178 checkUnnamed758(core.List<api.Metric> o) { | 178 checkUnnamed177(core.List<api.Metric> o) { |
| 179 unittest.expect(o, unittest.hasLength(2)); | 179 unittest.expect(o, unittest.hasLength(2)); |
| 180 checkMetric(o[0]); | 180 checkMetric(o[0]); |
| 181 checkMetric(o[1]); | 181 checkMetric(o[1]); |
| 182 } | 182 } |
| 183 | 183 |
| 184 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; | 184 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; |
| 185 buildCrossDimensionReachReportCompatibleFields() { | 185 buildCrossDimensionReachReportCompatibleFields() { |
| 186 var o = new api.CrossDimensionReachReportCompatibleFields(); | 186 var o = new api.CrossDimensionReachReportCompatibleFields(); |
| 187 buildCounterCrossDimensionReachReportCompatibleFields++; | 187 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 188 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 188 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 189 o.breakdown = buildUnnamed755(); | 189 o.breakdown = buildUnnamed174(); |
| 190 o.dimensionFilters = buildUnnamed756(); | 190 o.dimensionFilters = buildUnnamed175(); |
| 191 o.kind = "foo"; | 191 o.kind = "foo"; |
| 192 o.metrics = buildUnnamed757(); | 192 o.metrics = buildUnnamed176(); |
| 193 o.overlapMetrics = buildUnnamed758(); | 193 o.overlapMetrics = buildUnnamed177(); |
| 194 } | 194 } |
| 195 buildCounterCrossDimensionReachReportCompatibleFields--; | 195 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 196 return o; | 196 return o; |
| 197 } | 197 } |
| 198 | 198 |
| 199 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { | 199 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { |
| 200 buildCounterCrossDimensionReachReportCompatibleFields++; | 200 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 201 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 201 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 202 checkUnnamed755(o.breakdown); | 202 checkUnnamed174(o.breakdown); |
| 203 checkUnnamed756(o.dimensionFilters); | 203 checkUnnamed175(o.dimensionFilters); |
| 204 unittest.expect(o.kind, unittest.equals('foo')); | 204 unittest.expect(o.kind, unittest.equals('foo')); |
| 205 checkUnnamed757(o.metrics); | 205 checkUnnamed176(o.metrics); |
| 206 checkUnnamed758(o.overlapMetrics); | 206 checkUnnamed177(o.overlapMetrics); |
| 207 } | 207 } |
| 208 buildCounterCrossDimensionReachReportCompatibleFields--; | 208 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 209 } | 209 } |
| 210 | 210 |
| 211 buildUnnamed759() { | 211 buildUnnamed178() { |
| 212 var o = new core.List<api.DimensionValue>(); | 212 var o = new core.List<api.DimensionValue>(); |
| 213 o.add(buildDimensionValue()); | 213 o.add(buildDimensionValue()); |
| 214 o.add(buildDimensionValue()); | 214 o.add(buildDimensionValue()); |
| 215 return o; | 215 return o; |
| 216 } | 216 } |
| 217 | 217 |
| 218 checkUnnamed759(core.List<api.DimensionValue> o) { | 218 checkUnnamed178(core.List<api.DimensionValue> o) { |
| 219 unittest.expect(o, unittest.hasLength(2)); | 219 unittest.expect(o, unittest.hasLength(2)); |
| 220 checkDimensionValue(o[0]); | 220 checkDimensionValue(o[0]); |
| 221 checkDimensionValue(o[1]); | 221 checkDimensionValue(o[1]); |
| 222 } | 222 } |
| 223 | 223 |
| 224 core.int buildCounterCustomRichMediaEvents = 0; | 224 core.int buildCounterCustomRichMediaEvents = 0; |
| 225 buildCustomRichMediaEvents() { | 225 buildCustomRichMediaEvents() { |
| 226 var o = new api.CustomRichMediaEvents(); | 226 var o = new api.CustomRichMediaEvents(); |
| 227 buildCounterCustomRichMediaEvents++; | 227 buildCounterCustomRichMediaEvents++; |
| 228 if (buildCounterCustomRichMediaEvents < 3) { | 228 if (buildCounterCustomRichMediaEvents < 3) { |
| 229 o.filteredEventIds = buildUnnamed759(); | 229 o.filteredEventIds = buildUnnamed178(); |
| 230 o.kind = "foo"; | 230 o.kind = "foo"; |
| 231 } | 231 } |
| 232 buildCounterCustomRichMediaEvents--; | 232 buildCounterCustomRichMediaEvents--; |
| 233 return o; | 233 return o; |
| 234 } | 234 } |
| 235 | 235 |
| 236 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { | 236 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { |
| 237 buildCounterCustomRichMediaEvents++; | 237 buildCounterCustomRichMediaEvents++; |
| 238 if (buildCounterCustomRichMediaEvents < 3) { | 238 if (buildCounterCustomRichMediaEvents < 3) { |
| 239 checkUnnamed759(o.filteredEventIds); | 239 checkUnnamed178(o.filteredEventIds); |
| 240 unittest.expect(o.kind, unittest.equals('foo')); | 240 unittest.expect(o.kind, unittest.equals('foo')); |
| 241 } | 241 } |
| 242 buildCounterCustomRichMediaEvents--; | 242 buildCounterCustomRichMediaEvents--; |
| 243 } | 243 } |
| 244 | 244 |
| 245 core.int buildCounterDateRange = 0; | 245 core.int buildCounterDateRange = 0; |
| 246 buildDateRange() { | 246 buildDateRange() { |
| 247 var o = new api.DateRange(); | 247 var o = new api.DateRange(); |
| 248 buildCounterDateRange++; | 248 buildCounterDateRange++; |
| 249 if (buildCounterDateRange < 3) { | 249 if (buildCounterDateRange < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 unittest.expect(o.dimensionName, unittest.equals('foo')); | 333 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 334 unittest.expect(o.etag, unittest.equals('foo')); | 334 unittest.expect(o.etag, unittest.equals('foo')); |
| 335 unittest.expect(o.id, unittest.equals('foo')); | 335 unittest.expect(o.id, unittest.equals('foo')); |
| 336 unittest.expect(o.kind, unittest.equals('foo')); | 336 unittest.expect(o.kind, unittest.equals('foo')); |
| 337 unittest.expect(o.matchType, unittest.equals('foo')); | 337 unittest.expect(o.matchType, unittest.equals('foo')); |
| 338 unittest.expect(o.value, unittest.equals('foo')); | 338 unittest.expect(o.value, unittest.equals('foo')); |
| 339 } | 339 } |
| 340 buildCounterDimensionValue--; | 340 buildCounterDimensionValue--; |
| 341 } | 341 } |
| 342 | 342 |
| 343 buildUnnamed760() { | 343 buildUnnamed179() { |
| 344 var o = new core.List<api.DimensionValue>(); | 344 var o = new core.List<api.DimensionValue>(); |
| 345 o.add(buildDimensionValue()); | 345 o.add(buildDimensionValue()); |
| 346 o.add(buildDimensionValue()); | 346 o.add(buildDimensionValue()); |
| 347 return o; | 347 return o; |
| 348 } | 348 } |
| 349 | 349 |
| 350 checkUnnamed760(core.List<api.DimensionValue> o) { | 350 checkUnnamed179(core.List<api.DimensionValue> o) { |
| 351 unittest.expect(o, unittest.hasLength(2)); | 351 unittest.expect(o, unittest.hasLength(2)); |
| 352 checkDimensionValue(o[0]); | 352 checkDimensionValue(o[0]); |
| 353 checkDimensionValue(o[1]); | 353 checkDimensionValue(o[1]); |
| 354 } | 354 } |
| 355 | 355 |
| 356 core.int buildCounterDimensionValueList = 0; | 356 core.int buildCounterDimensionValueList = 0; |
| 357 buildDimensionValueList() { | 357 buildDimensionValueList() { |
| 358 var o = new api.DimensionValueList(); | 358 var o = new api.DimensionValueList(); |
| 359 buildCounterDimensionValueList++; | 359 buildCounterDimensionValueList++; |
| 360 if (buildCounterDimensionValueList < 3) { | 360 if (buildCounterDimensionValueList < 3) { |
| 361 o.etag = "foo"; | 361 o.etag = "foo"; |
| 362 o.items = buildUnnamed760(); | 362 o.items = buildUnnamed179(); |
| 363 o.kind = "foo"; | 363 o.kind = "foo"; |
| 364 o.nextPageToken = "foo"; | 364 o.nextPageToken = "foo"; |
| 365 } | 365 } |
| 366 buildCounterDimensionValueList--; | 366 buildCounterDimensionValueList--; |
| 367 return o; | 367 return o; |
| 368 } | 368 } |
| 369 | 369 |
| 370 checkDimensionValueList(api.DimensionValueList o) { | 370 checkDimensionValueList(api.DimensionValueList o) { |
| 371 buildCounterDimensionValueList++; | 371 buildCounterDimensionValueList++; |
| 372 if (buildCounterDimensionValueList < 3) { | 372 if (buildCounterDimensionValueList < 3) { |
| 373 unittest.expect(o.etag, unittest.equals('foo')); | 373 unittest.expect(o.etag, unittest.equals('foo')); |
| 374 checkUnnamed760(o.items); | 374 checkUnnamed179(o.items); |
| 375 unittest.expect(o.kind, unittest.equals('foo')); | 375 unittest.expect(o.kind, unittest.equals('foo')); |
| 376 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 376 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 377 } | 377 } |
| 378 buildCounterDimensionValueList--; | 378 buildCounterDimensionValueList--; |
| 379 } | 379 } |
| 380 | 380 |
| 381 buildUnnamed761() { | 381 buildUnnamed180() { |
| 382 var o = new core.List<api.DimensionFilter>(); | 382 var o = new core.List<api.DimensionFilter>(); |
| 383 o.add(buildDimensionFilter()); | 383 o.add(buildDimensionFilter()); |
| 384 o.add(buildDimensionFilter()); | 384 o.add(buildDimensionFilter()); |
| 385 return o; | 385 return o; |
| 386 } | 386 } |
| 387 | 387 |
| 388 checkUnnamed761(core.List<api.DimensionFilter> o) { | 388 checkUnnamed180(core.List<api.DimensionFilter> o) { |
| 389 unittest.expect(o, unittest.hasLength(2)); | 389 unittest.expect(o, unittest.hasLength(2)); |
| 390 checkDimensionFilter(o[0]); | 390 checkDimensionFilter(o[0]); |
| 391 checkDimensionFilter(o[1]); | 391 checkDimensionFilter(o[1]); |
| 392 } | 392 } |
| 393 | 393 |
| 394 core.int buildCounterDimensionValueRequest = 0; | 394 core.int buildCounterDimensionValueRequest = 0; |
| 395 buildDimensionValueRequest() { | 395 buildDimensionValueRequest() { |
| 396 var o = new api.DimensionValueRequest(); | 396 var o = new api.DimensionValueRequest(); |
| 397 buildCounterDimensionValueRequest++; | 397 buildCounterDimensionValueRequest++; |
| 398 if (buildCounterDimensionValueRequest < 3) { | 398 if (buildCounterDimensionValueRequest < 3) { |
| 399 o.dimensionName = "foo"; | 399 o.dimensionName = "foo"; |
| 400 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 400 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 401 o.filters = buildUnnamed761(); | 401 o.filters = buildUnnamed180(); |
| 402 o.kind = "foo"; | 402 o.kind = "foo"; |
| 403 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 403 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 404 } | 404 } |
| 405 buildCounterDimensionValueRequest--; | 405 buildCounterDimensionValueRequest--; |
| 406 return o; | 406 return o; |
| 407 } | 407 } |
| 408 | 408 |
| 409 checkDimensionValueRequest(api.DimensionValueRequest o) { | 409 checkDimensionValueRequest(api.DimensionValueRequest o) { |
| 410 buildCounterDimensionValueRequest++; | 410 buildCounterDimensionValueRequest++; |
| 411 if (buildCounterDimensionValueRequest < 3) { | 411 if (buildCounterDimensionValueRequest < 3) { |
| 412 unittest.expect(o.dimensionName, unittest.equals('foo')); | 412 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 413 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 413 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 414 checkUnnamed761(o.filters); | 414 checkUnnamed180(o.filters); |
| 415 unittest.expect(o.kind, unittest.equals('foo')); | 415 unittest.expect(o.kind, unittest.equals('foo')); |
| 416 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 416 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 417 } | 417 } |
| 418 buildCounterDimensionValueRequest--; | 418 buildCounterDimensionValueRequest--; |
| 419 } | 419 } |
| 420 | 420 |
| 421 core.int buildCounterFileUrls = 0; | 421 core.int buildCounterFileUrls = 0; |
| 422 buildFileUrls() { | 422 buildFileUrls() { |
| 423 var o = new api.FileUrls(); | 423 var o = new api.FileUrls(); |
| 424 buildCounterFileUrls++; | 424 buildCounterFileUrls++; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 unittest.expect(o.id, unittest.equals('foo')); | 469 unittest.expect(o.id, unittest.equals('foo')); |
| 470 unittest.expect(o.kind, unittest.equals('foo')); | 470 unittest.expect(o.kind, unittest.equals('foo')); |
| 471 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 471 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
| 472 unittest.expect(o.reportId, unittest.equals('foo')); | 472 unittest.expect(o.reportId, unittest.equals('foo')); |
| 473 unittest.expect(o.status, unittest.equals('foo')); | 473 unittest.expect(o.status, unittest.equals('foo')); |
| 474 checkFileUrls(o.urls); | 474 checkFileUrls(o.urls); |
| 475 } | 475 } |
| 476 buildCounterFile--; | 476 buildCounterFile--; |
| 477 } | 477 } |
| 478 | 478 |
| 479 buildUnnamed762() { | 479 buildUnnamed181() { |
| 480 var o = new core.List<api.File>(); | 480 var o = new core.List<api.File>(); |
| 481 o.add(buildFile()); | 481 o.add(buildFile()); |
| 482 o.add(buildFile()); | 482 o.add(buildFile()); |
| 483 return o; | 483 return o; |
| 484 } | 484 } |
| 485 | 485 |
| 486 checkUnnamed762(core.List<api.File> o) { | 486 checkUnnamed181(core.List<api.File> o) { |
| 487 unittest.expect(o, unittest.hasLength(2)); | 487 unittest.expect(o, unittest.hasLength(2)); |
| 488 checkFile(o[0]); | 488 checkFile(o[0]); |
| 489 checkFile(o[1]); | 489 checkFile(o[1]); |
| 490 } | 490 } |
| 491 | 491 |
| 492 core.int buildCounterFileList = 0; | 492 core.int buildCounterFileList = 0; |
| 493 buildFileList() { | 493 buildFileList() { |
| 494 var o = new api.FileList(); | 494 var o = new api.FileList(); |
| 495 buildCounterFileList++; | 495 buildCounterFileList++; |
| 496 if (buildCounterFileList < 3) { | 496 if (buildCounterFileList < 3) { |
| 497 o.etag = "foo"; | 497 o.etag = "foo"; |
| 498 o.items = buildUnnamed762(); | 498 o.items = buildUnnamed181(); |
| 499 o.kind = "foo"; | 499 o.kind = "foo"; |
| 500 o.nextPageToken = "foo"; | 500 o.nextPageToken = "foo"; |
| 501 } | 501 } |
| 502 buildCounterFileList--; | 502 buildCounterFileList--; |
| 503 return o; | 503 return o; |
| 504 } | 504 } |
| 505 | 505 |
| 506 checkFileList(api.FileList o) { | 506 checkFileList(api.FileList o) { |
| 507 buildCounterFileList++; | 507 buildCounterFileList++; |
| 508 if (buildCounterFileList < 3) { | 508 if (buildCounterFileList < 3) { |
| 509 unittest.expect(o.etag, unittest.equals('foo')); | 509 unittest.expect(o.etag, unittest.equals('foo')); |
| 510 checkUnnamed762(o.items); | 510 checkUnnamed181(o.items); |
| 511 unittest.expect(o.kind, unittest.equals('foo')); | 511 unittest.expect(o.kind, unittest.equals('foo')); |
| 512 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 512 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 513 } | 513 } |
| 514 buildCounterFileList--; | 514 buildCounterFileList--; |
| 515 } | 515 } |
| 516 | 516 |
| 517 buildUnnamed763() { | 517 buildUnnamed182() { |
| 518 var o = new core.List<api.Dimension>(); | 518 var o = new core.List<api.Dimension>(); |
| 519 o.add(buildDimension()); | 519 o.add(buildDimension()); |
| 520 o.add(buildDimension()); | 520 o.add(buildDimension()); |
| 521 return o; | 521 return o; |
| 522 } | 522 } |
| 523 | 523 |
| 524 checkUnnamed763(core.List<api.Dimension> o) { | 524 checkUnnamed182(core.List<api.Dimension> o) { |
| 525 unittest.expect(o, unittest.hasLength(2)); | 525 unittest.expect(o, unittest.hasLength(2)); |
| 526 checkDimension(o[0]); | 526 checkDimension(o[0]); |
| 527 checkDimension(o[1]); | 527 checkDimension(o[1]); |
| 528 } | 528 } |
| 529 | 529 |
| 530 buildUnnamed764() { | 530 buildUnnamed183() { |
| 531 var o = new core.List<api.Dimension>(); | 531 var o = new core.List<api.Dimension>(); |
| 532 o.add(buildDimension()); | 532 o.add(buildDimension()); |
| 533 o.add(buildDimension()); | 533 o.add(buildDimension()); |
| 534 return o; | 534 return o; |
| 535 } | 535 } |
| 536 | 536 |
| 537 checkUnnamed764(core.List<api.Dimension> o) { | 537 checkUnnamed183(core.List<api.Dimension> o) { |
| 538 unittest.expect(o, unittest.hasLength(2)); | 538 unittest.expect(o, unittest.hasLength(2)); |
| 539 checkDimension(o[0]); | 539 checkDimension(o[0]); |
| 540 checkDimension(o[1]); | 540 checkDimension(o[1]); |
| 541 } | 541 } |
| 542 | 542 |
| 543 buildUnnamed765() { | 543 buildUnnamed184() { |
| 544 var o = new core.List<api.Metric>(); | 544 var o = new core.List<api.Metric>(); |
| 545 o.add(buildMetric()); | 545 o.add(buildMetric()); |
| 546 o.add(buildMetric()); | 546 o.add(buildMetric()); |
| 547 return o; | 547 return o; |
| 548 } | 548 } |
| 549 | 549 |
| 550 checkUnnamed765(core.List<api.Metric> o) { | 550 checkUnnamed184(core.List<api.Metric> o) { |
| 551 unittest.expect(o, unittest.hasLength(2)); | 551 unittest.expect(o, unittest.hasLength(2)); |
| 552 checkMetric(o[0]); | 552 checkMetric(o[0]); |
| 553 checkMetric(o[1]); | 553 checkMetric(o[1]); |
| 554 } | 554 } |
| 555 | 555 |
| 556 core.int buildCounterFloodlightReportCompatibleFields = 0; | 556 core.int buildCounterFloodlightReportCompatibleFields = 0; |
| 557 buildFloodlightReportCompatibleFields() { | 557 buildFloodlightReportCompatibleFields() { |
| 558 var o = new api.FloodlightReportCompatibleFields(); | 558 var o = new api.FloodlightReportCompatibleFields(); |
| 559 buildCounterFloodlightReportCompatibleFields++; | 559 buildCounterFloodlightReportCompatibleFields++; |
| 560 if (buildCounterFloodlightReportCompatibleFields < 3) { | 560 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 561 o.dimensionFilters = buildUnnamed763(); | 561 o.dimensionFilters = buildUnnamed182(); |
| 562 o.dimensions = buildUnnamed764(); | 562 o.dimensions = buildUnnamed183(); |
| 563 o.kind = "foo"; | 563 o.kind = "foo"; |
| 564 o.metrics = buildUnnamed765(); | 564 o.metrics = buildUnnamed184(); |
| 565 } | 565 } |
| 566 buildCounterFloodlightReportCompatibleFields--; | 566 buildCounterFloodlightReportCompatibleFields--; |
| 567 return o; | 567 return o; |
| 568 } | 568 } |
| 569 | 569 |
| 570 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { | 570 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { |
| 571 buildCounterFloodlightReportCompatibleFields++; | 571 buildCounterFloodlightReportCompatibleFields++; |
| 572 if (buildCounterFloodlightReportCompatibleFields < 3) { | 572 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 573 checkUnnamed763(o.dimensionFilters); | 573 checkUnnamed182(o.dimensionFilters); |
| 574 checkUnnamed764(o.dimensions); | 574 checkUnnamed183(o.dimensions); |
| 575 unittest.expect(o.kind, unittest.equals('foo')); | 575 unittest.expect(o.kind, unittest.equals('foo')); |
| 576 checkUnnamed765(o.metrics); | 576 checkUnnamed184(o.metrics); |
| 577 } | 577 } |
| 578 buildCounterFloodlightReportCompatibleFields--; | 578 buildCounterFloodlightReportCompatibleFields--; |
| 579 } | 579 } |
| 580 | 580 |
| 581 core.int buildCounterMetric = 0; | 581 core.int buildCounterMetric = 0; |
| 582 buildMetric() { | 582 buildMetric() { |
| 583 var o = new api.Metric(); | 583 var o = new api.Metric(); |
| 584 buildCounterMetric++; | 584 buildCounterMetric++; |
| 585 if (buildCounterMetric < 3) { | 585 if (buildCounterMetric < 3) { |
| 586 o.kind = "foo"; | 586 o.kind = "foo"; |
| 587 o.name = "foo"; | 587 o.name = "foo"; |
| 588 } | 588 } |
| 589 buildCounterMetric--; | 589 buildCounterMetric--; |
| 590 return o; | 590 return o; |
| 591 } | 591 } |
| 592 | 592 |
| 593 checkMetric(api.Metric o) { | 593 checkMetric(api.Metric o) { |
| 594 buildCounterMetric++; | 594 buildCounterMetric++; |
| 595 if (buildCounterMetric < 3) { | 595 if (buildCounterMetric < 3) { |
| 596 unittest.expect(o.kind, unittest.equals('foo')); | 596 unittest.expect(o.kind, unittest.equals('foo')); |
| 597 unittest.expect(o.name, unittest.equals('foo')); | 597 unittest.expect(o.name, unittest.equals('foo')); |
| 598 } | 598 } |
| 599 buildCounterMetric--; | 599 buildCounterMetric--; |
| 600 } | 600 } |
| 601 | 601 |
| 602 buildUnnamed766() { | 602 buildUnnamed185() { |
| 603 var o = new core.List<api.Dimension>(); | 603 var o = new core.List<api.Dimension>(); |
| 604 o.add(buildDimension()); | 604 o.add(buildDimension()); |
| 605 o.add(buildDimension()); | 605 o.add(buildDimension()); |
| 606 return o; | 606 return o; |
| 607 } | 607 } |
| 608 | 608 |
| 609 checkUnnamed766(core.List<api.Dimension> o) { | 609 checkUnnamed185(core.List<api.Dimension> o) { |
| 610 unittest.expect(o, unittest.hasLength(2)); | 610 unittest.expect(o, unittest.hasLength(2)); |
| 611 checkDimension(o[0]); | 611 checkDimension(o[0]); |
| 612 checkDimension(o[1]); | 612 checkDimension(o[1]); |
| 613 } | 613 } |
| 614 | 614 |
| 615 buildUnnamed767() { | 615 buildUnnamed186() { |
| 616 var o = new core.List<api.Dimension>(); | 616 var o = new core.List<api.Dimension>(); |
| 617 o.add(buildDimension()); | 617 o.add(buildDimension()); |
| 618 o.add(buildDimension()); | 618 o.add(buildDimension()); |
| 619 return o; | 619 return o; |
| 620 } | 620 } |
| 621 | 621 |
| 622 checkUnnamed767(core.List<api.Dimension> o) { | 622 checkUnnamed186(core.List<api.Dimension> o) { |
| 623 unittest.expect(o, unittest.hasLength(2)); | 623 unittest.expect(o, unittest.hasLength(2)); |
| 624 checkDimension(o[0]); | 624 checkDimension(o[0]); |
| 625 checkDimension(o[1]); | 625 checkDimension(o[1]); |
| 626 } | 626 } |
| 627 | 627 |
| 628 buildUnnamed768() { | 628 buildUnnamed187() { |
| 629 var o = new core.List<api.Metric>(); | 629 var o = new core.List<api.Metric>(); |
| 630 o.add(buildMetric()); | 630 o.add(buildMetric()); |
| 631 o.add(buildMetric()); | 631 o.add(buildMetric()); |
| 632 return o; | 632 return o; |
| 633 } | 633 } |
| 634 | 634 |
| 635 checkUnnamed768(core.List<api.Metric> o) { | 635 checkUnnamed187(core.List<api.Metric> o) { |
| 636 unittest.expect(o, unittest.hasLength(2)); | 636 unittest.expect(o, unittest.hasLength(2)); |
| 637 checkMetric(o[0]); | 637 checkMetric(o[0]); |
| 638 checkMetric(o[1]); | 638 checkMetric(o[1]); |
| 639 } | 639 } |
| 640 | 640 |
| 641 buildUnnamed769() { | 641 buildUnnamed188() { |
| 642 var o = new core.List<api.Dimension>(); | 642 var o = new core.List<api.Dimension>(); |
| 643 o.add(buildDimension()); | 643 o.add(buildDimension()); |
| 644 o.add(buildDimension()); | 644 o.add(buildDimension()); |
| 645 return o; | 645 return o; |
| 646 } | 646 } |
| 647 | 647 |
| 648 checkUnnamed769(core.List<api.Dimension> o) { | 648 checkUnnamed188(core.List<api.Dimension> o) { |
| 649 unittest.expect(o, unittest.hasLength(2)); | 649 unittest.expect(o, unittest.hasLength(2)); |
| 650 checkDimension(o[0]); | 650 checkDimension(o[0]); |
| 651 checkDimension(o[1]); | 651 checkDimension(o[1]); |
| 652 } | 652 } |
| 653 | 653 |
| 654 core.int buildCounterPathToConversionReportCompatibleFields = 0; | 654 core.int buildCounterPathToConversionReportCompatibleFields = 0; |
| 655 buildPathToConversionReportCompatibleFields() { | 655 buildPathToConversionReportCompatibleFields() { |
| 656 var o = new api.PathToConversionReportCompatibleFields(); | 656 var o = new api.PathToConversionReportCompatibleFields(); |
| 657 buildCounterPathToConversionReportCompatibleFields++; | 657 buildCounterPathToConversionReportCompatibleFields++; |
| 658 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 658 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 659 o.conversionDimensions = buildUnnamed766(); | 659 o.conversionDimensions = buildUnnamed185(); |
| 660 o.customFloodlightVariables = buildUnnamed767(); | 660 o.customFloodlightVariables = buildUnnamed186(); |
| 661 o.kind = "foo"; | 661 o.kind = "foo"; |
| 662 o.metrics = buildUnnamed768(); | 662 o.metrics = buildUnnamed187(); |
| 663 o.perInteractionDimensions = buildUnnamed769(); | 663 o.perInteractionDimensions = buildUnnamed188(); |
| 664 } | 664 } |
| 665 buildCounterPathToConversionReportCompatibleFields--; | 665 buildCounterPathToConversionReportCompatibleFields--; |
| 666 return o; | 666 return o; |
| 667 } | 667 } |
| 668 | 668 |
| 669 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { | 669 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { |
| 670 buildCounterPathToConversionReportCompatibleFields++; | 670 buildCounterPathToConversionReportCompatibleFields++; |
| 671 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 671 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 672 checkUnnamed766(o.conversionDimensions); | 672 checkUnnamed185(o.conversionDimensions); |
| 673 checkUnnamed767(o.customFloodlightVariables); | 673 checkUnnamed186(o.customFloodlightVariables); |
| 674 unittest.expect(o.kind, unittest.equals('foo')); | 674 unittest.expect(o.kind, unittest.equals('foo')); |
| 675 checkUnnamed768(o.metrics); | 675 checkUnnamed187(o.metrics); |
| 676 checkUnnamed769(o.perInteractionDimensions); | 676 checkUnnamed188(o.perInteractionDimensions); |
| 677 } | 677 } |
| 678 buildCounterPathToConversionReportCompatibleFields--; | 678 buildCounterPathToConversionReportCompatibleFields--; |
| 679 } | 679 } |
| 680 | 680 |
| 681 buildUnnamed770() { | 681 buildUnnamed189() { |
| 682 var o = new core.List<api.Dimension>(); | 682 var o = new core.List<api.Dimension>(); |
| 683 o.add(buildDimension()); | 683 o.add(buildDimension()); |
| 684 o.add(buildDimension()); | 684 o.add(buildDimension()); |
| 685 return o; | 685 return o; |
| 686 } | 686 } |
| 687 | 687 |
| 688 checkUnnamed770(core.List<api.Dimension> o) { | 688 checkUnnamed189(core.List<api.Dimension> o) { |
| 689 unittest.expect(o, unittest.hasLength(2)); | 689 unittest.expect(o, unittest.hasLength(2)); |
| 690 checkDimension(o[0]); | 690 checkDimension(o[0]); |
| 691 checkDimension(o[1]); | 691 checkDimension(o[1]); |
| 692 } | 692 } |
| 693 | 693 |
| 694 buildUnnamed771() { | 694 buildUnnamed190() { |
| 695 var o = new core.List<api.Dimension>(); | 695 var o = new core.List<api.Dimension>(); |
| 696 o.add(buildDimension()); | 696 o.add(buildDimension()); |
| 697 o.add(buildDimension()); | 697 o.add(buildDimension()); |
| 698 return o; | 698 return o; |
| 699 } | 699 } |
| 700 | 700 |
| 701 checkUnnamed771(core.List<api.Dimension> o) { | 701 checkUnnamed190(core.List<api.Dimension> o) { |
| 702 unittest.expect(o, unittest.hasLength(2)); | 702 unittest.expect(o, unittest.hasLength(2)); |
| 703 checkDimension(o[0]); | 703 checkDimension(o[0]); |
| 704 checkDimension(o[1]); | 704 checkDimension(o[1]); |
| 705 } | 705 } |
| 706 | 706 |
| 707 buildUnnamed772() { | 707 buildUnnamed191() { |
| 708 var o = new core.List<api.Metric>(); | 708 var o = new core.List<api.Metric>(); |
| 709 o.add(buildMetric()); | 709 o.add(buildMetric()); |
| 710 o.add(buildMetric()); | 710 o.add(buildMetric()); |
| 711 return o; | 711 return o; |
| 712 } | 712 } |
| 713 | 713 |
| 714 checkUnnamed772(core.List<api.Metric> o) { | 714 checkUnnamed191(core.List<api.Metric> o) { |
| 715 unittest.expect(o, unittest.hasLength(2)); | 715 unittest.expect(o, unittest.hasLength(2)); |
| 716 checkMetric(o[0]); | 716 checkMetric(o[0]); |
| 717 checkMetric(o[1]); | 717 checkMetric(o[1]); |
| 718 } | 718 } |
| 719 | 719 |
| 720 buildUnnamed773() { | 720 buildUnnamed192() { |
| 721 var o = new core.List<api.Metric>(); | 721 var o = new core.List<api.Metric>(); |
| 722 o.add(buildMetric()); | 722 o.add(buildMetric()); |
| 723 o.add(buildMetric()); | 723 o.add(buildMetric()); |
| 724 return o; | 724 return o; |
| 725 } | 725 } |
| 726 | 726 |
| 727 checkUnnamed773(core.List<api.Metric> o) { | 727 checkUnnamed192(core.List<api.Metric> o) { |
| 728 unittest.expect(o, unittest.hasLength(2)); | 728 unittest.expect(o, unittest.hasLength(2)); |
| 729 checkMetric(o[0]); | 729 checkMetric(o[0]); |
| 730 checkMetric(o[1]); | 730 checkMetric(o[1]); |
| 731 } | 731 } |
| 732 | 732 |
| 733 buildUnnamed774() { | 733 buildUnnamed193() { |
| 734 var o = new core.List<api.Metric>(); | 734 var o = new core.List<api.Metric>(); |
| 735 o.add(buildMetric()); | 735 o.add(buildMetric()); |
| 736 o.add(buildMetric()); | 736 o.add(buildMetric()); |
| 737 return o; | 737 return o; |
| 738 } | 738 } |
| 739 | 739 |
| 740 checkUnnamed774(core.List<api.Metric> o) { | 740 checkUnnamed193(core.List<api.Metric> o) { |
| 741 unittest.expect(o, unittest.hasLength(2)); | 741 unittest.expect(o, unittest.hasLength(2)); |
| 742 checkMetric(o[0]); | 742 checkMetric(o[0]); |
| 743 checkMetric(o[1]); | 743 checkMetric(o[1]); |
| 744 } | 744 } |
| 745 | 745 |
| 746 core.int buildCounterReachReportCompatibleFields = 0; | 746 core.int buildCounterReachReportCompatibleFields = 0; |
| 747 buildReachReportCompatibleFields() { | 747 buildReachReportCompatibleFields() { |
| 748 var o = new api.ReachReportCompatibleFields(); | 748 var o = new api.ReachReportCompatibleFields(); |
| 749 buildCounterReachReportCompatibleFields++; | 749 buildCounterReachReportCompatibleFields++; |
| 750 if (buildCounterReachReportCompatibleFields < 3) { | 750 if (buildCounterReachReportCompatibleFields < 3) { |
| 751 o.dimensionFilters = buildUnnamed770(); | 751 o.dimensionFilters = buildUnnamed189(); |
| 752 o.dimensions = buildUnnamed771(); | 752 o.dimensions = buildUnnamed190(); |
| 753 o.kind = "foo"; | 753 o.kind = "foo"; |
| 754 o.metrics = buildUnnamed772(); | 754 o.metrics = buildUnnamed191(); |
| 755 o.pivotedActivityMetrics = buildUnnamed773(); | 755 o.pivotedActivityMetrics = buildUnnamed192(); |
| 756 o.reachByFrequencyMetrics = buildUnnamed774(); | 756 o.reachByFrequencyMetrics = buildUnnamed193(); |
| 757 } | 757 } |
| 758 buildCounterReachReportCompatibleFields--; | 758 buildCounterReachReportCompatibleFields--; |
| 759 return o; | 759 return o; |
| 760 } | 760 } |
| 761 | 761 |
| 762 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { | 762 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { |
| 763 buildCounterReachReportCompatibleFields++; | 763 buildCounterReachReportCompatibleFields++; |
| 764 if (buildCounterReachReportCompatibleFields < 3) { | 764 if (buildCounterReachReportCompatibleFields < 3) { |
| 765 checkUnnamed770(o.dimensionFilters); | 765 checkUnnamed189(o.dimensionFilters); |
| 766 checkUnnamed771(o.dimensions); | 766 checkUnnamed190(o.dimensions); |
| 767 unittest.expect(o.kind, unittest.equals('foo')); | 767 unittest.expect(o.kind, unittest.equals('foo')); |
| 768 checkUnnamed772(o.metrics); | 768 checkUnnamed191(o.metrics); |
| 769 checkUnnamed773(o.pivotedActivityMetrics); | 769 checkUnnamed192(o.pivotedActivityMetrics); |
| 770 checkUnnamed774(o.reachByFrequencyMetrics); | 770 checkUnnamed193(o.reachByFrequencyMetrics); |
| 771 } | 771 } |
| 772 buildCounterReachReportCompatibleFields--; | 772 buildCounterReachReportCompatibleFields--; |
| 773 } | 773 } |
| 774 | 774 |
| 775 core.int buildCounterRecipient = 0; | 775 core.int buildCounterRecipient = 0; |
| 776 buildRecipient() { | 776 buildRecipient() { |
| 777 var o = new api.Recipient(); | 777 var o = new api.Recipient(); |
| 778 buildCounterRecipient++; | 778 buildCounterRecipient++; |
| 779 if (buildCounterRecipient < 3) { | 779 if (buildCounterRecipient < 3) { |
| 780 o.deliveryType = "foo"; | 780 o.deliveryType = "foo"; |
| 781 o.email = "foo"; | 781 o.email = "foo"; |
| 782 o.kind = "foo"; | 782 o.kind = "foo"; |
| 783 } | 783 } |
| 784 buildCounterRecipient--; | 784 buildCounterRecipient--; |
| 785 return o; | 785 return o; |
| 786 } | 786 } |
| 787 | 787 |
| 788 checkRecipient(api.Recipient o) { | 788 checkRecipient(api.Recipient o) { |
| 789 buildCounterRecipient++; | 789 buildCounterRecipient++; |
| 790 if (buildCounterRecipient < 3) { | 790 if (buildCounterRecipient < 3) { |
| 791 unittest.expect(o.deliveryType, unittest.equals('foo')); | 791 unittest.expect(o.deliveryType, unittest.equals('foo')); |
| 792 unittest.expect(o.email, unittest.equals('foo')); | 792 unittest.expect(o.email, unittest.equals('foo')); |
| 793 unittest.expect(o.kind, unittest.equals('foo')); | 793 unittest.expect(o.kind, unittest.equals('foo')); |
| 794 } | 794 } |
| 795 buildCounterRecipient--; | 795 buildCounterRecipient--; |
| 796 } | 796 } |
| 797 | 797 |
| 798 buildUnnamed775() { | 798 buildUnnamed194() { |
| 799 var o = new core.List<api.DimensionValue>(); | 799 var o = new core.List<api.DimensionValue>(); |
| 800 o.add(buildDimensionValue()); | 800 o.add(buildDimensionValue()); |
| 801 o.add(buildDimensionValue()); | 801 o.add(buildDimensionValue()); |
| 802 return o; | 802 return o; |
| 803 } | 803 } |
| 804 | 804 |
| 805 checkUnnamed775(core.List<api.DimensionValue> o) { | 805 checkUnnamed194(core.List<api.DimensionValue> o) { |
| 806 unittest.expect(o, unittest.hasLength(2)); | 806 unittest.expect(o, unittest.hasLength(2)); |
| 807 checkDimensionValue(o[0]); | 807 checkDimensionValue(o[0]); |
| 808 checkDimensionValue(o[1]); | 808 checkDimensionValue(o[1]); |
| 809 } | 809 } |
| 810 | 810 |
| 811 buildUnnamed776() { | 811 buildUnnamed195() { |
| 812 var o = new core.List<api.SortedDimension>(); | 812 var o = new core.List<api.SortedDimension>(); |
| 813 o.add(buildSortedDimension()); | 813 o.add(buildSortedDimension()); |
| 814 o.add(buildSortedDimension()); | 814 o.add(buildSortedDimension()); |
| 815 return o; | 815 return o; |
| 816 } | 816 } |
| 817 | 817 |
| 818 checkUnnamed776(core.List<api.SortedDimension> o) { | 818 checkUnnamed195(core.List<api.SortedDimension> o) { |
| 819 unittest.expect(o, unittest.hasLength(2)); | 819 unittest.expect(o, unittest.hasLength(2)); |
| 820 checkSortedDimension(o[0]); | 820 checkSortedDimension(o[0]); |
| 821 checkSortedDimension(o[1]); | 821 checkSortedDimension(o[1]); |
| 822 } | 822 } |
| 823 | 823 |
| 824 buildUnnamed777() { | 824 buildUnnamed196() { |
| 825 var o = new core.List<core.String>(); | 825 var o = new core.List<core.String>(); |
| 826 o.add("foo"); | 826 o.add("foo"); |
| 827 o.add("foo"); | 827 o.add("foo"); |
| 828 return o; | 828 return o; |
| 829 } | 829 } |
| 830 | 830 |
| 831 checkUnnamed777(core.List<core.String> o) { | 831 checkUnnamed196(core.List<core.String> o) { |
| 832 unittest.expect(o, unittest.hasLength(2)); | 832 unittest.expect(o, unittest.hasLength(2)); |
| 833 unittest.expect(o[0], unittest.equals('foo')); | 833 unittest.expect(o[0], unittest.equals('foo')); |
| 834 unittest.expect(o[1], unittest.equals('foo')); | 834 unittest.expect(o[1], unittest.equals('foo')); |
| 835 } | 835 } |
| 836 | 836 |
| 837 core.int buildCounterReportActiveGrpCriteria = 0; | 837 core.int buildCounterReportActiveGrpCriteria = 0; |
| 838 buildReportActiveGrpCriteria() { | 838 buildReportActiveGrpCriteria() { |
| 839 var o = new api.ReportActiveGrpCriteria(); | 839 var o = new api.ReportActiveGrpCriteria(); |
| 840 buildCounterReportActiveGrpCriteria++; | 840 buildCounterReportActiveGrpCriteria++; |
| 841 if (buildCounterReportActiveGrpCriteria < 3) { | 841 if (buildCounterReportActiveGrpCriteria < 3) { |
| 842 o.dateRange = buildDateRange(); | 842 o.dateRange = buildDateRange(); |
| 843 o.dimensionFilters = buildUnnamed775(); | 843 o.dimensionFilters = buildUnnamed194(); |
| 844 o.dimensions = buildUnnamed776(); | 844 o.dimensions = buildUnnamed195(); |
| 845 o.metricNames = buildUnnamed777(); | 845 o.metricNames = buildUnnamed196(); |
| 846 } | 846 } |
| 847 buildCounterReportActiveGrpCriteria--; | 847 buildCounterReportActiveGrpCriteria--; |
| 848 return o; | 848 return o; |
| 849 } | 849 } |
| 850 | 850 |
| 851 checkReportActiveGrpCriteria(api.ReportActiveGrpCriteria o) { | 851 checkReportActiveGrpCriteria(api.ReportActiveGrpCriteria o) { |
| 852 buildCounterReportActiveGrpCriteria++; | 852 buildCounterReportActiveGrpCriteria++; |
| 853 if (buildCounterReportActiveGrpCriteria < 3) { | 853 if (buildCounterReportActiveGrpCriteria < 3) { |
| 854 checkDateRange(o.dateRange); | 854 checkDateRange(o.dateRange); |
| 855 checkUnnamed775(o.dimensionFilters); | 855 checkUnnamed194(o.dimensionFilters); |
| 856 checkUnnamed776(o.dimensions); | 856 checkUnnamed195(o.dimensions); |
| 857 checkUnnamed777(o.metricNames); | 857 checkUnnamed196(o.metricNames); |
| 858 } | 858 } |
| 859 buildCounterReportActiveGrpCriteria--; | 859 buildCounterReportActiveGrpCriteria--; |
| 860 } | 860 } |
| 861 | 861 |
| 862 buildUnnamed778() { | 862 buildUnnamed197() { |
| 863 var o = new core.List<api.DimensionValue>(); | 863 var o = new core.List<api.DimensionValue>(); |
| 864 o.add(buildDimensionValue()); | 864 o.add(buildDimensionValue()); |
| 865 o.add(buildDimensionValue()); | 865 o.add(buildDimensionValue()); |
| 866 return o; | 866 return o; |
| 867 } | 867 } |
| 868 | 868 |
| 869 checkUnnamed778(core.List<api.DimensionValue> o) { | 869 checkUnnamed197(core.List<api.DimensionValue> o) { |
| 870 unittest.expect(o, unittest.hasLength(2)); | 870 unittest.expect(o, unittest.hasLength(2)); |
| 871 checkDimensionValue(o[0]); | 871 checkDimensionValue(o[0]); |
| 872 checkDimensionValue(o[1]); | 872 checkDimensionValue(o[1]); |
| 873 } | 873 } |
| 874 | 874 |
| 875 buildUnnamed779() { | 875 buildUnnamed198() { |
| 876 var o = new core.List<api.SortedDimension>(); | 876 var o = new core.List<api.SortedDimension>(); |
| 877 o.add(buildSortedDimension()); | 877 o.add(buildSortedDimension()); |
| 878 o.add(buildSortedDimension()); | 878 o.add(buildSortedDimension()); |
| 879 return o; | 879 return o; |
| 880 } | 880 } |
| 881 | 881 |
| 882 checkUnnamed779(core.List<api.SortedDimension> o) { | 882 checkUnnamed198(core.List<api.SortedDimension> o) { |
| 883 unittest.expect(o, unittest.hasLength(2)); | 883 unittest.expect(o, unittest.hasLength(2)); |
| 884 checkSortedDimension(o[0]); | 884 checkSortedDimension(o[0]); |
| 885 checkSortedDimension(o[1]); | 885 checkSortedDimension(o[1]); |
| 886 } | 886 } |
| 887 | 887 |
| 888 buildUnnamed780() { | 888 buildUnnamed199() { |
| 889 var o = new core.List<core.String>(); | 889 var o = new core.List<core.String>(); |
| 890 o.add("foo"); | 890 o.add("foo"); |
| 891 o.add("foo"); | 891 o.add("foo"); |
| 892 return o; | 892 return o; |
| 893 } | 893 } |
| 894 | 894 |
| 895 checkUnnamed780(core.List<core.String> o) { | 895 checkUnnamed199(core.List<core.String> o) { |
| 896 unittest.expect(o, unittest.hasLength(2)); | 896 unittest.expect(o, unittest.hasLength(2)); |
| 897 unittest.expect(o[0], unittest.equals('foo')); | 897 unittest.expect(o[0], unittest.equals('foo')); |
| 898 unittest.expect(o[1], unittest.equals('foo')); | 898 unittest.expect(o[1], unittest.equals('foo')); |
| 899 } | 899 } |
| 900 | 900 |
| 901 core.int buildCounterReportCriteria = 0; | 901 core.int buildCounterReportCriteria = 0; |
| 902 buildReportCriteria() { | 902 buildReportCriteria() { |
| 903 var o = new api.ReportCriteria(); | 903 var o = new api.ReportCriteria(); |
| 904 buildCounterReportCriteria++; | 904 buildCounterReportCriteria++; |
| 905 if (buildCounterReportCriteria < 3) { | 905 if (buildCounterReportCriteria < 3) { |
| 906 o.activities = buildActivities(); | 906 o.activities = buildActivities(); |
| 907 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 907 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 908 o.dateRange = buildDateRange(); | 908 o.dateRange = buildDateRange(); |
| 909 o.dimensionFilters = buildUnnamed778(); | 909 o.dimensionFilters = buildUnnamed197(); |
| 910 o.dimensions = buildUnnamed779(); | 910 o.dimensions = buildUnnamed198(); |
| 911 o.metricNames = buildUnnamed780(); | 911 o.metricNames = buildUnnamed199(); |
| 912 } | 912 } |
| 913 buildCounterReportCriteria--; | 913 buildCounterReportCriteria--; |
| 914 return o; | 914 return o; |
| 915 } | 915 } |
| 916 | 916 |
| 917 checkReportCriteria(api.ReportCriteria o) { | 917 checkReportCriteria(api.ReportCriteria o) { |
| 918 buildCounterReportCriteria++; | 918 buildCounterReportCriteria++; |
| 919 if (buildCounterReportCriteria < 3) { | 919 if (buildCounterReportCriteria < 3) { |
| 920 checkActivities(o.activities); | 920 checkActivities(o.activities); |
| 921 checkCustomRichMediaEvents(o.customRichMediaEvents); | 921 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 922 checkDateRange(o.dateRange); | 922 checkDateRange(o.dateRange); |
| 923 checkUnnamed778(o.dimensionFilters); | 923 checkUnnamed197(o.dimensionFilters); |
| 924 checkUnnamed779(o.dimensions); | 924 checkUnnamed198(o.dimensions); |
| 925 checkUnnamed780(o.metricNames); | 925 checkUnnamed199(o.metricNames); |
| 926 } | 926 } |
| 927 buildCounterReportCriteria--; | 927 buildCounterReportCriteria--; |
| 928 } | 928 } |
| 929 | 929 |
| 930 buildUnnamed781() { | 930 buildUnnamed200() { |
| 931 var o = new core.List<api.SortedDimension>(); | 931 var o = new core.List<api.SortedDimension>(); |
| 932 o.add(buildSortedDimension()); | 932 o.add(buildSortedDimension()); |
| 933 o.add(buildSortedDimension()); | 933 o.add(buildSortedDimension()); |
| 934 return o; | 934 return o; |
| 935 } | 935 } |
| 936 | 936 |
| 937 checkUnnamed781(core.List<api.SortedDimension> o) { | 937 checkUnnamed200(core.List<api.SortedDimension> o) { |
| 938 unittest.expect(o, unittest.hasLength(2)); | 938 unittest.expect(o, unittest.hasLength(2)); |
| 939 checkSortedDimension(o[0]); | 939 checkSortedDimension(o[0]); |
| 940 checkSortedDimension(o[1]); | 940 checkSortedDimension(o[1]); |
| 941 } | 941 } |
| 942 | 942 |
| 943 buildUnnamed782() { | 943 buildUnnamed201() { |
| 944 var o = new core.List<api.DimensionValue>(); | 944 var o = new core.List<api.DimensionValue>(); |
| 945 o.add(buildDimensionValue()); | 945 o.add(buildDimensionValue()); |
| 946 o.add(buildDimensionValue()); | 946 o.add(buildDimensionValue()); |
| 947 return o; | 947 return o; |
| 948 } | 948 } |
| 949 | 949 |
| 950 checkUnnamed782(core.List<api.DimensionValue> o) { | 950 checkUnnamed201(core.List<api.DimensionValue> o) { |
| 951 unittest.expect(o, unittest.hasLength(2)); | 951 unittest.expect(o, unittest.hasLength(2)); |
| 952 checkDimensionValue(o[0]); | 952 checkDimensionValue(o[0]); |
| 953 checkDimensionValue(o[1]); | 953 checkDimensionValue(o[1]); |
| 954 } | 954 } |
| 955 | 955 |
| 956 buildUnnamed783() { | 956 buildUnnamed202() { |
| 957 var o = new core.List<core.String>(); | 957 var o = new core.List<core.String>(); |
| 958 o.add("foo"); | 958 o.add("foo"); |
| 959 o.add("foo"); | 959 o.add("foo"); |
| 960 return o; | 960 return o; |
| 961 } | 961 } |
| 962 | 962 |
| 963 checkUnnamed783(core.List<core.String> o) { | 963 checkUnnamed202(core.List<core.String> o) { |
| 964 unittest.expect(o, unittest.hasLength(2)); | 964 unittest.expect(o, unittest.hasLength(2)); |
| 965 unittest.expect(o[0], unittest.equals('foo')); | 965 unittest.expect(o[0], unittest.equals('foo')); |
| 966 unittest.expect(o[1], unittest.equals('foo')); | 966 unittest.expect(o[1], unittest.equals('foo')); |
| 967 } | 967 } |
| 968 | 968 |
| 969 buildUnnamed784() { | 969 buildUnnamed203() { |
| 970 var o = new core.List<core.String>(); | 970 var o = new core.List<core.String>(); |
| 971 o.add("foo"); | 971 o.add("foo"); |
| 972 o.add("foo"); | 972 o.add("foo"); |
| 973 return o; | 973 return o; |
| 974 } | 974 } |
| 975 | 975 |
| 976 checkUnnamed784(core.List<core.String> o) { | 976 checkUnnamed203(core.List<core.String> o) { |
| 977 unittest.expect(o, unittest.hasLength(2)); | 977 unittest.expect(o, unittest.hasLength(2)); |
| 978 unittest.expect(o[0], unittest.equals('foo')); | 978 unittest.expect(o[0], unittest.equals('foo')); |
| 979 unittest.expect(o[1], unittest.equals('foo')); | 979 unittest.expect(o[1], unittest.equals('foo')); |
| 980 } | 980 } |
| 981 | 981 |
| 982 core.int buildCounterReportCrossDimensionReachCriteria = 0; | 982 core.int buildCounterReportCrossDimensionReachCriteria = 0; |
| 983 buildReportCrossDimensionReachCriteria() { | 983 buildReportCrossDimensionReachCriteria() { |
| 984 var o = new api.ReportCrossDimensionReachCriteria(); | 984 var o = new api.ReportCrossDimensionReachCriteria(); |
| 985 buildCounterReportCrossDimensionReachCriteria++; | 985 buildCounterReportCrossDimensionReachCriteria++; |
| 986 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 986 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 987 o.breakdown = buildUnnamed781(); | 987 o.breakdown = buildUnnamed200(); |
| 988 o.dateRange = buildDateRange(); | 988 o.dateRange = buildDateRange(); |
| 989 o.dimension = "foo"; | 989 o.dimension = "foo"; |
| 990 o.dimensionFilters = buildUnnamed782(); | 990 o.dimensionFilters = buildUnnamed201(); |
| 991 o.metricNames = buildUnnamed783(); | 991 o.metricNames = buildUnnamed202(); |
| 992 o.overlapMetricNames = buildUnnamed784(); | 992 o.overlapMetricNames = buildUnnamed203(); |
| 993 o.pivoted = true; | 993 o.pivoted = true; |
| 994 } | 994 } |
| 995 buildCounterReportCrossDimensionReachCriteria--; | 995 buildCounterReportCrossDimensionReachCriteria--; |
| 996 return o; | 996 return o; |
| 997 } | 997 } |
| 998 | 998 |
| 999 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ | 999 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ |
| 1000 buildCounterReportCrossDimensionReachCriteria++; | 1000 buildCounterReportCrossDimensionReachCriteria++; |
| 1001 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 1001 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 1002 checkUnnamed781(o.breakdown); | 1002 checkUnnamed200(o.breakdown); |
| 1003 checkDateRange(o.dateRange); | 1003 checkDateRange(o.dateRange); |
| 1004 unittest.expect(o.dimension, unittest.equals('foo')); | 1004 unittest.expect(o.dimension, unittest.equals('foo')); |
| 1005 checkUnnamed782(o.dimensionFilters); | 1005 checkUnnamed201(o.dimensionFilters); |
| 1006 checkUnnamed783(o.metricNames); | 1006 checkUnnamed202(o.metricNames); |
| 1007 checkUnnamed784(o.overlapMetricNames); | 1007 checkUnnamed203(o.overlapMetricNames); |
| 1008 unittest.expect(o.pivoted, unittest.isTrue); | 1008 unittest.expect(o.pivoted, unittest.isTrue); |
| 1009 } | 1009 } |
| 1010 buildCounterReportCrossDimensionReachCriteria--; | 1010 buildCounterReportCrossDimensionReachCriteria--; |
| 1011 } | 1011 } |
| 1012 | 1012 |
| 1013 buildUnnamed785() { | 1013 buildUnnamed204() { |
| 1014 var o = new core.List<api.Recipient>(); | 1014 var o = new core.List<api.Recipient>(); |
| 1015 o.add(buildRecipient()); | 1015 o.add(buildRecipient()); |
| 1016 o.add(buildRecipient()); | 1016 o.add(buildRecipient()); |
| 1017 return o; | 1017 return o; |
| 1018 } | 1018 } |
| 1019 | 1019 |
| 1020 checkUnnamed785(core.List<api.Recipient> o) { | 1020 checkUnnamed204(core.List<api.Recipient> o) { |
| 1021 unittest.expect(o, unittest.hasLength(2)); | 1021 unittest.expect(o, unittest.hasLength(2)); |
| 1022 checkRecipient(o[0]); | 1022 checkRecipient(o[0]); |
| 1023 checkRecipient(o[1]); | 1023 checkRecipient(o[1]); |
| 1024 } | 1024 } |
| 1025 | 1025 |
| 1026 core.int buildCounterReportDelivery = 0; | 1026 core.int buildCounterReportDelivery = 0; |
| 1027 buildReportDelivery() { | 1027 buildReportDelivery() { |
| 1028 var o = new api.ReportDelivery(); | 1028 var o = new api.ReportDelivery(); |
| 1029 buildCounterReportDelivery++; | 1029 buildCounterReportDelivery++; |
| 1030 if (buildCounterReportDelivery < 3) { | 1030 if (buildCounterReportDelivery < 3) { |
| 1031 o.emailOwner = true; | 1031 o.emailOwner = true; |
| 1032 o.emailOwnerDeliveryType = "foo"; | 1032 o.emailOwnerDeliveryType = "foo"; |
| 1033 o.message = "foo"; | 1033 o.message = "foo"; |
| 1034 o.recipients = buildUnnamed785(); | 1034 o.recipients = buildUnnamed204(); |
| 1035 } | 1035 } |
| 1036 buildCounterReportDelivery--; | 1036 buildCounterReportDelivery--; |
| 1037 return o; | 1037 return o; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 checkReportDelivery(api.ReportDelivery o) { | 1040 checkReportDelivery(api.ReportDelivery o) { |
| 1041 buildCounterReportDelivery++; | 1041 buildCounterReportDelivery++; |
| 1042 if (buildCounterReportDelivery < 3) { | 1042 if (buildCounterReportDelivery < 3) { |
| 1043 unittest.expect(o.emailOwner, unittest.isTrue); | 1043 unittest.expect(o.emailOwner, unittest.isTrue); |
| 1044 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); | 1044 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); |
| 1045 unittest.expect(o.message, unittest.equals('foo')); | 1045 unittest.expect(o.message, unittest.equals('foo')); |
| 1046 checkUnnamed785(o.recipients); | 1046 checkUnnamed204(o.recipients); |
| 1047 } | 1047 } |
| 1048 buildCounterReportDelivery--; | 1048 buildCounterReportDelivery--; |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 buildUnnamed786() { | 1051 buildUnnamed205() { |
| 1052 var o = new core.List<api.DimensionValue>(); | 1052 var o = new core.List<api.DimensionValue>(); |
| 1053 o.add(buildDimensionValue()); | 1053 o.add(buildDimensionValue()); |
| 1054 o.add(buildDimensionValue()); | 1054 o.add(buildDimensionValue()); |
| 1055 return o; | 1055 return o; |
| 1056 } | 1056 } |
| 1057 | 1057 |
| 1058 checkUnnamed786(core.List<api.DimensionValue> o) { | 1058 checkUnnamed205(core.List<api.DimensionValue> o) { |
| 1059 unittest.expect(o, unittest.hasLength(2)); | 1059 unittest.expect(o, unittest.hasLength(2)); |
| 1060 checkDimensionValue(o[0]); | 1060 checkDimensionValue(o[0]); |
| 1061 checkDimensionValue(o[1]); | 1061 checkDimensionValue(o[1]); |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 buildUnnamed787() { | 1064 buildUnnamed206() { |
| 1065 var o = new core.List<api.DimensionValue>(); | 1065 var o = new core.List<api.DimensionValue>(); |
| 1066 o.add(buildDimensionValue()); | 1066 o.add(buildDimensionValue()); |
| 1067 o.add(buildDimensionValue()); | 1067 o.add(buildDimensionValue()); |
| 1068 return o; | 1068 return o; |
| 1069 } | 1069 } |
| 1070 | 1070 |
| 1071 checkUnnamed787(core.List<api.DimensionValue> o) { | 1071 checkUnnamed206(core.List<api.DimensionValue> o) { |
| 1072 unittest.expect(o, unittest.hasLength(2)); | 1072 unittest.expect(o, unittest.hasLength(2)); |
| 1073 checkDimensionValue(o[0]); | 1073 checkDimensionValue(o[0]); |
| 1074 checkDimensionValue(o[1]); | 1074 checkDimensionValue(o[1]); |
| 1075 } | 1075 } |
| 1076 | 1076 |
| 1077 buildUnnamed788() { | 1077 buildUnnamed207() { |
| 1078 var o = new core.List<api.SortedDimension>(); | 1078 var o = new core.List<api.SortedDimension>(); |
| 1079 o.add(buildSortedDimension()); | 1079 o.add(buildSortedDimension()); |
| 1080 o.add(buildSortedDimension()); | 1080 o.add(buildSortedDimension()); |
| 1081 return o; | 1081 return o; |
| 1082 } | 1082 } |
| 1083 | 1083 |
| 1084 checkUnnamed788(core.List<api.SortedDimension> o) { | 1084 checkUnnamed207(core.List<api.SortedDimension> o) { |
| 1085 unittest.expect(o, unittest.hasLength(2)); | 1085 unittest.expect(o, unittest.hasLength(2)); |
| 1086 checkSortedDimension(o[0]); | 1086 checkSortedDimension(o[0]); |
| 1087 checkSortedDimension(o[1]); | 1087 checkSortedDimension(o[1]); |
| 1088 } | 1088 } |
| 1089 | 1089 |
| 1090 buildUnnamed789() { | 1090 buildUnnamed208() { |
| 1091 var o = new core.List<core.String>(); | 1091 var o = new core.List<core.String>(); |
| 1092 o.add("foo"); | 1092 o.add("foo"); |
| 1093 o.add("foo"); | 1093 o.add("foo"); |
| 1094 return o; | 1094 return o; |
| 1095 } | 1095 } |
| 1096 | 1096 |
| 1097 checkUnnamed789(core.List<core.String> o) { | 1097 checkUnnamed208(core.List<core.String> o) { |
| 1098 unittest.expect(o, unittest.hasLength(2)); | 1098 unittest.expect(o, unittest.hasLength(2)); |
| 1099 unittest.expect(o[0], unittest.equals('foo')); | 1099 unittest.expect(o[0], unittest.equals('foo')); |
| 1100 unittest.expect(o[1], unittest.equals('foo')); | 1100 unittest.expect(o[1], unittest.equals('foo')); |
| 1101 } | 1101 } |
| 1102 | 1102 |
| 1103 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; | 1103 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; |
| 1104 buildReportFloodlightCriteriaReportProperties() { | 1104 buildReportFloodlightCriteriaReportProperties() { |
| 1105 var o = new api.ReportFloodlightCriteriaReportProperties(); | 1105 var o = new api.ReportFloodlightCriteriaReportProperties(); |
| 1106 buildCounterReportFloodlightCriteriaReportProperties++; | 1106 buildCounterReportFloodlightCriteriaReportProperties++; |
| 1107 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { | 1107 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1121 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); | 1121 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); |
| 1122 } | 1122 } |
| 1123 buildCounterReportFloodlightCriteriaReportProperties--; | 1123 buildCounterReportFloodlightCriteriaReportProperties--; |
| 1124 } | 1124 } |
| 1125 | 1125 |
| 1126 core.int buildCounterReportFloodlightCriteria = 0; | 1126 core.int buildCounterReportFloodlightCriteria = 0; |
| 1127 buildReportFloodlightCriteria() { | 1127 buildReportFloodlightCriteria() { |
| 1128 var o = new api.ReportFloodlightCriteria(); | 1128 var o = new api.ReportFloodlightCriteria(); |
| 1129 buildCounterReportFloodlightCriteria++; | 1129 buildCounterReportFloodlightCriteria++; |
| 1130 if (buildCounterReportFloodlightCriteria < 3) { | 1130 if (buildCounterReportFloodlightCriteria < 3) { |
| 1131 o.customRichMediaEvents = buildUnnamed786(); | 1131 o.customRichMediaEvents = buildUnnamed205(); |
| 1132 o.dateRange = buildDateRange(); | 1132 o.dateRange = buildDateRange(); |
| 1133 o.dimensionFilters = buildUnnamed787(); | 1133 o.dimensionFilters = buildUnnamed206(); |
| 1134 o.dimensions = buildUnnamed788(); | 1134 o.dimensions = buildUnnamed207(); |
| 1135 o.floodlightConfigId = buildDimensionValue(); | 1135 o.floodlightConfigId = buildDimensionValue(); |
| 1136 o.metricNames = buildUnnamed789(); | 1136 o.metricNames = buildUnnamed208(); |
| 1137 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); | 1137 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); |
| 1138 } | 1138 } |
| 1139 buildCounterReportFloodlightCriteria--; | 1139 buildCounterReportFloodlightCriteria--; |
| 1140 return o; | 1140 return o; |
| 1141 } | 1141 } |
| 1142 | 1142 |
| 1143 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { | 1143 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { |
| 1144 buildCounterReportFloodlightCriteria++; | 1144 buildCounterReportFloodlightCriteria++; |
| 1145 if (buildCounterReportFloodlightCriteria < 3) { | 1145 if (buildCounterReportFloodlightCriteria < 3) { |
| 1146 checkUnnamed786(o.customRichMediaEvents); | 1146 checkUnnamed205(o.customRichMediaEvents); |
| 1147 checkDateRange(o.dateRange); | 1147 checkDateRange(o.dateRange); |
| 1148 checkUnnamed787(o.dimensionFilters); | 1148 checkUnnamed206(o.dimensionFilters); |
| 1149 checkUnnamed788(o.dimensions); | 1149 checkUnnamed207(o.dimensions); |
| 1150 checkDimensionValue(o.floodlightConfigId); | 1150 checkDimensionValue(o.floodlightConfigId); |
| 1151 checkUnnamed789(o.metricNames); | 1151 checkUnnamed208(o.metricNames); |
| 1152 checkReportFloodlightCriteriaReportProperties(o.reportProperties); | 1152 checkReportFloodlightCriteriaReportProperties(o.reportProperties); |
| 1153 } | 1153 } |
| 1154 buildCounterReportFloodlightCriteria--; | 1154 buildCounterReportFloodlightCriteria--; |
| 1155 } | 1155 } |
| 1156 | 1156 |
| 1157 buildUnnamed790() { | 1157 buildUnnamed209() { |
| 1158 var o = new core.List<api.DimensionValue>(); | 1158 var o = new core.List<api.DimensionValue>(); |
| 1159 o.add(buildDimensionValue()); | 1159 o.add(buildDimensionValue()); |
| 1160 o.add(buildDimensionValue()); | 1160 o.add(buildDimensionValue()); |
| 1161 return o; | 1161 return o; |
| 1162 } | 1162 } |
| 1163 | 1163 |
| 1164 checkUnnamed790(core.List<api.DimensionValue> o) { | 1164 checkUnnamed209(core.List<api.DimensionValue> o) { |
| 1165 unittest.expect(o, unittest.hasLength(2)); | 1165 unittest.expect(o, unittest.hasLength(2)); |
| 1166 checkDimensionValue(o[0]); | 1166 checkDimensionValue(o[0]); |
| 1167 checkDimensionValue(o[1]); | 1167 checkDimensionValue(o[1]); |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 buildUnnamed791() { | 1170 buildUnnamed210() { |
| 1171 var o = new core.List<api.SortedDimension>(); | 1171 var o = new core.List<api.SortedDimension>(); |
| 1172 o.add(buildSortedDimension()); | 1172 o.add(buildSortedDimension()); |
| 1173 o.add(buildSortedDimension()); | 1173 o.add(buildSortedDimension()); |
| 1174 return o; | 1174 return o; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 checkUnnamed791(core.List<api.SortedDimension> o) { | 1177 checkUnnamed210(core.List<api.SortedDimension> o) { |
| 1178 unittest.expect(o, unittest.hasLength(2)); | 1178 unittest.expect(o, unittest.hasLength(2)); |
| 1179 checkSortedDimension(o[0]); | 1179 checkSortedDimension(o[0]); |
| 1180 checkSortedDimension(o[1]); | 1180 checkSortedDimension(o[1]); |
| 1181 } | 1181 } |
| 1182 | 1182 |
| 1183 buildUnnamed792() { | 1183 buildUnnamed211() { |
| 1184 var o = new core.List<api.SortedDimension>(); | 1184 var o = new core.List<api.SortedDimension>(); |
| 1185 o.add(buildSortedDimension()); | 1185 o.add(buildSortedDimension()); |
| 1186 o.add(buildSortedDimension()); | 1186 o.add(buildSortedDimension()); |
| 1187 return o; | 1187 return o; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 checkUnnamed792(core.List<api.SortedDimension> o) { | 1190 checkUnnamed211(core.List<api.SortedDimension> o) { |
| 1191 unittest.expect(o, unittest.hasLength(2)); | 1191 unittest.expect(o, unittest.hasLength(2)); |
| 1192 checkSortedDimension(o[0]); | 1192 checkSortedDimension(o[0]); |
| 1193 checkSortedDimension(o[1]); | 1193 checkSortedDimension(o[1]); |
| 1194 } | 1194 } |
| 1195 | 1195 |
| 1196 buildUnnamed793() { | 1196 buildUnnamed212() { |
| 1197 var o = new core.List<api.DimensionValue>(); | 1197 var o = new core.List<api.DimensionValue>(); |
| 1198 o.add(buildDimensionValue()); | 1198 o.add(buildDimensionValue()); |
| 1199 o.add(buildDimensionValue()); | 1199 o.add(buildDimensionValue()); |
| 1200 return o; | 1200 return o; |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 checkUnnamed793(core.List<api.DimensionValue> o) { | 1203 checkUnnamed212(core.List<api.DimensionValue> o) { |
| 1204 unittest.expect(o, unittest.hasLength(2)); | 1204 unittest.expect(o, unittest.hasLength(2)); |
| 1205 checkDimensionValue(o[0]); | 1205 checkDimensionValue(o[0]); |
| 1206 checkDimensionValue(o[1]); | 1206 checkDimensionValue(o[1]); |
| 1207 } | 1207 } |
| 1208 | 1208 |
| 1209 buildUnnamed794() { | 1209 buildUnnamed213() { |
| 1210 var o = new core.List<core.String>(); | 1210 var o = new core.List<core.String>(); |
| 1211 o.add("foo"); | 1211 o.add("foo"); |
| 1212 o.add("foo"); | 1212 o.add("foo"); |
| 1213 return o; | 1213 return o; |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 checkUnnamed794(core.List<core.String> o) { | 1216 checkUnnamed213(core.List<core.String> o) { |
| 1217 unittest.expect(o, unittest.hasLength(2)); | 1217 unittest.expect(o, unittest.hasLength(2)); |
| 1218 unittest.expect(o[0], unittest.equals('foo')); | 1218 unittest.expect(o[0], unittest.equals('foo')); |
| 1219 unittest.expect(o[1], unittest.equals('foo')); | 1219 unittest.expect(o[1], unittest.equals('foo')); |
| 1220 } | 1220 } |
| 1221 | 1221 |
| 1222 buildUnnamed795() { | 1222 buildUnnamed214() { |
| 1223 var o = new core.List<api.SortedDimension>(); | 1223 var o = new core.List<api.SortedDimension>(); |
| 1224 o.add(buildSortedDimension()); | 1224 o.add(buildSortedDimension()); |
| 1225 o.add(buildSortedDimension()); | 1225 o.add(buildSortedDimension()); |
| 1226 return o; | 1226 return o; |
| 1227 } | 1227 } |
| 1228 | 1228 |
| 1229 checkUnnamed795(core.List<api.SortedDimension> o) { | 1229 checkUnnamed214(core.List<api.SortedDimension> o) { |
| 1230 unittest.expect(o, unittest.hasLength(2)); | 1230 unittest.expect(o, unittest.hasLength(2)); |
| 1231 checkSortedDimension(o[0]); | 1231 checkSortedDimension(o[0]); |
| 1232 checkSortedDimension(o[1]); | 1232 checkSortedDimension(o[1]); |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; | 1235 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; |
| 1236 buildReportPathToConversionCriteriaReportProperties() { | 1236 buildReportPathToConversionCriteriaReportProperties() { |
| 1237 var o = new api.ReportPathToConversionCriteriaReportProperties(); | 1237 var o = new api.ReportPathToConversionCriteriaReportProperties(); |
| 1238 buildCounterReportPathToConversionCriteriaReportProperties++; | 1238 buildCounterReportPathToConversionCriteriaReportProperties++; |
| 1239 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { | 1239 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1265 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); | 1265 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); |
| 1266 } | 1266 } |
| 1267 buildCounterReportPathToConversionCriteriaReportProperties--; | 1267 buildCounterReportPathToConversionCriteriaReportProperties--; |
| 1268 } | 1268 } |
| 1269 | 1269 |
| 1270 core.int buildCounterReportPathToConversionCriteria = 0; | 1270 core.int buildCounterReportPathToConversionCriteria = 0; |
| 1271 buildReportPathToConversionCriteria() { | 1271 buildReportPathToConversionCriteria() { |
| 1272 var o = new api.ReportPathToConversionCriteria(); | 1272 var o = new api.ReportPathToConversionCriteria(); |
| 1273 buildCounterReportPathToConversionCriteria++; | 1273 buildCounterReportPathToConversionCriteria++; |
| 1274 if (buildCounterReportPathToConversionCriteria < 3) { | 1274 if (buildCounterReportPathToConversionCriteria < 3) { |
| 1275 o.activityFilters = buildUnnamed790(); | 1275 o.activityFilters = buildUnnamed209(); |
| 1276 o.conversionDimensions = buildUnnamed791(); | 1276 o.conversionDimensions = buildUnnamed210(); |
| 1277 o.customFloodlightVariables = buildUnnamed792(); | 1277 o.customFloodlightVariables = buildUnnamed211(); |
| 1278 o.customRichMediaEvents = buildUnnamed793(); | 1278 o.customRichMediaEvents = buildUnnamed212(); |
| 1279 o.dateRange = buildDateRange(); | 1279 o.dateRange = buildDateRange(); |
| 1280 o.floodlightConfigId = buildDimensionValue(); | 1280 o.floodlightConfigId = buildDimensionValue(); |
| 1281 o.metricNames = buildUnnamed794(); | 1281 o.metricNames = buildUnnamed213(); |
| 1282 o.perInteractionDimensions = buildUnnamed795(); | 1282 o.perInteractionDimensions = buildUnnamed214(); |
| 1283 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); | 1283 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); |
| 1284 } | 1284 } |
| 1285 buildCounterReportPathToConversionCriteria--; | 1285 buildCounterReportPathToConversionCriteria--; |
| 1286 return o; | 1286 return o; |
| 1287 } | 1287 } |
| 1288 | 1288 |
| 1289 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { | 1289 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { |
| 1290 buildCounterReportPathToConversionCriteria++; | 1290 buildCounterReportPathToConversionCriteria++; |
| 1291 if (buildCounterReportPathToConversionCriteria < 3) { | 1291 if (buildCounterReportPathToConversionCriteria < 3) { |
| 1292 checkUnnamed790(o.activityFilters); | 1292 checkUnnamed209(o.activityFilters); |
| 1293 checkUnnamed791(o.conversionDimensions); | 1293 checkUnnamed210(o.conversionDimensions); |
| 1294 checkUnnamed792(o.customFloodlightVariables); | 1294 checkUnnamed211(o.customFloodlightVariables); |
| 1295 checkUnnamed793(o.customRichMediaEvents); | 1295 checkUnnamed212(o.customRichMediaEvents); |
| 1296 checkDateRange(o.dateRange); | 1296 checkDateRange(o.dateRange); |
| 1297 checkDimensionValue(o.floodlightConfigId); | 1297 checkDimensionValue(o.floodlightConfigId); |
| 1298 checkUnnamed794(o.metricNames); | 1298 checkUnnamed213(o.metricNames); |
| 1299 checkUnnamed795(o.perInteractionDimensions); | 1299 checkUnnamed214(o.perInteractionDimensions); |
| 1300 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); | 1300 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); |
| 1301 } | 1301 } |
| 1302 buildCounterReportPathToConversionCriteria--; | 1302 buildCounterReportPathToConversionCriteria--; |
| 1303 } | 1303 } |
| 1304 | 1304 |
| 1305 buildUnnamed796() { | 1305 buildUnnamed215() { |
| 1306 var o = new core.List<api.DimensionValue>(); | 1306 var o = new core.List<api.DimensionValue>(); |
| 1307 o.add(buildDimensionValue()); | 1307 o.add(buildDimensionValue()); |
| 1308 o.add(buildDimensionValue()); | 1308 o.add(buildDimensionValue()); |
| 1309 return o; | 1309 return o; |
| 1310 } | 1310 } |
| 1311 | 1311 |
| 1312 checkUnnamed796(core.List<api.DimensionValue> o) { | 1312 checkUnnamed215(core.List<api.DimensionValue> o) { |
| 1313 unittest.expect(o, unittest.hasLength(2)); | 1313 unittest.expect(o, unittest.hasLength(2)); |
| 1314 checkDimensionValue(o[0]); | 1314 checkDimensionValue(o[0]); |
| 1315 checkDimensionValue(o[1]); | 1315 checkDimensionValue(o[1]); |
| 1316 } | 1316 } |
| 1317 | 1317 |
| 1318 buildUnnamed797() { | 1318 buildUnnamed216() { |
| 1319 var o = new core.List<api.SortedDimension>(); | 1319 var o = new core.List<api.SortedDimension>(); |
| 1320 o.add(buildSortedDimension()); | 1320 o.add(buildSortedDimension()); |
| 1321 o.add(buildSortedDimension()); | 1321 o.add(buildSortedDimension()); |
| 1322 return o; | 1322 return o; |
| 1323 } | 1323 } |
| 1324 | 1324 |
| 1325 checkUnnamed797(core.List<api.SortedDimension> o) { | 1325 checkUnnamed216(core.List<api.SortedDimension> o) { |
| 1326 unittest.expect(o, unittest.hasLength(2)); | 1326 unittest.expect(o, unittest.hasLength(2)); |
| 1327 checkSortedDimension(o[0]); | 1327 checkSortedDimension(o[0]); |
| 1328 checkSortedDimension(o[1]); | 1328 checkSortedDimension(o[1]); |
| 1329 } | 1329 } |
| 1330 | 1330 |
| 1331 buildUnnamed798() { | 1331 buildUnnamed217() { |
| 1332 var o = new core.List<core.String>(); | 1332 var o = new core.List<core.String>(); |
| 1333 o.add("foo"); | 1333 o.add("foo"); |
| 1334 o.add("foo"); | 1334 o.add("foo"); |
| 1335 return o; | 1335 return o; |
| 1336 } | 1336 } |
| 1337 | 1337 |
| 1338 checkUnnamed798(core.List<core.String> o) { | 1338 checkUnnamed217(core.List<core.String> o) { |
| 1339 unittest.expect(o, unittest.hasLength(2)); | 1339 unittest.expect(o, unittest.hasLength(2)); |
| 1340 unittest.expect(o[0], unittest.equals('foo')); | 1340 unittest.expect(o[0], unittest.equals('foo')); |
| 1341 unittest.expect(o[1], unittest.equals('foo')); | 1341 unittest.expect(o[1], unittest.equals('foo')); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 buildUnnamed799() { | 1344 buildUnnamed218() { |
| 1345 var o = new core.List<core.String>(); | 1345 var o = new core.List<core.String>(); |
| 1346 o.add("foo"); | 1346 o.add("foo"); |
| 1347 o.add("foo"); | 1347 o.add("foo"); |
| 1348 return o; | 1348 return o; |
| 1349 } | 1349 } |
| 1350 | 1350 |
| 1351 checkUnnamed799(core.List<core.String> o) { | 1351 checkUnnamed218(core.List<core.String> o) { |
| 1352 unittest.expect(o, unittest.hasLength(2)); | 1352 unittest.expect(o, unittest.hasLength(2)); |
| 1353 unittest.expect(o[0], unittest.equals('foo')); | 1353 unittest.expect(o[0], unittest.equals('foo')); |
| 1354 unittest.expect(o[1], unittest.equals('foo')); | 1354 unittest.expect(o[1], unittest.equals('foo')); |
| 1355 } | 1355 } |
| 1356 | 1356 |
| 1357 core.int buildCounterReportReachCriteria = 0; | 1357 core.int buildCounterReportReachCriteria = 0; |
| 1358 buildReportReachCriteria() { | 1358 buildReportReachCriteria() { |
| 1359 var o = new api.ReportReachCriteria(); | 1359 var o = new api.ReportReachCriteria(); |
| 1360 buildCounterReportReachCriteria++; | 1360 buildCounterReportReachCriteria++; |
| 1361 if (buildCounterReportReachCriteria < 3) { | 1361 if (buildCounterReportReachCriteria < 3) { |
| 1362 o.activities = buildActivities(); | 1362 o.activities = buildActivities(); |
| 1363 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 1363 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 1364 o.dateRange = buildDateRange(); | 1364 o.dateRange = buildDateRange(); |
| 1365 o.dimensionFilters = buildUnnamed796(); | 1365 o.dimensionFilters = buildUnnamed215(); |
| 1366 o.dimensions = buildUnnamed797(); | 1366 o.dimensions = buildUnnamed216(); |
| 1367 o.metricNames = buildUnnamed798(); | 1367 o.metricNames = buildUnnamed217(); |
| 1368 o.reachByFrequencyMetricNames = buildUnnamed799(); | 1368 o.reachByFrequencyMetricNames = buildUnnamed218(); |
| 1369 } | 1369 } |
| 1370 buildCounterReportReachCriteria--; | 1370 buildCounterReportReachCriteria--; |
| 1371 return o; | 1371 return o; |
| 1372 } | 1372 } |
| 1373 | 1373 |
| 1374 checkReportReachCriteria(api.ReportReachCriteria o) { | 1374 checkReportReachCriteria(api.ReportReachCriteria o) { |
| 1375 buildCounterReportReachCriteria++; | 1375 buildCounterReportReachCriteria++; |
| 1376 if (buildCounterReportReachCriteria < 3) { | 1376 if (buildCounterReportReachCriteria < 3) { |
| 1377 checkActivities(o.activities); | 1377 checkActivities(o.activities); |
| 1378 checkCustomRichMediaEvents(o.customRichMediaEvents); | 1378 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 1379 checkDateRange(o.dateRange); | 1379 checkDateRange(o.dateRange); |
| 1380 checkUnnamed796(o.dimensionFilters); | 1380 checkUnnamed215(o.dimensionFilters); |
| 1381 checkUnnamed797(o.dimensions); | 1381 checkUnnamed216(o.dimensions); |
| 1382 checkUnnamed798(o.metricNames); | 1382 checkUnnamed217(o.metricNames); |
| 1383 checkUnnamed799(o.reachByFrequencyMetricNames); | 1383 checkUnnamed218(o.reachByFrequencyMetricNames); |
| 1384 } | 1384 } |
| 1385 buildCounterReportReachCriteria--; | 1385 buildCounterReportReachCriteria--; |
| 1386 } | 1386 } |
| 1387 | 1387 |
| 1388 buildUnnamed800() { | 1388 buildUnnamed219() { |
| 1389 var o = new core.List<core.String>(); | 1389 var o = new core.List<core.String>(); |
| 1390 o.add("foo"); | 1390 o.add("foo"); |
| 1391 o.add("foo"); | 1391 o.add("foo"); |
| 1392 return o; | 1392 return o; |
| 1393 } | 1393 } |
| 1394 | 1394 |
| 1395 checkUnnamed800(core.List<core.String> o) { | 1395 checkUnnamed219(core.List<core.String> o) { |
| 1396 unittest.expect(o, unittest.hasLength(2)); | 1396 unittest.expect(o, unittest.hasLength(2)); |
| 1397 unittest.expect(o[0], unittest.equals('foo')); | 1397 unittest.expect(o[0], unittest.equals('foo')); |
| 1398 unittest.expect(o[1], unittest.equals('foo')); | 1398 unittest.expect(o[1], unittest.equals('foo')); |
| 1399 } | 1399 } |
| 1400 | 1400 |
| 1401 core.int buildCounterReportSchedule = 0; | 1401 core.int buildCounterReportSchedule = 0; |
| 1402 buildReportSchedule() { | 1402 buildReportSchedule() { |
| 1403 var o = new api.ReportSchedule(); | 1403 var o = new api.ReportSchedule(); |
| 1404 buildCounterReportSchedule++; | 1404 buildCounterReportSchedule++; |
| 1405 if (buildCounterReportSchedule < 3) { | 1405 if (buildCounterReportSchedule < 3) { |
| 1406 o.active = true; | 1406 o.active = true; |
| 1407 o.every = 42; | 1407 o.every = 42; |
| 1408 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1408 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1409 o.repeats = "foo"; | 1409 o.repeats = "foo"; |
| 1410 o.repeatsOnWeekDays = buildUnnamed800(); | 1410 o.repeatsOnWeekDays = buildUnnamed219(); |
| 1411 o.runsOnDayOfMonth = "foo"; | 1411 o.runsOnDayOfMonth = "foo"; |
| 1412 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1412 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1413 } | 1413 } |
| 1414 buildCounterReportSchedule--; | 1414 buildCounterReportSchedule--; |
| 1415 return o; | 1415 return o; |
| 1416 } | 1416 } |
| 1417 | 1417 |
| 1418 checkReportSchedule(api.ReportSchedule o) { | 1418 checkReportSchedule(api.ReportSchedule o) { |
| 1419 buildCounterReportSchedule++; | 1419 buildCounterReportSchedule++; |
| 1420 if (buildCounterReportSchedule < 3) { | 1420 if (buildCounterReportSchedule < 3) { |
| 1421 unittest.expect(o.active, unittest.isTrue); | 1421 unittest.expect(o.active, unittest.isTrue); |
| 1422 unittest.expect(o.every, unittest.equals(42)); | 1422 unittest.expect(o.every, unittest.equals(42)); |
| 1423 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); | 1423 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); |
| 1424 unittest.expect(o.repeats, unittest.equals('foo')); | 1424 unittest.expect(o.repeats, unittest.equals('foo')); |
| 1425 checkUnnamed800(o.repeatsOnWeekDays); | 1425 checkUnnamed219(o.repeatsOnWeekDays); |
| 1426 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); | 1426 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); |
| 1427 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 1427 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 1428 } | 1428 } |
| 1429 buildCounterReportSchedule--; | 1429 buildCounterReportSchedule--; |
| 1430 } | 1430 } |
| 1431 | 1431 |
| 1432 core.int buildCounterReport = 0; | 1432 core.int buildCounterReport = 0; |
| 1433 buildReport() { | 1433 buildReport() { |
| 1434 var o = new api.Report(); | 1434 var o = new api.Report(); |
| 1435 buildCounterReport++; | 1435 buildCounterReport++; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1477 unittest.expect(o.ownerProfileId, unittest.equals('foo')); | 1477 unittest.expect(o.ownerProfileId, unittest.equals('foo')); |
| 1478 checkReportPathToConversionCriteria(o.pathToConversionCriteria); | 1478 checkReportPathToConversionCriteria(o.pathToConversionCriteria); |
| 1479 checkReportReachCriteria(o.reachCriteria); | 1479 checkReportReachCriteria(o.reachCriteria); |
| 1480 checkReportSchedule(o.schedule); | 1480 checkReportSchedule(o.schedule); |
| 1481 unittest.expect(o.subAccountId, unittest.equals('foo')); | 1481 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 1482 unittest.expect(o.type, unittest.equals('foo')); | 1482 unittest.expect(o.type, unittest.equals('foo')); |
| 1483 } | 1483 } |
| 1484 buildCounterReport--; | 1484 buildCounterReport--; |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 buildUnnamed801() { | 1487 buildUnnamed220() { |
| 1488 var o = new core.List<api.Dimension>(); | 1488 var o = new core.List<api.Dimension>(); |
| 1489 o.add(buildDimension()); | 1489 o.add(buildDimension()); |
| 1490 o.add(buildDimension()); | 1490 o.add(buildDimension()); |
| 1491 return o; | 1491 return o; |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 checkUnnamed801(core.List<api.Dimension> o) { | 1494 checkUnnamed220(core.List<api.Dimension> o) { |
| 1495 unittest.expect(o, unittest.hasLength(2)); | 1495 unittest.expect(o, unittest.hasLength(2)); |
| 1496 checkDimension(o[0]); | 1496 checkDimension(o[0]); |
| 1497 checkDimension(o[1]); | 1497 checkDimension(o[1]); |
| 1498 } | 1498 } |
| 1499 | 1499 |
| 1500 buildUnnamed802() { | 1500 buildUnnamed221() { |
| 1501 var o = new core.List<api.Dimension>(); | 1501 var o = new core.List<api.Dimension>(); |
| 1502 o.add(buildDimension()); | 1502 o.add(buildDimension()); |
| 1503 o.add(buildDimension()); | 1503 o.add(buildDimension()); |
| 1504 return o; | 1504 return o; |
| 1505 } | 1505 } |
| 1506 | 1506 |
| 1507 checkUnnamed802(core.List<api.Dimension> o) { | 1507 checkUnnamed221(core.List<api.Dimension> o) { |
| 1508 unittest.expect(o, unittest.hasLength(2)); | 1508 unittest.expect(o, unittest.hasLength(2)); |
| 1509 checkDimension(o[0]); | 1509 checkDimension(o[0]); |
| 1510 checkDimension(o[1]); | 1510 checkDimension(o[1]); |
| 1511 } | 1511 } |
| 1512 | 1512 |
| 1513 buildUnnamed803() { | 1513 buildUnnamed222() { |
| 1514 var o = new core.List<api.Metric>(); | 1514 var o = new core.List<api.Metric>(); |
| 1515 o.add(buildMetric()); | 1515 o.add(buildMetric()); |
| 1516 o.add(buildMetric()); | 1516 o.add(buildMetric()); |
| 1517 return o; | 1517 return o; |
| 1518 } | 1518 } |
| 1519 | 1519 |
| 1520 checkUnnamed803(core.List<api.Metric> o) { | 1520 checkUnnamed222(core.List<api.Metric> o) { |
| 1521 unittest.expect(o, unittest.hasLength(2)); | 1521 unittest.expect(o, unittest.hasLength(2)); |
| 1522 checkMetric(o[0]); | 1522 checkMetric(o[0]); |
| 1523 checkMetric(o[1]); | 1523 checkMetric(o[1]); |
| 1524 } | 1524 } |
| 1525 | 1525 |
| 1526 buildUnnamed804() { | 1526 buildUnnamed223() { |
| 1527 var o = new core.List<api.Metric>(); | 1527 var o = new core.List<api.Metric>(); |
| 1528 o.add(buildMetric()); | 1528 o.add(buildMetric()); |
| 1529 o.add(buildMetric()); | 1529 o.add(buildMetric()); |
| 1530 return o; | 1530 return o; |
| 1531 } | 1531 } |
| 1532 | 1532 |
| 1533 checkUnnamed804(core.List<api.Metric> o) { | 1533 checkUnnamed223(core.List<api.Metric> o) { |
| 1534 unittest.expect(o, unittest.hasLength(2)); | 1534 unittest.expect(o, unittest.hasLength(2)); |
| 1535 checkMetric(o[0]); | 1535 checkMetric(o[0]); |
| 1536 checkMetric(o[1]); | 1536 checkMetric(o[1]); |
| 1537 } | 1537 } |
| 1538 | 1538 |
| 1539 core.int buildCounterReportCompatibleFields = 0; | 1539 core.int buildCounterReportCompatibleFields = 0; |
| 1540 buildReportCompatibleFields() { | 1540 buildReportCompatibleFields() { |
| 1541 var o = new api.ReportCompatibleFields(); | 1541 var o = new api.ReportCompatibleFields(); |
| 1542 buildCounterReportCompatibleFields++; | 1542 buildCounterReportCompatibleFields++; |
| 1543 if (buildCounterReportCompatibleFields < 3) { | 1543 if (buildCounterReportCompatibleFields < 3) { |
| 1544 o.dimensionFilters = buildUnnamed801(); | 1544 o.dimensionFilters = buildUnnamed220(); |
| 1545 o.dimensions = buildUnnamed802(); | 1545 o.dimensions = buildUnnamed221(); |
| 1546 o.kind = "foo"; | 1546 o.kind = "foo"; |
| 1547 o.metrics = buildUnnamed803(); | 1547 o.metrics = buildUnnamed222(); |
| 1548 o.pivotedActivityMetrics = buildUnnamed804(); | 1548 o.pivotedActivityMetrics = buildUnnamed223(); |
| 1549 } | 1549 } |
| 1550 buildCounterReportCompatibleFields--; | 1550 buildCounterReportCompatibleFields--; |
| 1551 return o; | 1551 return o; |
| 1552 } | 1552 } |
| 1553 | 1553 |
| 1554 checkReportCompatibleFields(api.ReportCompatibleFields o) { | 1554 checkReportCompatibleFields(api.ReportCompatibleFields o) { |
| 1555 buildCounterReportCompatibleFields++; | 1555 buildCounterReportCompatibleFields++; |
| 1556 if (buildCounterReportCompatibleFields < 3) { | 1556 if (buildCounterReportCompatibleFields < 3) { |
| 1557 checkUnnamed801(o.dimensionFilters); | 1557 checkUnnamed220(o.dimensionFilters); |
| 1558 checkUnnamed802(o.dimensions); | 1558 checkUnnamed221(o.dimensions); |
| 1559 unittest.expect(o.kind, unittest.equals('foo')); | 1559 unittest.expect(o.kind, unittest.equals('foo')); |
| 1560 checkUnnamed803(o.metrics); | 1560 checkUnnamed222(o.metrics); |
| 1561 checkUnnamed804(o.pivotedActivityMetrics); | 1561 checkUnnamed223(o.pivotedActivityMetrics); |
| 1562 } | 1562 } |
| 1563 buildCounterReportCompatibleFields--; | 1563 buildCounterReportCompatibleFields--; |
| 1564 } | 1564 } |
| 1565 | 1565 |
| 1566 buildUnnamed805() { | 1566 buildUnnamed224() { |
| 1567 var o = new core.List<api.Report>(); | 1567 var o = new core.List<api.Report>(); |
| 1568 o.add(buildReport()); | 1568 o.add(buildReport()); |
| 1569 o.add(buildReport()); | 1569 o.add(buildReport()); |
| 1570 return o; | 1570 return o; |
| 1571 } | 1571 } |
| 1572 | 1572 |
| 1573 checkUnnamed805(core.List<api.Report> o) { | 1573 checkUnnamed224(core.List<api.Report> o) { |
| 1574 unittest.expect(o, unittest.hasLength(2)); | 1574 unittest.expect(o, unittest.hasLength(2)); |
| 1575 checkReport(o[0]); | 1575 checkReport(o[0]); |
| 1576 checkReport(o[1]); | 1576 checkReport(o[1]); |
| 1577 } | 1577 } |
| 1578 | 1578 |
| 1579 core.int buildCounterReportList = 0; | 1579 core.int buildCounterReportList = 0; |
| 1580 buildReportList() { | 1580 buildReportList() { |
| 1581 var o = new api.ReportList(); | 1581 var o = new api.ReportList(); |
| 1582 buildCounterReportList++; | 1582 buildCounterReportList++; |
| 1583 if (buildCounterReportList < 3) { | 1583 if (buildCounterReportList < 3) { |
| 1584 o.etag = "foo"; | 1584 o.etag = "foo"; |
| 1585 o.items = buildUnnamed805(); | 1585 o.items = buildUnnamed224(); |
| 1586 o.kind = "foo"; | 1586 o.kind = "foo"; |
| 1587 o.nextPageToken = "foo"; | 1587 o.nextPageToken = "foo"; |
| 1588 } | 1588 } |
| 1589 buildCounterReportList--; | 1589 buildCounterReportList--; |
| 1590 return o; | 1590 return o; |
| 1591 } | 1591 } |
| 1592 | 1592 |
| 1593 checkReportList(api.ReportList o) { | 1593 checkReportList(api.ReportList o) { |
| 1594 buildCounterReportList++; | 1594 buildCounterReportList++; |
| 1595 if (buildCounterReportList < 3) { | 1595 if (buildCounterReportList < 3) { |
| 1596 unittest.expect(o.etag, unittest.equals('foo')); | 1596 unittest.expect(o.etag, unittest.equals('foo')); |
| 1597 checkUnnamed805(o.items); | 1597 checkUnnamed224(o.items); |
| 1598 unittest.expect(o.kind, unittest.equals('foo')); | 1598 unittest.expect(o.kind, unittest.equals('foo')); |
| 1599 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1599 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1600 } | 1600 } |
| 1601 buildCounterReportList--; | 1601 buildCounterReportList--; |
| 1602 } | 1602 } |
| 1603 | 1603 |
| 1604 core.int buildCounterSortedDimension = 0; | 1604 core.int buildCounterSortedDimension = 0; |
| 1605 buildSortedDimension() { | 1605 buildSortedDimension() { |
| 1606 var o = new api.SortedDimension(); | 1606 var o = new api.SortedDimension(); |
| 1607 buildCounterSortedDimension++; | 1607 buildCounterSortedDimension++; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1650 unittest.expect(o.etag, unittest.equals('foo')); | 1650 unittest.expect(o.etag, unittest.equals('foo')); |
| 1651 unittest.expect(o.kind, unittest.equals('foo')); | 1651 unittest.expect(o.kind, unittest.equals('foo')); |
| 1652 unittest.expect(o.profileId, unittest.equals('foo')); | 1652 unittest.expect(o.profileId, unittest.equals('foo')); |
| 1653 unittest.expect(o.subAccountId, unittest.equals('foo')); | 1653 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 1654 unittest.expect(o.subAccountName, unittest.equals('foo')); | 1654 unittest.expect(o.subAccountName, unittest.equals('foo')); |
| 1655 unittest.expect(o.userName, unittest.equals('foo')); | 1655 unittest.expect(o.userName, unittest.equals('foo')); |
| 1656 } | 1656 } |
| 1657 buildCounterUserProfile--; | 1657 buildCounterUserProfile--; |
| 1658 } | 1658 } |
| 1659 | 1659 |
| 1660 buildUnnamed806() { | 1660 buildUnnamed225() { |
| 1661 var o = new core.List<api.UserProfile>(); | 1661 var o = new core.List<api.UserProfile>(); |
| 1662 o.add(buildUserProfile()); | 1662 o.add(buildUserProfile()); |
| 1663 o.add(buildUserProfile()); | 1663 o.add(buildUserProfile()); |
| 1664 return o; | 1664 return o; |
| 1665 } | 1665 } |
| 1666 | 1666 |
| 1667 checkUnnamed806(core.List<api.UserProfile> o) { | 1667 checkUnnamed225(core.List<api.UserProfile> o) { |
| 1668 unittest.expect(o, unittest.hasLength(2)); | 1668 unittest.expect(o, unittest.hasLength(2)); |
| 1669 checkUserProfile(o[0]); | 1669 checkUserProfile(o[0]); |
| 1670 checkUserProfile(o[1]); | 1670 checkUserProfile(o[1]); |
| 1671 } | 1671 } |
| 1672 | 1672 |
| 1673 core.int buildCounterUserProfileList = 0; | 1673 core.int buildCounterUserProfileList = 0; |
| 1674 buildUserProfileList() { | 1674 buildUserProfileList() { |
| 1675 var o = new api.UserProfileList(); | 1675 var o = new api.UserProfileList(); |
| 1676 buildCounterUserProfileList++; | 1676 buildCounterUserProfileList++; |
| 1677 if (buildCounterUserProfileList < 3) { | 1677 if (buildCounterUserProfileList < 3) { |
| 1678 o.etag = "foo"; | 1678 o.etag = "foo"; |
| 1679 o.items = buildUnnamed806(); | 1679 o.items = buildUnnamed225(); |
| 1680 o.kind = "foo"; | 1680 o.kind = "foo"; |
| 1681 } | 1681 } |
| 1682 buildCounterUserProfileList--; | 1682 buildCounterUserProfileList--; |
| 1683 return o; | 1683 return o; |
| 1684 } | 1684 } |
| 1685 | 1685 |
| 1686 checkUserProfileList(api.UserProfileList o) { | 1686 checkUserProfileList(api.UserProfileList o) { |
| 1687 buildCounterUserProfileList++; | 1687 buildCounterUserProfileList++; |
| 1688 if (buildCounterUserProfileList < 3) { | 1688 if (buildCounterUserProfileList < 3) { |
| 1689 unittest.expect(o.etag, unittest.equals('foo')); | 1689 unittest.expect(o.etag, unittest.equals('foo')); |
| 1690 checkUnnamed806(o.items); | 1690 checkUnnamed225(o.items); |
| 1691 unittest.expect(o.kind, unittest.equals('foo')); | 1691 unittest.expect(o.kind, unittest.equals('foo')); |
| 1692 } | 1692 } |
| 1693 buildCounterUserProfileList--; | 1693 buildCounterUserProfileList--; |
| 1694 } | 1694 } |
| 1695 | 1695 |
| 1696 | 1696 |
| 1697 main() { | 1697 main() { |
| 1698 unittest.group("obj-schema-Activities", () { | 1698 unittest.group("obj-schema-Activities", () { |
| 1699 unittest.test("to-json--from-json", () { | 1699 unittest.test("to-json--from-json", () { |
| 1700 var o = buildActivities(); | 1700 var o = buildActivities(); |
| (...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2907 res.list().then(unittest.expectAsync(((api.UserProfileList response) { | 2907 res.list().then(unittest.expectAsync(((api.UserProfileList response) { |
| 2908 checkUserProfileList(response); | 2908 checkUserProfileList(response); |
| 2909 }))); | 2909 }))); |
| 2910 }); | 2910 }); |
| 2911 | 2911 |
| 2912 }); | 2912 }); |
| 2913 | 2913 |
| 2914 | 2914 |
| 2915 } | 2915 } |
| 2916 | 2916 |
| OLD | NEW |