| 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; |
| 11 import 'package:googleapis/common/common.dart' as common; | 11 import 'package:googleapis/common/common.dart' as common; |
| 12 import 'package:googleapis/src/common_internal.dart' as common_internal; | 12 import 'package:googleapis/src/common_internal.dart' as common_internal; |
| 13 import '../common/common_internal_test.dart' as common_test; | 13 import '../common/common_internal_test.dart' as common_test; |
| 14 | 14 |
| 15 import 'package:googleapis/dfareporting/v1_3.dart' as api; | 15 import 'package:googleapis/dfareporting/v1_3.dart' as api; |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 buildUnnamed187() { | 19 buildUnnamed624() { |
| 20 var o = new core.List<api.DimensionValue>(); | 20 var o = new core.List<api.DimensionValue>(); |
| 21 o.add(buildDimensionValue()); | 21 o.add(buildDimensionValue()); |
| 22 o.add(buildDimensionValue()); | 22 o.add(buildDimensionValue()); |
| 23 return o; | 23 return o; |
| 24 } | 24 } |
| 25 | 25 |
| 26 checkUnnamed187(core.List<api.DimensionValue> o) { | 26 checkUnnamed624(core.List<api.DimensionValue> o) { |
| 27 unittest.expect(o, unittest.hasLength(2)); | 27 unittest.expect(o, unittest.hasLength(2)); |
| 28 checkDimensionValue(o[0]); | 28 checkDimensionValue(o[0]); |
| 29 checkDimensionValue(o[1]); | 29 checkDimensionValue(o[1]); |
| 30 } | 30 } |
| 31 | 31 |
| 32 buildUnnamed188() { | 32 buildUnnamed625() { |
| 33 var o = new core.List<core.String>(); | 33 var o = new core.List<core.String>(); |
| 34 o.add("foo"); | 34 o.add("foo"); |
| 35 o.add("foo"); | 35 o.add("foo"); |
| 36 return o; | 36 return o; |
| 37 } | 37 } |
| 38 | 38 |
| 39 checkUnnamed188(core.List<core.String> o) { | 39 checkUnnamed625(core.List<core.String> o) { |
| 40 unittest.expect(o, unittest.hasLength(2)); | 40 unittest.expect(o, unittest.hasLength(2)); |
| 41 unittest.expect(o[0], unittest.equals('foo')); | 41 unittest.expect(o[0], unittest.equals('foo')); |
| 42 unittest.expect(o[1], unittest.equals('foo')); | 42 unittest.expect(o[1], unittest.equals('foo')); |
| 43 } | 43 } |
| 44 | 44 |
| 45 core.int buildCounterActivities = 0; | 45 core.int buildCounterActivities = 0; |
| 46 buildActivities() { | 46 buildActivities() { |
| 47 var o = new api.Activities(); | 47 var o = new api.Activities(); |
| 48 buildCounterActivities++; | 48 buildCounterActivities++; |
| 49 if (buildCounterActivities < 3) { | 49 if (buildCounterActivities < 3) { |
| 50 o.filters = buildUnnamed187(); | 50 o.filters = buildUnnamed624(); |
| 51 o.kind = "foo"; | 51 o.kind = "foo"; |
| 52 o.metricNames = buildUnnamed188(); | 52 o.metricNames = buildUnnamed625(); |
| 53 } | 53 } |
| 54 buildCounterActivities--; | 54 buildCounterActivities--; |
| 55 return o; | 55 return o; |
| 56 } | 56 } |
| 57 | 57 |
| 58 checkActivities(api.Activities o) { | 58 checkActivities(api.Activities o) { |
| 59 buildCounterActivities++; | 59 buildCounterActivities++; |
| 60 if (buildCounterActivities < 3) { | 60 if (buildCounterActivities < 3) { |
| 61 checkUnnamed187(o.filters); | 61 checkUnnamed624(o.filters); |
| 62 unittest.expect(o.kind, unittest.equals('foo')); | 62 unittest.expect(o.kind, unittest.equals('foo')); |
| 63 checkUnnamed188(o.metricNames); | 63 checkUnnamed625(o.metricNames); |
| 64 } | 64 } |
| 65 buildCounterActivities--; | 65 buildCounterActivities--; |
| 66 } | 66 } |
| 67 | 67 |
| 68 core.int buildCounterCompatibleFields = 0; | 68 core.int buildCounterCompatibleFields = 0; |
| 69 buildCompatibleFields() { | 69 buildCompatibleFields() { |
| 70 var o = new api.CompatibleFields(); | 70 var o = new api.CompatibleFields(); |
| 71 buildCounterCompatibleFields++; | 71 buildCounterCompatibleFields++; |
| 72 if (buildCounterCompatibleFields < 3) { | 72 if (buildCounterCompatibleFields < 3) { |
| 73 o.crossDimensionReachReportCompatibleFields = buildCrossDimensionReachReport
CompatibleFields(); | 73 o.crossDimensionReachReportCompatibleFields = buildCrossDimensionReachReport
CompatibleFields(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 87 checkCrossDimensionReachReportCompatibleFields(o.crossDimensionReachReportCo
mpatibleFields); | 87 checkCrossDimensionReachReportCompatibleFields(o.crossDimensionReachReportCo
mpatibleFields); |
| 88 checkFloodlightReportCompatibleFields(o.floodlightReportCompatibleFields); | 88 checkFloodlightReportCompatibleFields(o.floodlightReportCompatibleFields); |
| 89 unittest.expect(o.kind, unittest.equals('foo')); | 89 unittest.expect(o.kind, unittest.equals('foo')); |
| 90 checkPathToConversionReportCompatibleFields(o.pathToConversionReportCompatib
leFields); | 90 checkPathToConversionReportCompatibleFields(o.pathToConversionReportCompatib
leFields); |
| 91 checkReachReportCompatibleFields(o.reachReportCompatibleFields); | 91 checkReachReportCompatibleFields(o.reachReportCompatibleFields); |
| 92 checkReportCompatibleFields(o.reportCompatibleFields); | 92 checkReportCompatibleFields(o.reportCompatibleFields); |
| 93 } | 93 } |
| 94 buildCounterCompatibleFields--; | 94 buildCounterCompatibleFields--; |
| 95 } | 95 } |
| 96 | 96 |
| 97 buildUnnamed189() { | 97 buildUnnamed626() { |
| 98 var o = new core.List<api.Dimension>(); | 98 var o = new core.List<api.Dimension>(); |
| 99 o.add(buildDimension()); | 99 o.add(buildDimension()); |
| 100 o.add(buildDimension()); | 100 o.add(buildDimension()); |
| 101 return o; | 101 return o; |
| 102 } | 102 } |
| 103 | 103 |
| 104 checkUnnamed189(core.List<api.Dimension> o) { | 104 checkUnnamed626(core.List<api.Dimension> o) { |
| 105 unittest.expect(o, unittest.hasLength(2)); | 105 unittest.expect(o, unittest.hasLength(2)); |
| 106 checkDimension(o[0]); | 106 checkDimension(o[0]); |
| 107 checkDimension(o[1]); | 107 checkDimension(o[1]); |
| 108 } | 108 } |
| 109 | 109 |
| 110 buildUnnamed190() { | 110 buildUnnamed627() { |
| 111 var o = new core.List<api.Dimension>(); | 111 var o = new core.List<api.Dimension>(); |
| 112 o.add(buildDimension()); | 112 o.add(buildDimension()); |
| 113 o.add(buildDimension()); | 113 o.add(buildDimension()); |
| 114 return o; | 114 return o; |
| 115 } | 115 } |
| 116 | 116 |
| 117 checkUnnamed190(core.List<api.Dimension> o) { | 117 checkUnnamed627(core.List<api.Dimension> o) { |
| 118 unittest.expect(o, unittest.hasLength(2)); | 118 unittest.expect(o, unittest.hasLength(2)); |
| 119 checkDimension(o[0]); | 119 checkDimension(o[0]); |
| 120 checkDimension(o[1]); | 120 checkDimension(o[1]); |
| 121 } | 121 } |
| 122 | 122 |
| 123 buildUnnamed191() { | 123 buildUnnamed628() { |
| 124 var o = new core.List<api.Metric>(); | 124 var o = new core.List<api.Metric>(); |
| 125 o.add(buildMetric()); | 125 o.add(buildMetric()); |
| 126 o.add(buildMetric()); | 126 o.add(buildMetric()); |
| 127 return o; | 127 return o; |
| 128 } | 128 } |
| 129 | 129 |
| 130 checkUnnamed191(core.List<api.Metric> o) { | 130 checkUnnamed628(core.List<api.Metric> o) { |
| 131 unittest.expect(o, unittest.hasLength(2)); | 131 unittest.expect(o, unittest.hasLength(2)); |
| 132 checkMetric(o[0]); | 132 checkMetric(o[0]); |
| 133 checkMetric(o[1]); | 133 checkMetric(o[1]); |
| 134 } | 134 } |
| 135 | 135 |
| 136 buildUnnamed192() { | 136 buildUnnamed629() { |
| 137 var o = new core.List<api.Metric>(); | 137 var o = new core.List<api.Metric>(); |
| 138 o.add(buildMetric()); | 138 o.add(buildMetric()); |
| 139 o.add(buildMetric()); | 139 o.add(buildMetric()); |
| 140 return o; | 140 return o; |
| 141 } | 141 } |
| 142 | 142 |
| 143 checkUnnamed192(core.List<api.Metric> o) { | 143 checkUnnamed629(core.List<api.Metric> o) { |
| 144 unittest.expect(o, unittest.hasLength(2)); | 144 unittest.expect(o, unittest.hasLength(2)); |
| 145 checkMetric(o[0]); | 145 checkMetric(o[0]); |
| 146 checkMetric(o[1]); | 146 checkMetric(o[1]); |
| 147 } | 147 } |
| 148 | 148 |
| 149 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; | 149 core.int buildCounterCrossDimensionReachReportCompatibleFields = 0; |
| 150 buildCrossDimensionReachReportCompatibleFields() { | 150 buildCrossDimensionReachReportCompatibleFields() { |
| 151 var o = new api.CrossDimensionReachReportCompatibleFields(); | 151 var o = new api.CrossDimensionReachReportCompatibleFields(); |
| 152 buildCounterCrossDimensionReachReportCompatibleFields++; | 152 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 153 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 153 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 154 o.breakdown = buildUnnamed189(); | 154 o.breakdown = buildUnnamed626(); |
| 155 o.dimensionFilters = buildUnnamed190(); | 155 o.dimensionFilters = buildUnnamed627(); |
| 156 o.kind = "foo"; | 156 o.kind = "foo"; |
| 157 o.metrics = buildUnnamed191(); | 157 o.metrics = buildUnnamed628(); |
| 158 o.overlapMetrics = buildUnnamed192(); | 158 o.overlapMetrics = buildUnnamed629(); |
| 159 } | 159 } |
| 160 buildCounterCrossDimensionReachReportCompatibleFields--; | 160 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 161 return o; | 161 return o; |
| 162 } | 162 } |
| 163 | 163 |
| 164 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { | 164 checkCrossDimensionReachReportCompatibleFields(api.CrossDimensionReachReportComp
atibleFields o) { |
| 165 buildCounterCrossDimensionReachReportCompatibleFields++; | 165 buildCounterCrossDimensionReachReportCompatibleFields++; |
| 166 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { | 166 if (buildCounterCrossDimensionReachReportCompatibleFields < 3) { |
| 167 checkUnnamed189(o.breakdown); | 167 checkUnnamed626(o.breakdown); |
| 168 checkUnnamed190(o.dimensionFilters); | 168 checkUnnamed627(o.dimensionFilters); |
| 169 unittest.expect(o.kind, unittest.equals('foo')); | 169 unittest.expect(o.kind, unittest.equals('foo')); |
| 170 checkUnnamed191(o.metrics); | 170 checkUnnamed628(o.metrics); |
| 171 checkUnnamed192(o.overlapMetrics); | 171 checkUnnamed629(o.overlapMetrics); |
| 172 } | 172 } |
| 173 buildCounterCrossDimensionReachReportCompatibleFields--; | 173 buildCounterCrossDimensionReachReportCompatibleFields--; |
| 174 } | 174 } |
| 175 | 175 |
| 176 buildUnnamed193() { | 176 buildUnnamed630() { |
| 177 var o = new core.List<api.DimensionValue>(); | 177 var o = new core.List<api.DimensionValue>(); |
| 178 o.add(buildDimensionValue()); | 178 o.add(buildDimensionValue()); |
| 179 o.add(buildDimensionValue()); | 179 o.add(buildDimensionValue()); |
| 180 return o; | 180 return o; |
| 181 } | 181 } |
| 182 | 182 |
| 183 checkUnnamed193(core.List<api.DimensionValue> o) { | 183 checkUnnamed630(core.List<api.DimensionValue> o) { |
| 184 unittest.expect(o, unittest.hasLength(2)); | 184 unittest.expect(o, unittest.hasLength(2)); |
| 185 checkDimensionValue(o[0]); | 185 checkDimensionValue(o[0]); |
| 186 checkDimensionValue(o[1]); | 186 checkDimensionValue(o[1]); |
| 187 } | 187 } |
| 188 | 188 |
| 189 core.int buildCounterCustomRichMediaEvents = 0; | 189 core.int buildCounterCustomRichMediaEvents = 0; |
| 190 buildCustomRichMediaEvents() { | 190 buildCustomRichMediaEvents() { |
| 191 var o = new api.CustomRichMediaEvents(); | 191 var o = new api.CustomRichMediaEvents(); |
| 192 buildCounterCustomRichMediaEvents++; | 192 buildCounterCustomRichMediaEvents++; |
| 193 if (buildCounterCustomRichMediaEvents < 3) { | 193 if (buildCounterCustomRichMediaEvents < 3) { |
| 194 o.filteredEventIds = buildUnnamed193(); | 194 o.filteredEventIds = buildUnnamed630(); |
| 195 o.kind = "foo"; | 195 o.kind = "foo"; |
| 196 } | 196 } |
| 197 buildCounterCustomRichMediaEvents--; | 197 buildCounterCustomRichMediaEvents--; |
| 198 return o; | 198 return o; |
| 199 } | 199 } |
| 200 | 200 |
| 201 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { | 201 checkCustomRichMediaEvents(api.CustomRichMediaEvents o) { |
| 202 buildCounterCustomRichMediaEvents++; | 202 buildCounterCustomRichMediaEvents++; |
| 203 if (buildCounterCustomRichMediaEvents < 3) { | 203 if (buildCounterCustomRichMediaEvents < 3) { |
| 204 checkUnnamed193(o.filteredEventIds); | 204 checkUnnamed630(o.filteredEventIds); |
| 205 unittest.expect(o.kind, unittest.equals('foo')); | 205 unittest.expect(o.kind, unittest.equals('foo')); |
| 206 } | 206 } |
| 207 buildCounterCustomRichMediaEvents--; | 207 buildCounterCustomRichMediaEvents--; |
| 208 } | 208 } |
| 209 | 209 |
| 210 core.int buildCounterDateRange = 0; | 210 core.int buildCounterDateRange = 0; |
| 211 buildDateRange() { | 211 buildDateRange() { |
| 212 var o = new api.DateRange(); | 212 var o = new api.DateRange(); |
| 213 buildCounterDateRange++; | 213 buildCounterDateRange++; |
| 214 if (buildCounterDateRange < 3) { | 214 if (buildCounterDateRange < 3) { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 unittest.expect(o.dimensionName, unittest.equals('foo')); | 298 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 299 unittest.expect(o.etag, unittest.equals('foo')); | 299 unittest.expect(o.etag, unittest.equals('foo')); |
| 300 unittest.expect(o.id, unittest.equals('foo')); | 300 unittest.expect(o.id, unittest.equals('foo')); |
| 301 unittest.expect(o.kind, unittest.equals('foo')); | 301 unittest.expect(o.kind, unittest.equals('foo')); |
| 302 unittest.expect(o.matchType, unittest.equals('foo')); | 302 unittest.expect(o.matchType, unittest.equals('foo')); |
| 303 unittest.expect(o.value, unittest.equals('foo')); | 303 unittest.expect(o.value, unittest.equals('foo')); |
| 304 } | 304 } |
| 305 buildCounterDimensionValue--; | 305 buildCounterDimensionValue--; |
| 306 } | 306 } |
| 307 | 307 |
| 308 buildUnnamed194() { | 308 buildUnnamed631() { |
| 309 var o = new core.List<api.DimensionValue>(); | 309 var o = new core.List<api.DimensionValue>(); |
| 310 o.add(buildDimensionValue()); | 310 o.add(buildDimensionValue()); |
| 311 o.add(buildDimensionValue()); | 311 o.add(buildDimensionValue()); |
| 312 return o; | 312 return o; |
| 313 } | 313 } |
| 314 | 314 |
| 315 checkUnnamed194(core.List<api.DimensionValue> o) { | 315 checkUnnamed631(core.List<api.DimensionValue> o) { |
| 316 unittest.expect(o, unittest.hasLength(2)); | 316 unittest.expect(o, unittest.hasLength(2)); |
| 317 checkDimensionValue(o[0]); | 317 checkDimensionValue(o[0]); |
| 318 checkDimensionValue(o[1]); | 318 checkDimensionValue(o[1]); |
| 319 } | 319 } |
| 320 | 320 |
| 321 core.int buildCounterDimensionValueList = 0; | 321 core.int buildCounterDimensionValueList = 0; |
| 322 buildDimensionValueList() { | 322 buildDimensionValueList() { |
| 323 var o = new api.DimensionValueList(); | 323 var o = new api.DimensionValueList(); |
| 324 buildCounterDimensionValueList++; | 324 buildCounterDimensionValueList++; |
| 325 if (buildCounterDimensionValueList < 3) { | 325 if (buildCounterDimensionValueList < 3) { |
| 326 o.etag = "foo"; | 326 o.etag = "foo"; |
| 327 o.items = buildUnnamed194(); | 327 o.items = buildUnnamed631(); |
| 328 o.kind = "foo"; | 328 o.kind = "foo"; |
| 329 o.nextPageToken = "foo"; | 329 o.nextPageToken = "foo"; |
| 330 } | 330 } |
| 331 buildCounterDimensionValueList--; | 331 buildCounterDimensionValueList--; |
| 332 return o; | 332 return o; |
| 333 } | 333 } |
| 334 | 334 |
| 335 checkDimensionValueList(api.DimensionValueList o) { | 335 checkDimensionValueList(api.DimensionValueList o) { |
| 336 buildCounterDimensionValueList++; | 336 buildCounterDimensionValueList++; |
| 337 if (buildCounterDimensionValueList < 3) { | 337 if (buildCounterDimensionValueList < 3) { |
| 338 unittest.expect(o.etag, unittest.equals('foo')); | 338 unittest.expect(o.etag, unittest.equals('foo')); |
| 339 checkUnnamed194(o.items); | 339 checkUnnamed631(o.items); |
| 340 unittest.expect(o.kind, unittest.equals('foo')); | 340 unittest.expect(o.kind, unittest.equals('foo')); |
| 341 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 341 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 342 } | 342 } |
| 343 buildCounterDimensionValueList--; | 343 buildCounterDimensionValueList--; |
| 344 } | 344 } |
| 345 | 345 |
| 346 buildUnnamed195() { | 346 buildUnnamed632() { |
| 347 var o = new core.List<api.DimensionFilter>(); | 347 var o = new core.List<api.DimensionFilter>(); |
| 348 o.add(buildDimensionFilter()); | 348 o.add(buildDimensionFilter()); |
| 349 o.add(buildDimensionFilter()); | 349 o.add(buildDimensionFilter()); |
| 350 return o; | 350 return o; |
| 351 } | 351 } |
| 352 | 352 |
| 353 checkUnnamed195(core.List<api.DimensionFilter> o) { | 353 checkUnnamed632(core.List<api.DimensionFilter> o) { |
| 354 unittest.expect(o, unittest.hasLength(2)); | 354 unittest.expect(o, unittest.hasLength(2)); |
| 355 checkDimensionFilter(o[0]); | 355 checkDimensionFilter(o[0]); |
| 356 checkDimensionFilter(o[1]); | 356 checkDimensionFilter(o[1]); |
| 357 } | 357 } |
| 358 | 358 |
| 359 core.int buildCounterDimensionValueRequest = 0; | 359 core.int buildCounterDimensionValueRequest = 0; |
| 360 buildDimensionValueRequest() { | 360 buildDimensionValueRequest() { |
| 361 var o = new api.DimensionValueRequest(); | 361 var o = new api.DimensionValueRequest(); |
| 362 buildCounterDimensionValueRequest++; | 362 buildCounterDimensionValueRequest++; |
| 363 if (buildCounterDimensionValueRequest < 3) { | 363 if (buildCounterDimensionValueRequest < 3) { |
| 364 o.dimensionName = "foo"; | 364 o.dimensionName = "foo"; |
| 365 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 365 o.endDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 366 o.filters = buildUnnamed195(); | 366 o.filters = buildUnnamed632(); |
| 367 o.kind = "foo"; | 367 o.kind = "foo"; |
| 368 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 368 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 369 } | 369 } |
| 370 buildCounterDimensionValueRequest--; | 370 buildCounterDimensionValueRequest--; |
| 371 return o; | 371 return o; |
| 372 } | 372 } |
| 373 | 373 |
| 374 checkDimensionValueRequest(api.DimensionValueRequest o) { | 374 checkDimensionValueRequest(api.DimensionValueRequest o) { |
| 375 buildCounterDimensionValueRequest++; | 375 buildCounterDimensionValueRequest++; |
| 376 if (buildCounterDimensionValueRequest < 3) { | 376 if (buildCounterDimensionValueRequest < 3) { |
| 377 unittest.expect(o.dimensionName, unittest.equals('foo')); | 377 unittest.expect(o.dimensionName, unittest.equals('foo')); |
| 378 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); | 378 unittest.expect(o.endDate, unittest.equals(core.DateTime.parse("2002-02-27T0
0:00:00"))); |
| 379 checkUnnamed195(o.filters); | 379 checkUnnamed632(o.filters); |
| 380 unittest.expect(o.kind, unittest.equals('foo')); | 380 unittest.expect(o.kind, unittest.equals('foo')); |
| 381 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 381 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 382 } | 382 } |
| 383 buildCounterDimensionValueRequest--; | 383 buildCounterDimensionValueRequest--; |
| 384 } | 384 } |
| 385 | 385 |
| 386 core.int buildCounterFileUrls = 0; | 386 core.int buildCounterFileUrls = 0; |
| 387 buildFileUrls() { | 387 buildFileUrls() { |
| 388 var o = new api.FileUrls(); | 388 var o = new api.FileUrls(); |
| 389 buildCounterFileUrls++; | 389 buildCounterFileUrls++; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 unittest.expect(o.id, unittest.equals('foo')); | 434 unittest.expect(o.id, unittest.equals('foo')); |
| 435 unittest.expect(o.kind, unittest.equals('foo')); | 435 unittest.expect(o.kind, unittest.equals('foo')); |
| 436 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); | 436 unittest.expect(o.lastModifiedTime, unittest.equals('foo')); |
| 437 unittest.expect(o.reportId, unittest.equals('foo')); | 437 unittest.expect(o.reportId, unittest.equals('foo')); |
| 438 unittest.expect(o.status, unittest.equals('foo')); | 438 unittest.expect(o.status, unittest.equals('foo')); |
| 439 checkFileUrls(o.urls); | 439 checkFileUrls(o.urls); |
| 440 } | 440 } |
| 441 buildCounterFile--; | 441 buildCounterFile--; |
| 442 } | 442 } |
| 443 | 443 |
| 444 buildUnnamed196() { | 444 buildUnnamed633() { |
| 445 var o = new core.List<api.File>(); | 445 var o = new core.List<api.File>(); |
| 446 o.add(buildFile()); | 446 o.add(buildFile()); |
| 447 o.add(buildFile()); | 447 o.add(buildFile()); |
| 448 return o; | 448 return o; |
| 449 } | 449 } |
| 450 | 450 |
| 451 checkUnnamed196(core.List<api.File> o) { | 451 checkUnnamed633(core.List<api.File> o) { |
| 452 unittest.expect(o, unittest.hasLength(2)); | 452 unittest.expect(o, unittest.hasLength(2)); |
| 453 checkFile(o[0]); | 453 checkFile(o[0]); |
| 454 checkFile(o[1]); | 454 checkFile(o[1]); |
| 455 } | 455 } |
| 456 | 456 |
| 457 core.int buildCounterFileList = 0; | 457 core.int buildCounterFileList = 0; |
| 458 buildFileList() { | 458 buildFileList() { |
| 459 var o = new api.FileList(); | 459 var o = new api.FileList(); |
| 460 buildCounterFileList++; | 460 buildCounterFileList++; |
| 461 if (buildCounterFileList < 3) { | 461 if (buildCounterFileList < 3) { |
| 462 o.etag = "foo"; | 462 o.etag = "foo"; |
| 463 o.items = buildUnnamed196(); | 463 o.items = buildUnnamed633(); |
| 464 o.kind = "foo"; | 464 o.kind = "foo"; |
| 465 o.nextPageToken = "foo"; | 465 o.nextPageToken = "foo"; |
| 466 } | 466 } |
| 467 buildCounterFileList--; | 467 buildCounterFileList--; |
| 468 return o; | 468 return o; |
| 469 } | 469 } |
| 470 | 470 |
| 471 checkFileList(api.FileList o) { | 471 checkFileList(api.FileList o) { |
| 472 buildCounterFileList++; | 472 buildCounterFileList++; |
| 473 if (buildCounterFileList < 3) { | 473 if (buildCounterFileList < 3) { |
| 474 unittest.expect(o.etag, unittest.equals('foo')); | 474 unittest.expect(o.etag, unittest.equals('foo')); |
| 475 checkUnnamed196(o.items); | 475 checkUnnamed633(o.items); |
| 476 unittest.expect(o.kind, unittest.equals('foo')); | 476 unittest.expect(o.kind, unittest.equals('foo')); |
| 477 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 477 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 478 } | 478 } |
| 479 buildCounterFileList--; | 479 buildCounterFileList--; |
| 480 } | 480 } |
| 481 | 481 |
| 482 buildUnnamed197() { | 482 buildUnnamed634() { |
| 483 var o = new core.List<api.Dimension>(); | 483 var o = new core.List<api.Dimension>(); |
| 484 o.add(buildDimension()); | 484 o.add(buildDimension()); |
| 485 o.add(buildDimension()); | 485 o.add(buildDimension()); |
| 486 return o; | 486 return o; |
| 487 } | 487 } |
| 488 | 488 |
| 489 checkUnnamed197(core.List<api.Dimension> o) { | 489 checkUnnamed634(core.List<api.Dimension> o) { |
| 490 unittest.expect(o, unittest.hasLength(2)); | 490 unittest.expect(o, unittest.hasLength(2)); |
| 491 checkDimension(o[0]); | 491 checkDimension(o[0]); |
| 492 checkDimension(o[1]); | 492 checkDimension(o[1]); |
| 493 } | 493 } |
| 494 | 494 |
| 495 buildUnnamed198() { | 495 buildUnnamed635() { |
| 496 var o = new core.List<api.Dimension>(); | 496 var o = new core.List<api.Dimension>(); |
| 497 o.add(buildDimension()); | 497 o.add(buildDimension()); |
| 498 o.add(buildDimension()); | 498 o.add(buildDimension()); |
| 499 return o; | 499 return o; |
| 500 } | 500 } |
| 501 | 501 |
| 502 checkUnnamed198(core.List<api.Dimension> o) { | 502 checkUnnamed635(core.List<api.Dimension> o) { |
| 503 unittest.expect(o, unittest.hasLength(2)); | 503 unittest.expect(o, unittest.hasLength(2)); |
| 504 checkDimension(o[0]); | 504 checkDimension(o[0]); |
| 505 checkDimension(o[1]); | 505 checkDimension(o[1]); |
| 506 } | 506 } |
| 507 | 507 |
| 508 buildUnnamed199() { | 508 buildUnnamed636() { |
| 509 var o = new core.List<api.Metric>(); | 509 var o = new core.List<api.Metric>(); |
| 510 o.add(buildMetric()); | 510 o.add(buildMetric()); |
| 511 o.add(buildMetric()); | 511 o.add(buildMetric()); |
| 512 return o; | 512 return o; |
| 513 } | 513 } |
| 514 | 514 |
| 515 checkUnnamed199(core.List<api.Metric> o) { | 515 checkUnnamed636(core.List<api.Metric> o) { |
| 516 unittest.expect(o, unittest.hasLength(2)); | 516 unittest.expect(o, unittest.hasLength(2)); |
| 517 checkMetric(o[0]); | 517 checkMetric(o[0]); |
| 518 checkMetric(o[1]); | 518 checkMetric(o[1]); |
| 519 } | 519 } |
| 520 | 520 |
| 521 core.int buildCounterFloodlightReportCompatibleFields = 0; | 521 core.int buildCounterFloodlightReportCompatibleFields = 0; |
| 522 buildFloodlightReportCompatibleFields() { | 522 buildFloodlightReportCompatibleFields() { |
| 523 var o = new api.FloodlightReportCompatibleFields(); | 523 var o = new api.FloodlightReportCompatibleFields(); |
| 524 buildCounterFloodlightReportCompatibleFields++; | 524 buildCounterFloodlightReportCompatibleFields++; |
| 525 if (buildCounterFloodlightReportCompatibleFields < 3) { | 525 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 526 o.dimensionFilters = buildUnnamed197(); | 526 o.dimensionFilters = buildUnnamed634(); |
| 527 o.dimensions = buildUnnamed198(); | 527 o.dimensions = buildUnnamed635(); |
| 528 o.kind = "foo"; | 528 o.kind = "foo"; |
| 529 o.metrics = buildUnnamed199(); | 529 o.metrics = buildUnnamed636(); |
| 530 } | 530 } |
| 531 buildCounterFloodlightReportCompatibleFields--; | 531 buildCounterFloodlightReportCompatibleFields--; |
| 532 return o; | 532 return o; |
| 533 } | 533 } |
| 534 | 534 |
| 535 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { | 535 checkFloodlightReportCompatibleFields(api.FloodlightReportCompatibleFields o) { |
| 536 buildCounterFloodlightReportCompatibleFields++; | 536 buildCounterFloodlightReportCompatibleFields++; |
| 537 if (buildCounterFloodlightReportCompatibleFields < 3) { | 537 if (buildCounterFloodlightReportCompatibleFields < 3) { |
| 538 checkUnnamed197(o.dimensionFilters); | 538 checkUnnamed634(o.dimensionFilters); |
| 539 checkUnnamed198(o.dimensions); | 539 checkUnnamed635(o.dimensions); |
| 540 unittest.expect(o.kind, unittest.equals('foo')); | 540 unittest.expect(o.kind, unittest.equals('foo')); |
| 541 checkUnnamed199(o.metrics); | 541 checkUnnamed636(o.metrics); |
| 542 } | 542 } |
| 543 buildCounterFloodlightReportCompatibleFields--; | 543 buildCounterFloodlightReportCompatibleFields--; |
| 544 } | 544 } |
| 545 | 545 |
| 546 core.int buildCounterMetric = 0; | 546 core.int buildCounterMetric = 0; |
| 547 buildMetric() { | 547 buildMetric() { |
| 548 var o = new api.Metric(); | 548 var o = new api.Metric(); |
| 549 buildCounterMetric++; | 549 buildCounterMetric++; |
| 550 if (buildCounterMetric < 3) { | 550 if (buildCounterMetric < 3) { |
| 551 o.kind = "foo"; | 551 o.kind = "foo"; |
| 552 o.name = "foo"; | 552 o.name = "foo"; |
| 553 } | 553 } |
| 554 buildCounterMetric--; | 554 buildCounterMetric--; |
| 555 return o; | 555 return o; |
| 556 } | 556 } |
| 557 | 557 |
| 558 checkMetric(api.Metric o) { | 558 checkMetric(api.Metric o) { |
| 559 buildCounterMetric++; | 559 buildCounterMetric++; |
| 560 if (buildCounterMetric < 3) { | 560 if (buildCounterMetric < 3) { |
| 561 unittest.expect(o.kind, unittest.equals('foo')); | 561 unittest.expect(o.kind, unittest.equals('foo')); |
| 562 unittest.expect(o.name, unittest.equals('foo')); | 562 unittest.expect(o.name, unittest.equals('foo')); |
| 563 } | 563 } |
| 564 buildCounterMetric--; | 564 buildCounterMetric--; |
| 565 } | 565 } |
| 566 | 566 |
| 567 buildUnnamed200() { | 567 buildUnnamed637() { |
| 568 var o = new core.List<api.Dimension>(); | 568 var o = new core.List<api.Dimension>(); |
| 569 o.add(buildDimension()); | 569 o.add(buildDimension()); |
| 570 o.add(buildDimension()); | 570 o.add(buildDimension()); |
| 571 return o; | 571 return o; |
| 572 } | 572 } |
| 573 | 573 |
| 574 checkUnnamed200(core.List<api.Dimension> o) { | 574 checkUnnamed637(core.List<api.Dimension> o) { |
| 575 unittest.expect(o, unittest.hasLength(2)); | 575 unittest.expect(o, unittest.hasLength(2)); |
| 576 checkDimension(o[0]); | 576 checkDimension(o[0]); |
| 577 checkDimension(o[1]); | 577 checkDimension(o[1]); |
| 578 } | 578 } |
| 579 | 579 |
| 580 buildUnnamed201() { | 580 buildUnnamed638() { |
| 581 var o = new core.List<api.Dimension>(); | 581 var o = new core.List<api.Dimension>(); |
| 582 o.add(buildDimension()); | 582 o.add(buildDimension()); |
| 583 o.add(buildDimension()); | 583 o.add(buildDimension()); |
| 584 return o; | 584 return o; |
| 585 } | 585 } |
| 586 | 586 |
| 587 checkUnnamed201(core.List<api.Dimension> o) { | 587 checkUnnamed638(core.List<api.Dimension> o) { |
| 588 unittest.expect(o, unittest.hasLength(2)); | 588 unittest.expect(o, unittest.hasLength(2)); |
| 589 checkDimension(o[0]); | 589 checkDimension(o[0]); |
| 590 checkDimension(o[1]); | 590 checkDimension(o[1]); |
| 591 } | 591 } |
| 592 | 592 |
| 593 buildUnnamed202() { | 593 buildUnnamed639() { |
| 594 var o = new core.List<api.Metric>(); | 594 var o = new core.List<api.Metric>(); |
| 595 o.add(buildMetric()); | 595 o.add(buildMetric()); |
| 596 o.add(buildMetric()); | 596 o.add(buildMetric()); |
| 597 return o; | 597 return o; |
| 598 } | 598 } |
| 599 | 599 |
| 600 checkUnnamed202(core.List<api.Metric> o) { | 600 checkUnnamed639(core.List<api.Metric> o) { |
| 601 unittest.expect(o, unittest.hasLength(2)); | 601 unittest.expect(o, unittest.hasLength(2)); |
| 602 checkMetric(o[0]); | 602 checkMetric(o[0]); |
| 603 checkMetric(o[1]); | 603 checkMetric(o[1]); |
| 604 } | 604 } |
| 605 | 605 |
| 606 buildUnnamed203() { | 606 buildUnnamed640() { |
| 607 var o = new core.List<api.Dimension>(); | 607 var o = new core.List<api.Dimension>(); |
| 608 o.add(buildDimension()); | 608 o.add(buildDimension()); |
| 609 o.add(buildDimension()); | 609 o.add(buildDimension()); |
| 610 return o; | 610 return o; |
| 611 } | 611 } |
| 612 | 612 |
| 613 checkUnnamed203(core.List<api.Dimension> o) { | 613 checkUnnamed640(core.List<api.Dimension> o) { |
| 614 unittest.expect(o, unittest.hasLength(2)); | 614 unittest.expect(o, unittest.hasLength(2)); |
| 615 checkDimension(o[0]); | 615 checkDimension(o[0]); |
| 616 checkDimension(o[1]); | 616 checkDimension(o[1]); |
| 617 } | 617 } |
| 618 | 618 |
| 619 core.int buildCounterPathToConversionReportCompatibleFields = 0; | 619 core.int buildCounterPathToConversionReportCompatibleFields = 0; |
| 620 buildPathToConversionReportCompatibleFields() { | 620 buildPathToConversionReportCompatibleFields() { |
| 621 var o = new api.PathToConversionReportCompatibleFields(); | 621 var o = new api.PathToConversionReportCompatibleFields(); |
| 622 buildCounterPathToConversionReportCompatibleFields++; | 622 buildCounterPathToConversionReportCompatibleFields++; |
| 623 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 623 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 624 o.conversionDimensions = buildUnnamed200(); | 624 o.conversionDimensions = buildUnnamed637(); |
| 625 o.customFloodlightVariables = buildUnnamed201(); | 625 o.customFloodlightVariables = buildUnnamed638(); |
| 626 o.kind = "foo"; | 626 o.kind = "foo"; |
| 627 o.metrics = buildUnnamed202(); | 627 o.metrics = buildUnnamed639(); |
| 628 o.perInteractionDimensions = buildUnnamed203(); | 628 o.perInteractionDimensions = buildUnnamed640(); |
| 629 } | 629 } |
| 630 buildCounterPathToConversionReportCompatibleFields--; | 630 buildCounterPathToConversionReportCompatibleFields--; |
| 631 return o; | 631 return o; |
| 632 } | 632 } |
| 633 | 633 |
| 634 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { | 634 checkPathToConversionReportCompatibleFields(api.PathToConversionReportCompatible
Fields o) { |
| 635 buildCounterPathToConversionReportCompatibleFields++; | 635 buildCounterPathToConversionReportCompatibleFields++; |
| 636 if (buildCounterPathToConversionReportCompatibleFields < 3) { | 636 if (buildCounterPathToConversionReportCompatibleFields < 3) { |
| 637 checkUnnamed200(o.conversionDimensions); | 637 checkUnnamed637(o.conversionDimensions); |
| 638 checkUnnamed201(o.customFloodlightVariables); | 638 checkUnnamed638(o.customFloodlightVariables); |
| 639 unittest.expect(o.kind, unittest.equals('foo')); | 639 unittest.expect(o.kind, unittest.equals('foo')); |
| 640 checkUnnamed202(o.metrics); | 640 checkUnnamed639(o.metrics); |
| 641 checkUnnamed203(o.perInteractionDimensions); | 641 checkUnnamed640(o.perInteractionDimensions); |
| 642 } | 642 } |
| 643 buildCounterPathToConversionReportCompatibleFields--; | 643 buildCounterPathToConversionReportCompatibleFields--; |
| 644 } | 644 } |
| 645 | 645 |
| 646 buildUnnamed204() { | 646 buildUnnamed641() { |
| 647 var o = new core.List<api.Dimension>(); | 647 var o = new core.List<api.Dimension>(); |
| 648 o.add(buildDimension()); | 648 o.add(buildDimension()); |
| 649 o.add(buildDimension()); | 649 o.add(buildDimension()); |
| 650 return o; | 650 return o; |
| 651 } | 651 } |
| 652 | 652 |
| 653 checkUnnamed204(core.List<api.Dimension> o) { | 653 checkUnnamed641(core.List<api.Dimension> o) { |
| 654 unittest.expect(o, unittest.hasLength(2)); | 654 unittest.expect(o, unittest.hasLength(2)); |
| 655 checkDimension(o[0]); | 655 checkDimension(o[0]); |
| 656 checkDimension(o[1]); | 656 checkDimension(o[1]); |
| 657 } | 657 } |
| 658 | 658 |
| 659 buildUnnamed205() { | 659 buildUnnamed642() { |
| 660 var o = new core.List<api.Dimension>(); | 660 var o = new core.List<api.Dimension>(); |
| 661 o.add(buildDimension()); | 661 o.add(buildDimension()); |
| 662 o.add(buildDimension()); | 662 o.add(buildDimension()); |
| 663 return o; | 663 return o; |
| 664 } | 664 } |
| 665 | 665 |
| 666 checkUnnamed205(core.List<api.Dimension> o) { | 666 checkUnnamed642(core.List<api.Dimension> o) { |
| 667 unittest.expect(o, unittest.hasLength(2)); | 667 unittest.expect(o, unittest.hasLength(2)); |
| 668 checkDimension(o[0]); | 668 checkDimension(o[0]); |
| 669 checkDimension(o[1]); | 669 checkDimension(o[1]); |
| 670 } | 670 } |
| 671 | 671 |
| 672 buildUnnamed206() { | 672 buildUnnamed643() { |
| 673 var o = new core.List<api.Metric>(); | 673 var o = new core.List<api.Metric>(); |
| 674 o.add(buildMetric()); | 674 o.add(buildMetric()); |
| 675 o.add(buildMetric()); | 675 o.add(buildMetric()); |
| 676 return o; | 676 return o; |
| 677 } | 677 } |
| 678 | 678 |
| 679 checkUnnamed206(core.List<api.Metric> o) { | 679 checkUnnamed643(core.List<api.Metric> o) { |
| 680 unittest.expect(o, unittest.hasLength(2)); | 680 unittest.expect(o, unittest.hasLength(2)); |
| 681 checkMetric(o[0]); | 681 checkMetric(o[0]); |
| 682 checkMetric(o[1]); | 682 checkMetric(o[1]); |
| 683 } | 683 } |
| 684 | 684 |
| 685 buildUnnamed207() { | 685 buildUnnamed644() { |
| 686 var o = new core.List<api.Metric>(); | 686 var o = new core.List<api.Metric>(); |
| 687 o.add(buildMetric()); | 687 o.add(buildMetric()); |
| 688 o.add(buildMetric()); | 688 o.add(buildMetric()); |
| 689 return o; | 689 return o; |
| 690 } | 690 } |
| 691 | 691 |
| 692 checkUnnamed207(core.List<api.Metric> o) { | 692 checkUnnamed644(core.List<api.Metric> o) { |
| 693 unittest.expect(o, unittest.hasLength(2)); | 693 unittest.expect(o, unittest.hasLength(2)); |
| 694 checkMetric(o[0]); | 694 checkMetric(o[0]); |
| 695 checkMetric(o[1]); | 695 checkMetric(o[1]); |
| 696 } | 696 } |
| 697 | 697 |
| 698 buildUnnamed208() { | 698 buildUnnamed645() { |
| 699 var o = new core.List<api.Metric>(); | 699 var o = new core.List<api.Metric>(); |
| 700 o.add(buildMetric()); | 700 o.add(buildMetric()); |
| 701 o.add(buildMetric()); | 701 o.add(buildMetric()); |
| 702 return o; | 702 return o; |
| 703 } | 703 } |
| 704 | 704 |
| 705 checkUnnamed208(core.List<api.Metric> o) { | 705 checkUnnamed645(core.List<api.Metric> o) { |
| 706 unittest.expect(o, unittest.hasLength(2)); | 706 unittest.expect(o, unittest.hasLength(2)); |
| 707 checkMetric(o[0]); | 707 checkMetric(o[0]); |
| 708 checkMetric(o[1]); | 708 checkMetric(o[1]); |
| 709 } | 709 } |
| 710 | 710 |
| 711 core.int buildCounterReachReportCompatibleFields = 0; | 711 core.int buildCounterReachReportCompatibleFields = 0; |
| 712 buildReachReportCompatibleFields() { | 712 buildReachReportCompatibleFields() { |
| 713 var o = new api.ReachReportCompatibleFields(); | 713 var o = new api.ReachReportCompatibleFields(); |
| 714 buildCounterReachReportCompatibleFields++; | 714 buildCounterReachReportCompatibleFields++; |
| 715 if (buildCounterReachReportCompatibleFields < 3) { | 715 if (buildCounterReachReportCompatibleFields < 3) { |
| 716 o.dimensionFilters = buildUnnamed204(); | 716 o.dimensionFilters = buildUnnamed641(); |
| 717 o.dimensions = buildUnnamed205(); | 717 o.dimensions = buildUnnamed642(); |
| 718 o.kind = "foo"; | 718 o.kind = "foo"; |
| 719 o.metrics = buildUnnamed206(); | 719 o.metrics = buildUnnamed643(); |
| 720 o.pivotedActivityMetrics = buildUnnamed207(); | 720 o.pivotedActivityMetrics = buildUnnamed644(); |
| 721 o.reachByFrequencyMetrics = buildUnnamed208(); | 721 o.reachByFrequencyMetrics = buildUnnamed645(); |
| 722 } | 722 } |
| 723 buildCounterReachReportCompatibleFields--; | 723 buildCounterReachReportCompatibleFields--; |
| 724 return o; | 724 return o; |
| 725 } | 725 } |
| 726 | 726 |
| 727 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { | 727 checkReachReportCompatibleFields(api.ReachReportCompatibleFields o) { |
| 728 buildCounterReachReportCompatibleFields++; | 728 buildCounterReachReportCompatibleFields++; |
| 729 if (buildCounterReachReportCompatibleFields < 3) { | 729 if (buildCounterReachReportCompatibleFields < 3) { |
| 730 checkUnnamed204(o.dimensionFilters); | 730 checkUnnamed641(o.dimensionFilters); |
| 731 checkUnnamed205(o.dimensions); | 731 checkUnnamed642(o.dimensions); |
| 732 unittest.expect(o.kind, unittest.equals('foo')); | 732 unittest.expect(o.kind, unittest.equals('foo')); |
| 733 checkUnnamed206(o.metrics); | 733 checkUnnamed643(o.metrics); |
| 734 checkUnnamed207(o.pivotedActivityMetrics); | 734 checkUnnamed644(o.pivotedActivityMetrics); |
| 735 checkUnnamed208(o.reachByFrequencyMetrics); | 735 checkUnnamed645(o.reachByFrequencyMetrics); |
| 736 } | 736 } |
| 737 buildCounterReachReportCompatibleFields--; | 737 buildCounterReachReportCompatibleFields--; |
| 738 } | 738 } |
| 739 | 739 |
| 740 core.int buildCounterRecipient = 0; | 740 core.int buildCounterRecipient = 0; |
| 741 buildRecipient() { | 741 buildRecipient() { |
| 742 var o = new api.Recipient(); | 742 var o = new api.Recipient(); |
| 743 buildCounterRecipient++; | 743 buildCounterRecipient++; |
| 744 if (buildCounterRecipient < 3) { | 744 if (buildCounterRecipient < 3) { |
| 745 o.deliveryType = "foo"; | 745 o.deliveryType = "foo"; |
| 746 o.email = "foo"; | 746 o.email = "foo"; |
| 747 o.kind = "foo"; | 747 o.kind = "foo"; |
| 748 } | 748 } |
| 749 buildCounterRecipient--; | 749 buildCounterRecipient--; |
| 750 return o; | 750 return o; |
| 751 } | 751 } |
| 752 | 752 |
| 753 checkRecipient(api.Recipient o) { | 753 checkRecipient(api.Recipient o) { |
| 754 buildCounterRecipient++; | 754 buildCounterRecipient++; |
| 755 if (buildCounterRecipient < 3) { | 755 if (buildCounterRecipient < 3) { |
| 756 unittest.expect(o.deliveryType, unittest.equals('foo')); | 756 unittest.expect(o.deliveryType, unittest.equals('foo')); |
| 757 unittest.expect(o.email, unittest.equals('foo')); | 757 unittest.expect(o.email, unittest.equals('foo')); |
| 758 unittest.expect(o.kind, unittest.equals('foo')); | 758 unittest.expect(o.kind, unittest.equals('foo')); |
| 759 } | 759 } |
| 760 buildCounterRecipient--; | 760 buildCounterRecipient--; |
| 761 } | 761 } |
| 762 | 762 |
| 763 buildUnnamed209() { | 763 buildUnnamed646() { |
| 764 var o = new core.List<api.DimensionValue>(); | 764 var o = new core.List<api.DimensionValue>(); |
| 765 o.add(buildDimensionValue()); | 765 o.add(buildDimensionValue()); |
| 766 o.add(buildDimensionValue()); | 766 o.add(buildDimensionValue()); |
| 767 return o; | 767 return o; |
| 768 } | 768 } |
| 769 | 769 |
| 770 checkUnnamed209(core.List<api.DimensionValue> o) { | 770 checkUnnamed646(core.List<api.DimensionValue> o) { |
| 771 unittest.expect(o, unittest.hasLength(2)); | 771 unittest.expect(o, unittest.hasLength(2)); |
| 772 checkDimensionValue(o[0]); | 772 checkDimensionValue(o[0]); |
| 773 checkDimensionValue(o[1]); | 773 checkDimensionValue(o[1]); |
| 774 } | 774 } |
| 775 | 775 |
| 776 buildUnnamed210() { | 776 buildUnnamed647() { |
| 777 var o = new core.List<api.SortedDimension>(); | 777 var o = new core.List<api.SortedDimension>(); |
| 778 o.add(buildSortedDimension()); | 778 o.add(buildSortedDimension()); |
| 779 o.add(buildSortedDimension()); | 779 o.add(buildSortedDimension()); |
| 780 return o; | 780 return o; |
| 781 } | 781 } |
| 782 | 782 |
| 783 checkUnnamed210(core.List<api.SortedDimension> o) { | 783 checkUnnamed647(core.List<api.SortedDimension> o) { |
| 784 unittest.expect(o, unittest.hasLength(2)); | 784 unittest.expect(o, unittest.hasLength(2)); |
| 785 checkSortedDimension(o[0]); | 785 checkSortedDimension(o[0]); |
| 786 checkSortedDimension(o[1]); | 786 checkSortedDimension(o[1]); |
| 787 } | 787 } |
| 788 | 788 |
| 789 buildUnnamed211() { | 789 buildUnnamed648() { |
| 790 var o = new core.List<core.String>(); | 790 var o = new core.List<core.String>(); |
| 791 o.add("foo"); | 791 o.add("foo"); |
| 792 o.add("foo"); | 792 o.add("foo"); |
| 793 return o; | 793 return o; |
| 794 } | 794 } |
| 795 | 795 |
| 796 checkUnnamed211(core.List<core.String> o) { | 796 checkUnnamed648(core.List<core.String> o) { |
| 797 unittest.expect(o, unittest.hasLength(2)); | 797 unittest.expect(o, unittest.hasLength(2)); |
| 798 unittest.expect(o[0], unittest.equals('foo')); | 798 unittest.expect(o[0], unittest.equals('foo')); |
| 799 unittest.expect(o[1], unittest.equals('foo')); | 799 unittest.expect(o[1], unittest.equals('foo')); |
| 800 } | 800 } |
| 801 | 801 |
| 802 core.int buildCounterReportActiveGrpCriteria = 0; | 802 core.int buildCounterReportActiveGrpCriteria = 0; |
| 803 buildReportActiveGrpCriteria() { | 803 buildReportActiveGrpCriteria() { |
| 804 var o = new api.ReportActiveGrpCriteria(); | 804 var o = new api.ReportActiveGrpCriteria(); |
| 805 buildCounterReportActiveGrpCriteria++; | 805 buildCounterReportActiveGrpCriteria++; |
| 806 if (buildCounterReportActiveGrpCriteria < 3) { | 806 if (buildCounterReportActiveGrpCriteria < 3) { |
| 807 o.dateRange = buildDateRange(); | 807 o.dateRange = buildDateRange(); |
| 808 o.dimensionFilters = buildUnnamed209(); | 808 o.dimensionFilters = buildUnnamed646(); |
| 809 o.dimensions = buildUnnamed210(); | 809 o.dimensions = buildUnnamed647(); |
| 810 o.metricNames = buildUnnamed211(); | 810 o.metricNames = buildUnnamed648(); |
| 811 } | 811 } |
| 812 buildCounterReportActiveGrpCriteria--; | 812 buildCounterReportActiveGrpCriteria--; |
| 813 return o; | 813 return o; |
| 814 } | 814 } |
| 815 | 815 |
| 816 checkReportActiveGrpCriteria(api.ReportActiveGrpCriteria o) { | 816 checkReportActiveGrpCriteria(api.ReportActiveGrpCriteria o) { |
| 817 buildCounterReportActiveGrpCriteria++; | 817 buildCounterReportActiveGrpCriteria++; |
| 818 if (buildCounterReportActiveGrpCriteria < 3) { | 818 if (buildCounterReportActiveGrpCriteria < 3) { |
| 819 checkDateRange(o.dateRange); | 819 checkDateRange(o.dateRange); |
| 820 checkUnnamed209(o.dimensionFilters); | 820 checkUnnamed646(o.dimensionFilters); |
| 821 checkUnnamed210(o.dimensions); | 821 checkUnnamed647(o.dimensions); |
| 822 checkUnnamed211(o.metricNames); | 822 checkUnnamed648(o.metricNames); |
| 823 } | 823 } |
| 824 buildCounterReportActiveGrpCriteria--; | 824 buildCounterReportActiveGrpCriteria--; |
| 825 } | 825 } |
| 826 | 826 |
| 827 buildUnnamed212() { | 827 buildUnnamed649() { |
| 828 var o = new core.List<api.DimensionValue>(); | 828 var o = new core.List<api.DimensionValue>(); |
| 829 o.add(buildDimensionValue()); | 829 o.add(buildDimensionValue()); |
| 830 o.add(buildDimensionValue()); | 830 o.add(buildDimensionValue()); |
| 831 return o; | 831 return o; |
| 832 } | 832 } |
| 833 | 833 |
| 834 checkUnnamed212(core.List<api.DimensionValue> o) { | 834 checkUnnamed649(core.List<api.DimensionValue> o) { |
| 835 unittest.expect(o, unittest.hasLength(2)); | 835 unittest.expect(o, unittest.hasLength(2)); |
| 836 checkDimensionValue(o[0]); | 836 checkDimensionValue(o[0]); |
| 837 checkDimensionValue(o[1]); | 837 checkDimensionValue(o[1]); |
| 838 } | 838 } |
| 839 | 839 |
| 840 buildUnnamed213() { | 840 buildUnnamed650() { |
| 841 var o = new core.List<api.SortedDimension>(); | 841 var o = new core.List<api.SortedDimension>(); |
| 842 o.add(buildSortedDimension()); | 842 o.add(buildSortedDimension()); |
| 843 o.add(buildSortedDimension()); | 843 o.add(buildSortedDimension()); |
| 844 return o; | 844 return o; |
| 845 } | 845 } |
| 846 | 846 |
| 847 checkUnnamed213(core.List<api.SortedDimension> o) { | 847 checkUnnamed650(core.List<api.SortedDimension> o) { |
| 848 unittest.expect(o, unittest.hasLength(2)); | 848 unittest.expect(o, unittest.hasLength(2)); |
| 849 checkSortedDimension(o[0]); | 849 checkSortedDimension(o[0]); |
| 850 checkSortedDimension(o[1]); | 850 checkSortedDimension(o[1]); |
| 851 } | 851 } |
| 852 | 852 |
| 853 buildUnnamed214() { | 853 buildUnnamed651() { |
| 854 var o = new core.List<core.String>(); | 854 var o = new core.List<core.String>(); |
| 855 o.add("foo"); | 855 o.add("foo"); |
| 856 o.add("foo"); | 856 o.add("foo"); |
| 857 return o; | 857 return o; |
| 858 } | 858 } |
| 859 | 859 |
| 860 checkUnnamed214(core.List<core.String> o) { | 860 checkUnnamed651(core.List<core.String> o) { |
| 861 unittest.expect(o, unittest.hasLength(2)); | 861 unittest.expect(o, unittest.hasLength(2)); |
| 862 unittest.expect(o[0], unittest.equals('foo')); | 862 unittest.expect(o[0], unittest.equals('foo')); |
| 863 unittest.expect(o[1], unittest.equals('foo')); | 863 unittest.expect(o[1], unittest.equals('foo')); |
| 864 } | 864 } |
| 865 | 865 |
| 866 core.int buildCounterReportCriteria = 0; | 866 core.int buildCounterReportCriteria = 0; |
| 867 buildReportCriteria() { | 867 buildReportCriteria() { |
| 868 var o = new api.ReportCriteria(); | 868 var o = new api.ReportCriteria(); |
| 869 buildCounterReportCriteria++; | 869 buildCounterReportCriteria++; |
| 870 if (buildCounterReportCriteria < 3) { | 870 if (buildCounterReportCriteria < 3) { |
| 871 o.activities = buildActivities(); | 871 o.activities = buildActivities(); |
| 872 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 872 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 873 o.dateRange = buildDateRange(); | 873 o.dateRange = buildDateRange(); |
| 874 o.dimensionFilters = buildUnnamed212(); | 874 o.dimensionFilters = buildUnnamed649(); |
| 875 o.dimensions = buildUnnamed213(); | 875 o.dimensions = buildUnnamed650(); |
| 876 o.metricNames = buildUnnamed214(); | 876 o.metricNames = buildUnnamed651(); |
| 877 } | 877 } |
| 878 buildCounterReportCriteria--; | 878 buildCounterReportCriteria--; |
| 879 return o; | 879 return o; |
| 880 } | 880 } |
| 881 | 881 |
| 882 checkReportCriteria(api.ReportCriteria o) { | 882 checkReportCriteria(api.ReportCriteria o) { |
| 883 buildCounterReportCriteria++; | 883 buildCounterReportCriteria++; |
| 884 if (buildCounterReportCriteria < 3) { | 884 if (buildCounterReportCriteria < 3) { |
| 885 checkActivities(o.activities); | 885 checkActivities(o.activities); |
| 886 checkCustomRichMediaEvents(o.customRichMediaEvents); | 886 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 887 checkDateRange(o.dateRange); | 887 checkDateRange(o.dateRange); |
| 888 checkUnnamed212(o.dimensionFilters); | 888 checkUnnamed649(o.dimensionFilters); |
| 889 checkUnnamed213(o.dimensions); | 889 checkUnnamed650(o.dimensions); |
| 890 checkUnnamed214(o.metricNames); | 890 checkUnnamed651(o.metricNames); |
| 891 } | 891 } |
| 892 buildCounterReportCriteria--; | 892 buildCounterReportCriteria--; |
| 893 } | 893 } |
| 894 | 894 |
| 895 buildUnnamed215() { | 895 buildUnnamed652() { |
| 896 var o = new core.List<api.SortedDimension>(); | 896 var o = new core.List<api.SortedDimension>(); |
| 897 o.add(buildSortedDimension()); | 897 o.add(buildSortedDimension()); |
| 898 o.add(buildSortedDimension()); | 898 o.add(buildSortedDimension()); |
| 899 return o; | 899 return o; |
| 900 } | 900 } |
| 901 | 901 |
| 902 checkUnnamed215(core.List<api.SortedDimension> o) { | 902 checkUnnamed652(core.List<api.SortedDimension> o) { |
| 903 unittest.expect(o, unittest.hasLength(2)); | 903 unittest.expect(o, unittest.hasLength(2)); |
| 904 checkSortedDimension(o[0]); | 904 checkSortedDimension(o[0]); |
| 905 checkSortedDimension(o[1]); | 905 checkSortedDimension(o[1]); |
| 906 } | 906 } |
| 907 | 907 |
| 908 buildUnnamed216() { | 908 buildUnnamed653() { |
| 909 var o = new core.List<api.DimensionValue>(); | 909 var o = new core.List<api.DimensionValue>(); |
| 910 o.add(buildDimensionValue()); | 910 o.add(buildDimensionValue()); |
| 911 o.add(buildDimensionValue()); | 911 o.add(buildDimensionValue()); |
| 912 return o; | 912 return o; |
| 913 } | 913 } |
| 914 | 914 |
| 915 checkUnnamed216(core.List<api.DimensionValue> o) { | 915 checkUnnamed653(core.List<api.DimensionValue> o) { |
| 916 unittest.expect(o, unittest.hasLength(2)); | 916 unittest.expect(o, unittest.hasLength(2)); |
| 917 checkDimensionValue(o[0]); | 917 checkDimensionValue(o[0]); |
| 918 checkDimensionValue(o[1]); | 918 checkDimensionValue(o[1]); |
| 919 } | 919 } |
| 920 | 920 |
| 921 buildUnnamed217() { | 921 buildUnnamed654() { |
| 922 var o = new core.List<core.String>(); | 922 var o = new core.List<core.String>(); |
| 923 o.add("foo"); | 923 o.add("foo"); |
| 924 o.add("foo"); | 924 o.add("foo"); |
| 925 return o; | 925 return o; |
| 926 } | 926 } |
| 927 | 927 |
| 928 checkUnnamed217(core.List<core.String> o) { | 928 checkUnnamed654(core.List<core.String> o) { |
| 929 unittest.expect(o, unittest.hasLength(2)); | 929 unittest.expect(o, unittest.hasLength(2)); |
| 930 unittest.expect(o[0], unittest.equals('foo')); | 930 unittest.expect(o[0], unittest.equals('foo')); |
| 931 unittest.expect(o[1], unittest.equals('foo')); | 931 unittest.expect(o[1], unittest.equals('foo')); |
| 932 } | 932 } |
| 933 | 933 |
| 934 buildUnnamed218() { | 934 buildUnnamed655() { |
| 935 var o = new core.List<core.String>(); | 935 var o = new core.List<core.String>(); |
| 936 o.add("foo"); | 936 o.add("foo"); |
| 937 o.add("foo"); | 937 o.add("foo"); |
| 938 return o; | 938 return o; |
| 939 } | 939 } |
| 940 | 940 |
| 941 checkUnnamed218(core.List<core.String> o) { | 941 checkUnnamed655(core.List<core.String> o) { |
| 942 unittest.expect(o, unittest.hasLength(2)); | 942 unittest.expect(o, unittest.hasLength(2)); |
| 943 unittest.expect(o[0], unittest.equals('foo')); | 943 unittest.expect(o[0], unittest.equals('foo')); |
| 944 unittest.expect(o[1], unittest.equals('foo')); | 944 unittest.expect(o[1], unittest.equals('foo')); |
| 945 } | 945 } |
| 946 | 946 |
| 947 core.int buildCounterReportCrossDimensionReachCriteria = 0; | 947 core.int buildCounterReportCrossDimensionReachCriteria = 0; |
| 948 buildReportCrossDimensionReachCriteria() { | 948 buildReportCrossDimensionReachCriteria() { |
| 949 var o = new api.ReportCrossDimensionReachCriteria(); | 949 var o = new api.ReportCrossDimensionReachCriteria(); |
| 950 buildCounterReportCrossDimensionReachCriteria++; | 950 buildCounterReportCrossDimensionReachCriteria++; |
| 951 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 951 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 952 o.breakdown = buildUnnamed215(); | 952 o.breakdown = buildUnnamed652(); |
| 953 o.dateRange = buildDateRange(); | 953 o.dateRange = buildDateRange(); |
| 954 o.dimension = "foo"; | 954 o.dimension = "foo"; |
| 955 o.dimensionFilters = buildUnnamed216(); | 955 o.dimensionFilters = buildUnnamed653(); |
| 956 o.metricNames = buildUnnamed217(); | 956 o.metricNames = buildUnnamed654(); |
| 957 o.overlapMetricNames = buildUnnamed218(); | 957 o.overlapMetricNames = buildUnnamed655(); |
| 958 o.pivoted = true; | 958 o.pivoted = true; |
| 959 } | 959 } |
| 960 buildCounterReportCrossDimensionReachCriteria--; | 960 buildCounterReportCrossDimensionReachCriteria--; |
| 961 return o; | 961 return o; |
| 962 } | 962 } |
| 963 | 963 |
| 964 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ | 964 checkReportCrossDimensionReachCriteria(api.ReportCrossDimensionReachCriteria o)
{ |
| 965 buildCounterReportCrossDimensionReachCriteria++; | 965 buildCounterReportCrossDimensionReachCriteria++; |
| 966 if (buildCounterReportCrossDimensionReachCriteria < 3) { | 966 if (buildCounterReportCrossDimensionReachCriteria < 3) { |
| 967 checkUnnamed215(o.breakdown); | 967 checkUnnamed652(o.breakdown); |
| 968 checkDateRange(o.dateRange); | 968 checkDateRange(o.dateRange); |
| 969 unittest.expect(o.dimension, unittest.equals('foo')); | 969 unittest.expect(o.dimension, unittest.equals('foo')); |
| 970 checkUnnamed216(o.dimensionFilters); | 970 checkUnnamed653(o.dimensionFilters); |
| 971 checkUnnamed217(o.metricNames); | 971 checkUnnamed654(o.metricNames); |
| 972 checkUnnamed218(o.overlapMetricNames); | 972 checkUnnamed655(o.overlapMetricNames); |
| 973 unittest.expect(o.pivoted, unittest.isTrue); | 973 unittest.expect(o.pivoted, unittest.isTrue); |
| 974 } | 974 } |
| 975 buildCounterReportCrossDimensionReachCriteria--; | 975 buildCounterReportCrossDimensionReachCriteria--; |
| 976 } | 976 } |
| 977 | 977 |
| 978 buildUnnamed219() { | 978 buildUnnamed656() { |
| 979 var o = new core.List<api.Recipient>(); | 979 var o = new core.List<api.Recipient>(); |
| 980 o.add(buildRecipient()); | 980 o.add(buildRecipient()); |
| 981 o.add(buildRecipient()); | 981 o.add(buildRecipient()); |
| 982 return o; | 982 return o; |
| 983 } | 983 } |
| 984 | 984 |
| 985 checkUnnamed219(core.List<api.Recipient> o) { | 985 checkUnnamed656(core.List<api.Recipient> o) { |
| 986 unittest.expect(o, unittest.hasLength(2)); | 986 unittest.expect(o, unittest.hasLength(2)); |
| 987 checkRecipient(o[0]); | 987 checkRecipient(o[0]); |
| 988 checkRecipient(o[1]); | 988 checkRecipient(o[1]); |
| 989 } | 989 } |
| 990 | 990 |
| 991 core.int buildCounterReportDelivery = 0; | 991 core.int buildCounterReportDelivery = 0; |
| 992 buildReportDelivery() { | 992 buildReportDelivery() { |
| 993 var o = new api.ReportDelivery(); | 993 var o = new api.ReportDelivery(); |
| 994 buildCounterReportDelivery++; | 994 buildCounterReportDelivery++; |
| 995 if (buildCounterReportDelivery < 3) { | 995 if (buildCounterReportDelivery < 3) { |
| 996 o.emailOwner = true; | 996 o.emailOwner = true; |
| 997 o.emailOwnerDeliveryType = "foo"; | 997 o.emailOwnerDeliveryType = "foo"; |
| 998 o.message = "foo"; | 998 o.message = "foo"; |
| 999 o.recipients = buildUnnamed219(); | 999 o.recipients = buildUnnamed656(); |
| 1000 } | 1000 } |
| 1001 buildCounterReportDelivery--; | 1001 buildCounterReportDelivery--; |
| 1002 return o; | 1002 return o; |
| 1003 } | 1003 } |
| 1004 | 1004 |
| 1005 checkReportDelivery(api.ReportDelivery o) { | 1005 checkReportDelivery(api.ReportDelivery o) { |
| 1006 buildCounterReportDelivery++; | 1006 buildCounterReportDelivery++; |
| 1007 if (buildCounterReportDelivery < 3) { | 1007 if (buildCounterReportDelivery < 3) { |
| 1008 unittest.expect(o.emailOwner, unittest.isTrue); | 1008 unittest.expect(o.emailOwner, unittest.isTrue); |
| 1009 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); | 1009 unittest.expect(o.emailOwnerDeliveryType, unittest.equals('foo')); |
| 1010 unittest.expect(o.message, unittest.equals('foo')); | 1010 unittest.expect(o.message, unittest.equals('foo')); |
| 1011 checkUnnamed219(o.recipients); | 1011 checkUnnamed656(o.recipients); |
| 1012 } | 1012 } |
| 1013 buildCounterReportDelivery--; | 1013 buildCounterReportDelivery--; |
| 1014 } | 1014 } |
| 1015 | 1015 |
| 1016 buildUnnamed220() { | 1016 buildUnnamed657() { |
| 1017 var o = new core.List<api.DimensionValue>(); | 1017 var o = new core.List<api.DimensionValue>(); |
| 1018 o.add(buildDimensionValue()); | 1018 o.add(buildDimensionValue()); |
| 1019 o.add(buildDimensionValue()); | 1019 o.add(buildDimensionValue()); |
| 1020 return o; | 1020 return o; |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 checkUnnamed220(core.List<api.DimensionValue> o) { | 1023 checkUnnamed657(core.List<api.DimensionValue> o) { |
| 1024 unittest.expect(o, unittest.hasLength(2)); | 1024 unittest.expect(o, unittest.hasLength(2)); |
| 1025 checkDimensionValue(o[0]); | 1025 checkDimensionValue(o[0]); |
| 1026 checkDimensionValue(o[1]); | 1026 checkDimensionValue(o[1]); |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 buildUnnamed221() { | 1029 buildUnnamed658() { |
| 1030 var o = new core.List<api.DimensionValue>(); | 1030 var o = new core.List<api.DimensionValue>(); |
| 1031 o.add(buildDimensionValue()); | 1031 o.add(buildDimensionValue()); |
| 1032 o.add(buildDimensionValue()); | 1032 o.add(buildDimensionValue()); |
| 1033 return o; | 1033 return o; |
| 1034 } | 1034 } |
| 1035 | 1035 |
| 1036 checkUnnamed221(core.List<api.DimensionValue> o) { | 1036 checkUnnamed658(core.List<api.DimensionValue> o) { |
| 1037 unittest.expect(o, unittest.hasLength(2)); | 1037 unittest.expect(o, unittest.hasLength(2)); |
| 1038 checkDimensionValue(o[0]); | 1038 checkDimensionValue(o[0]); |
| 1039 checkDimensionValue(o[1]); | 1039 checkDimensionValue(o[1]); |
| 1040 } | 1040 } |
| 1041 | 1041 |
| 1042 buildUnnamed222() { | 1042 buildUnnamed659() { |
| 1043 var o = new core.List<api.SortedDimension>(); | 1043 var o = new core.List<api.SortedDimension>(); |
| 1044 o.add(buildSortedDimension()); | 1044 o.add(buildSortedDimension()); |
| 1045 o.add(buildSortedDimension()); | 1045 o.add(buildSortedDimension()); |
| 1046 return o; | 1046 return o; |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 checkUnnamed222(core.List<api.SortedDimension> o) { | 1049 checkUnnamed659(core.List<api.SortedDimension> o) { |
| 1050 unittest.expect(o, unittest.hasLength(2)); | 1050 unittest.expect(o, unittest.hasLength(2)); |
| 1051 checkSortedDimension(o[0]); | 1051 checkSortedDimension(o[0]); |
| 1052 checkSortedDimension(o[1]); | 1052 checkSortedDimension(o[1]); |
| 1053 } | 1053 } |
| 1054 | 1054 |
| 1055 buildUnnamed223() { | 1055 buildUnnamed660() { |
| 1056 var o = new core.List<core.String>(); | 1056 var o = new core.List<core.String>(); |
| 1057 o.add("foo"); | 1057 o.add("foo"); |
| 1058 o.add("foo"); | 1058 o.add("foo"); |
| 1059 return o; | 1059 return o; |
| 1060 } | 1060 } |
| 1061 | 1061 |
| 1062 checkUnnamed223(core.List<core.String> o) { | 1062 checkUnnamed660(core.List<core.String> o) { |
| 1063 unittest.expect(o, unittest.hasLength(2)); | 1063 unittest.expect(o, unittest.hasLength(2)); |
| 1064 unittest.expect(o[0], unittest.equals('foo')); | 1064 unittest.expect(o[0], unittest.equals('foo')); |
| 1065 unittest.expect(o[1], unittest.equals('foo')); | 1065 unittest.expect(o[1], unittest.equals('foo')); |
| 1066 } | 1066 } |
| 1067 | 1067 |
| 1068 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; | 1068 core.int buildCounterReportFloodlightCriteriaReportProperties = 0; |
| 1069 buildReportFloodlightCriteriaReportProperties() { | 1069 buildReportFloodlightCriteriaReportProperties() { |
| 1070 var o = new api.ReportFloodlightCriteriaReportProperties(); | 1070 var o = new api.ReportFloodlightCriteriaReportProperties(); |
| 1071 buildCounterReportFloodlightCriteriaReportProperties++; | 1071 buildCounterReportFloodlightCriteriaReportProperties++; |
| 1072 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { | 1072 if (buildCounterReportFloodlightCriteriaReportProperties < 3) { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1086 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); | 1086 unittest.expect(o.includeUnattributedIPConversions, unittest.isTrue); |
| 1087 } | 1087 } |
| 1088 buildCounterReportFloodlightCriteriaReportProperties--; | 1088 buildCounterReportFloodlightCriteriaReportProperties--; |
| 1089 } | 1089 } |
| 1090 | 1090 |
| 1091 core.int buildCounterReportFloodlightCriteria = 0; | 1091 core.int buildCounterReportFloodlightCriteria = 0; |
| 1092 buildReportFloodlightCriteria() { | 1092 buildReportFloodlightCriteria() { |
| 1093 var o = new api.ReportFloodlightCriteria(); | 1093 var o = new api.ReportFloodlightCriteria(); |
| 1094 buildCounterReportFloodlightCriteria++; | 1094 buildCounterReportFloodlightCriteria++; |
| 1095 if (buildCounterReportFloodlightCriteria < 3) { | 1095 if (buildCounterReportFloodlightCriteria < 3) { |
| 1096 o.customRichMediaEvents = buildUnnamed220(); | 1096 o.customRichMediaEvents = buildUnnamed657(); |
| 1097 o.dateRange = buildDateRange(); | 1097 o.dateRange = buildDateRange(); |
| 1098 o.dimensionFilters = buildUnnamed221(); | 1098 o.dimensionFilters = buildUnnamed658(); |
| 1099 o.dimensions = buildUnnamed222(); | 1099 o.dimensions = buildUnnamed659(); |
| 1100 o.floodlightConfigId = buildDimensionValue(); | 1100 o.floodlightConfigId = buildDimensionValue(); |
| 1101 o.metricNames = buildUnnamed223(); | 1101 o.metricNames = buildUnnamed660(); |
| 1102 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); | 1102 o.reportProperties = buildReportFloodlightCriteriaReportProperties(); |
| 1103 } | 1103 } |
| 1104 buildCounterReportFloodlightCriteria--; | 1104 buildCounterReportFloodlightCriteria--; |
| 1105 return o; | 1105 return o; |
| 1106 } | 1106 } |
| 1107 | 1107 |
| 1108 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { | 1108 checkReportFloodlightCriteria(api.ReportFloodlightCriteria o) { |
| 1109 buildCounterReportFloodlightCriteria++; | 1109 buildCounterReportFloodlightCriteria++; |
| 1110 if (buildCounterReportFloodlightCriteria < 3) { | 1110 if (buildCounterReportFloodlightCriteria < 3) { |
| 1111 checkUnnamed220(o.customRichMediaEvents); | 1111 checkUnnamed657(o.customRichMediaEvents); |
| 1112 checkDateRange(o.dateRange); | 1112 checkDateRange(o.dateRange); |
| 1113 checkUnnamed221(o.dimensionFilters); | 1113 checkUnnamed658(o.dimensionFilters); |
| 1114 checkUnnamed222(o.dimensions); | 1114 checkUnnamed659(o.dimensions); |
| 1115 checkDimensionValue(o.floodlightConfigId); | 1115 checkDimensionValue(o.floodlightConfigId); |
| 1116 checkUnnamed223(o.metricNames); | 1116 checkUnnamed660(o.metricNames); |
| 1117 checkReportFloodlightCriteriaReportProperties(o.reportProperties); | 1117 checkReportFloodlightCriteriaReportProperties(o.reportProperties); |
| 1118 } | 1118 } |
| 1119 buildCounterReportFloodlightCriteria--; | 1119 buildCounterReportFloodlightCriteria--; |
| 1120 } | 1120 } |
| 1121 | 1121 |
| 1122 buildUnnamed224() { | 1122 buildUnnamed661() { |
| 1123 var o = new core.List<api.DimensionValue>(); | 1123 var o = new core.List<api.DimensionValue>(); |
| 1124 o.add(buildDimensionValue()); | 1124 o.add(buildDimensionValue()); |
| 1125 o.add(buildDimensionValue()); | 1125 o.add(buildDimensionValue()); |
| 1126 return o; | 1126 return o; |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 checkUnnamed224(core.List<api.DimensionValue> o) { | 1129 checkUnnamed661(core.List<api.DimensionValue> o) { |
| 1130 unittest.expect(o, unittest.hasLength(2)); | 1130 unittest.expect(o, unittest.hasLength(2)); |
| 1131 checkDimensionValue(o[0]); | 1131 checkDimensionValue(o[0]); |
| 1132 checkDimensionValue(o[1]); | 1132 checkDimensionValue(o[1]); |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 buildUnnamed225() { | 1135 buildUnnamed662() { |
| 1136 var o = new core.List<api.SortedDimension>(); | 1136 var o = new core.List<api.SortedDimension>(); |
| 1137 o.add(buildSortedDimension()); | 1137 o.add(buildSortedDimension()); |
| 1138 o.add(buildSortedDimension()); | 1138 o.add(buildSortedDimension()); |
| 1139 return o; | 1139 return o; |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 checkUnnamed225(core.List<api.SortedDimension> o) { | 1142 checkUnnamed662(core.List<api.SortedDimension> o) { |
| 1143 unittest.expect(o, unittest.hasLength(2)); | 1143 unittest.expect(o, unittest.hasLength(2)); |
| 1144 checkSortedDimension(o[0]); | 1144 checkSortedDimension(o[0]); |
| 1145 checkSortedDimension(o[1]); | 1145 checkSortedDimension(o[1]); |
| 1146 } | 1146 } |
| 1147 | 1147 |
| 1148 buildUnnamed226() { | 1148 buildUnnamed663() { |
| 1149 var o = new core.List<api.SortedDimension>(); | 1149 var o = new core.List<api.SortedDimension>(); |
| 1150 o.add(buildSortedDimension()); | 1150 o.add(buildSortedDimension()); |
| 1151 o.add(buildSortedDimension()); | 1151 o.add(buildSortedDimension()); |
| 1152 return o; | 1152 return o; |
| 1153 } | 1153 } |
| 1154 | 1154 |
| 1155 checkUnnamed226(core.List<api.SortedDimension> o) { | 1155 checkUnnamed663(core.List<api.SortedDimension> o) { |
| 1156 unittest.expect(o, unittest.hasLength(2)); | 1156 unittest.expect(o, unittest.hasLength(2)); |
| 1157 checkSortedDimension(o[0]); | 1157 checkSortedDimension(o[0]); |
| 1158 checkSortedDimension(o[1]); | 1158 checkSortedDimension(o[1]); |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 buildUnnamed227() { | 1161 buildUnnamed664() { |
| 1162 var o = new core.List<api.DimensionValue>(); | 1162 var o = new core.List<api.DimensionValue>(); |
| 1163 o.add(buildDimensionValue()); | 1163 o.add(buildDimensionValue()); |
| 1164 o.add(buildDimensionValue()); | 1164 o.add(buildDimensionValue()); |
| 1165 return o; | 1165 return o; |
| 1166 } | 1166 } |
| 1167 | 1167 |
| 1168 checkUnnamed227(core.List<api.DimensionValue> o) { | 1168 checkUnnamed664(core.List<api.DimensionValue> o) { |
| 1169 unittest.expect(o, unittest.hasLength(2)); | 1169 unittest.expect(o, unittest.hasLength(2)); |
| 1170 checkDimensionValue(o[0]); | 1170 checkDimensionValue(o[0]); |
| 1171 checkDimensionValue(o[1]); | 1171 checkDimensionValue(o[1]); |
| 1172 } | 1172 } |
| 1173 | 1173 |
| 1174 buildUnnamed228() { | 1174 buildUnnamed665() { |
| 1175 var o = new core.List<core.String>(); | 1175 var o = new core.List<core.String>(); |
| 1176 o.add("foo"); | 1176 o.add("foo"); |
| 1177 o.add("foo"); | 1177 o.add("foo"); |
| 1178 return o; | 1178 return o; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 checkUnnamed228(core.List<core.String> o) { | 1181 checkUnnamed665(core.List<core.String> o) { |
| 1182 unittest.expect(o, unittest.hasLength(2)); | 1182 unittest.expect(o, unittest.hasLength(2)); |
| 1183 unittest.expect(o[0], unittest.equals('foo')); | 1183 unittest.expect(o[0], unittest.equals('foo')); |
| 1184 unittest.expect(o[1], unittest.equals('foo')); | 1184 unittest.expect(o[1], unittest.equals('foo')); |
| 1185 } | 1185 } |
| 1186 | 1186 |
| 1187 buildUnnamed229() { | 1187 buildUnnamed666() { |
| 1188 var o = new core.List<api.SortedDimension>(); | 1188 var o = new core.List<api.SortedDimension>(); |
| 1189 o.add(buildSortedDimension()); | 1189 o.add(buildSortedDimension()); |
| 1190 o.add(buildSortedDimension()); | 1190 o.add(buildSortedDimension()); |
| 1191 return o; | 1191 return o; |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 checkUnnamed229(core.List<api.SortedDimension> o) { | 1194 checkUnnamed666(core.List<api.SortedDimension> o) { |
| 1195 unittest.expect(o, unittest.hasLength(2)); | 1195 unittest.expect(o, unittest.hasLength(2)); |
| 1196 checkSortedDimension(o[0]); | 1196 checkSortedDimension(o[0]); |
| 1197 checkSortedDimension(o[1]); | 1197 checkSortedDimension(o[1]); |
| 1198 } | 1198 } |
| 1199 | 1199 |
| 1200 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; | 1200 core.int buildCounterReportPathToConversionCriteriaReportProperties = 0; |
| 1201 buildReportPathToConversionCriteriaReportProperties() { | 1201 buildReportPathToConversionCriteriaReportProperties() { |
| 1202 var o = new api.ReportPathToConversionCriteriaReportProperties(); | 1202 var o = new api.ReportPathToConversionCriteriaReportProperties(); |
| 1203 buildCounterReportPathToConversionCriteriaReportProperties++; | 1203 buildCounterReportPathToConversionCriteriaReportProperties++; |
| 1204 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { | 1204 if (buildCounterReportPathToConversionCriteriaReportProperties < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 1230 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); | 1230 unittest.expect(o.pivotOnInteractionPath, unittest.isTrue); |
| 1231 } | 1231 } |
| 1232 buildCounterReportPathToConversionCriteriaReportProperties--; | 1232 buildCounterReportPathToConversionCriteriaReportProperties--; |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 core.int buildCounterReportPathToConversionCriteria = 0; | 1235 core.int buildCounterReportPathToConversionCriteria = 0; |
| 1236 buildReportPathToConversionCriteria() { | 1236 buildReportPathToConversionCriteria() { |
| 1237 var o = new api.ReportPathToConversionCriteria(); | 1237 var o = new api.ReportPathToConversionCriteria(); |
| 1238 buildCounterReportPathToConversionCriteria++; | 1238 buildCounterReportPathToConversionCriteria++; |
| 1239 if (buildCounterReportPathToConversionCriteria < 3) { | 1239 if (buildCounterReportPathToConversionCriteria < 3) { |
| 1240 o.activityFilters = buildUnnamed224(); | 1240 o.activityFilters = buildUnnamed661(); |
| 1241 o.conversionDimensions = buildUnnamed225(); | 1241 o.conversionDimensions = buildUnnamed662(); |
| 1242 o.customFloodlightVariables = buildUnnamed226(); | 1242 o.customFloodlightVariables = buildUnnamed663(); |
| 1243 o.customRichMediaEvents = buildUnnamed227(); | 1243 o.customRichMediaEvents = buildUnnamed664(); |
| 1244 o.dateRange = buildDateRange(); | 1244 o.dateRange = buildDateRange(); |
| 1245 o.floodlightConfigId = buildDimensionValue(); | 1245 o.floodlightConfigId = buildDimensionValue(); |
| 1246 o.metricNames = buildUnnamed228(); | 1246 o.metricNames = buildUnnamed665(); |
| 1247 o.perInteractionDimensions = buildUnnamed229(); | 1247 o.perInteractionDimensions = buildUnnamed666(); |
| 1248 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); | 1248 o.reportProperties = buildReportPathToConversionCriteriaReportProperties(); |
| 1249 } | 1249 } |
| 1250 buildCounterReportPathToConversionCriteria--; | 1250 buildCounterReportPathToConversionCriteria--; |
| 1251 return o; | 1251 return o; |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { | 1254 checkReportPathToConversionCriteria(api.ReportPathToConversionCriteria o) { |
| 1255 buildCounterReportPathToConversionCriteria++; | 1255 buildCounterReportPathToConversionCriteria++; |
| 1256 if (buildCounterReportPathToConversionCriteria < 3) { | 1256 if (buildCounterReportPathToConversionCriteria < 3) { |
| 1257 checkUnnamed224(o.activityFilters); | 1257 checkUnnamed661(o.activityFilters); |
| 1258 checkUnnamed225(o.conversionDimensions); | 1258 checkUnnamed662(o.conversionDimensions); |
| 1259 checkUnnamed226(o.customFloodlightVariables); | 1259 checkUnnamed663(o.customFloodlightVariables); |
| 1260 checkUnnamed227(o.customRichMediaEvents); | 1260 checkUnnamed664(o.customRichMediaEvents); |
| 1261 checkDateRange(o.dateRange); | 1261 checkDateRange(o.dateRange); |
| 1262 checkDimensionValue(o.floodlightConfigId); | 1262 checkDimensionValue(o.floodlightConfigId); |
| 1263 checkUnnamed228(o.metricNames); | 1263 checkUnnamed665(o.metricNames); |
| 1264 checkUnnamed229(o.perInteractionDimensions); | 1264 checkUnnamed666(o.perInteractionDimensions); |
| 1265 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); | 1265 checkReportPathToConversionCriteriaReportProperties(o.reportProperties); |
| 1266 } | 1266 } |
| 1267 buildCounterReportPathToConversionCriteria--; | 1267 buildCounterReportPathToConversionCriteria--; |
| 1268 } | 1268 } |
| 1269 | 1269 |
| 1270 buildUnnamed230() { | 1270 buildUnnamed667() { |
| 1271 var o = new core.List<api.DimensionValue>(); | 1271 var o = new core.List<api.DimensionValue>(); |
| 1272 o.add(buildDimensionValue()); | 1272 o.add(buildDimensionValue()); |
| 1273 o.add(buildDimensionValue()); | 1273 o.add(buildDimensionValue()); |
| 1274 return o; | 1274 return o; |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 checkUnnamed230(core.List<api.DimensionValue> o) { | 1277 checkUnnamed667(core.List<api.DimensionValue> o) { |
| 1278 unittest.expect(o, unittest.hasLength(2)); | 1278 unittest.expect(o, unittest.hasLength(2)); |
| 1279 checkDimensionValue(o[0]); | 1279 checkDimensionValue(o[0]); |
| 1280 checkDimensionValue(o[1]); | 1280 checkDimensionValue(o[1]); |
| 1281 } | 1281 } |
| 1282 | 1282 |
| 1283 buildUnnamed231() { | 1283 buildUnnamed668() { |
| 1284 var o = new core.List<api.SortedDimension>(); | 1284 var o = new core.List<api.SortedDimension>(); |
| 1285 o.add(buildSortedDimension()); | 1285 o.add(buildSortedDimension()); |
| 1286 o.add(buildSortedDimension()); | 1286 o.add(buildSortedDimension()); |
| 1287 return o; | 1287 return o; |
| 1288 } | 1288 } |
| 1289 | 1289 |
| 1290 checkUnnamed231(core.List<api.SortedDimension> o) { | 1290 checkUnnamed668(core.List<api.SortedDimension> o) { |
| 1291 unittest.expect(o, unittest.hasLength(2)); | 1291 unittest.expect(o, unittest.hasLength(2)); |
| 1292 checkSortedDimension(o[0]); | 1292 checkSortedDimension(o[0]); |
| 1293 checkSortedDimension(o[1]); | 1293 checkSortedDimension(o[1]); |
| 1294 } | 1294 } |
| 1295 | 1295 |
| 1296 buildUnnamed232() { | 1296 buildUnnamed669() { |
| 1297 var o = new core.List<core.String>(); | 1297 var o = new core.List<core.String>(); |
| 1298 o.add("foo"); | 1298 o.add("foo"); |
| 1299 o.add("foo"); | 1299 o.add("foo"); |
| 1300 return o; | 1300 return o; |
| 1301 } | 1301 } |
| 1302 | 1302 |
| 1303 checkUnnamed232(core.List<core.String> o) { | 1303 checkUnnamed669(core.List<core.String> o) { |
| 1304 unittest.expect(o, unittest.hasLength(2)); | 1304 unittest.expect(o, unittest.hasLength(2)); |
| 1305 unittest.expect(o[0], unittest.equals('foo')); | 1305 unittest.expect(o[0], unittest.equals('foo')); |
| 1306 unittest.expect(o[1], unittest.equals('foo')); | 1306 unittest.expect(o[1], unittest.equals('foo')); |
| 1307 } | 1307 } |
| 1308 | 1308 |
| 1309 buildUnnamed233() { | 1309 buildUnnamed670() { |
| 1310 var o = new core.List<core.String>(); | 1310 var o = new core.List<core.String>(); |
| 1311 o.add("foo"); | 1311 o.add("foo"); |
| 1312 o.add("foo"); | 1312 o.add("foo"); |
| 1313 return o; | 1313 return o; |
| 1314 } | 1314 } |
| 1315 | 1315 |
| 1316 checkUnnamed233(core.List<core.String> o) { | 1316 checkUnnamed670(core.List<core.String> o) { |
| 1317 unittest.expect(o, unittest.hasLength(2)); | 1317 unittest.expect(o, unittest.hasLength(2)); |
| 1318 unittest.expect(o[0], unittest.equals('foo')); | 1318 unittest.expect(o[0], unittest.equals('foo')); |
| 1319 unittest.expect(o[1], unittest.equals('foo')); | 1319 unittest.expect(o[1], unittest.equals('foo')); |
| 1320 } | 1320 } |
| 1321 | 1321 |
| 1322 core.int buildCounterReportReachCriteria = 0; | 1322 core.int buildCounterReportReachCriteria = 0; |
| 1323 buildReportReachCriteria() { | 1323 buildReportReachCriteria() { |
| 1324 var o = new api.ReportReachCriteria(); | 1324 var o = new api.ReportReachCriteria(); |
| 1325 buildCounterReportReachCriteria++; | 1325 buildCounterReportReachCriteria++; |
| 1326 if (buildCounterReportReachCriteria < 3) { | 1326 if (buildCounterReportReachCriteria < 3) { |
| 1327 o.activities = buildActivities(); | 1327 o.activities = buildActivities(); |
| 1328 o.customRichMediaEvents = buildCustomRichMediaEvents(); | 1328 o.customRichMediaEvents = buildCustomRichMediaEvents(); |
| 1329 o.dateRange = buildDateRange(); | 1329 o.dateRange = buildDateRange(); |
| 1330 o.dimensionFilters = buildUnnamed230(); | 1330 o.dimensionFilters = buildUnnamed667(); |
| 1331 o.dimensions = buildUnnamed231(); | 1331 o.dimensions = buildUnnamed668(); |
| 1332 o.metricNames = buildUnnamed232(); | 1332 o.metricNames = buildUnnamed669(); |
| 1333 o.reachByFrequencyMetricNames = buildUnnamed233(); | 1333 o.reachByFrequencyMetricNames = buildUnnamed670(); |
| 1334 } | 1334 } |
| 1335 buildCounterReportReachCriteria--; | 1335 buildCounterReportReachCriteria--; |
| 1336 return o; | 1336 return o; |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 checkReportReachCriteria(api.ReportReachCriteria o) { | 1339 checkReportReachCriteria(api.ReportReachCriteria o) { |
| 1340 buildCounterReportReachCriteria++; | 1340 buildCounterReportReachCriteria++; |
| 1341 if (buildCounterReportReachCriteria < 3) { | 1341 if (buildCounterReportReachCriteria < 3) { |
| 1342 checkActivities(o.activities); | 1342 checkActivities(o.activities); |
| 1343 checkCustomRichMediaEvents(o.customRichMediaEvents); | 1343 checkCustomRichMediaEvents(o.customRichMediaEvents); |
| 1344 checkDateRange(o.dateRange); | 1344 checkDateRange(o.dateRange); |
| 1345 checkUnnamed230(o.dimensionFilters); | 1345 checkUnnamed667(o.dimensionFilters); |
| 1346 checkUnnamed231(o.dimensions); | 1346 checkUnnamed668(o.dimensions); |
| 1347 checkUnnamed232(o.metricNames); | 1347 checkUnnamed669(o.metricNames); |
| 1348 checkUnnamed233(o.reachByFrequencyMetricNames); | 1348 checkUnnamed670(o.reachByFrequencyMetricNames); |
| 1349 } | 1349 } |
| 1350 buildCounterReportReachCriteria--; | 1350 buildCounterReportReachCriteria--; |
| 1351 } | 1351 } |
| 1352 | 1352 |
| 1353 buildUnnamed234() { | 1353 buildUnnamed671() { |
| 1354 var o = new core.List<core.String>(); | 1354 var o = new core.List<core.String>(); |
| 1355 o.add("foo"); | 1355 o.add("foo"); |
| 1356 o.add("foo"); | 1356 o.add("foo"); |
| 1357 return o; | 1357 return o; |
| 1358 } | 1358 } |
| 1359 | 1359 |
| 1360 checkUnnamed234(core.List<core.String> o) { | 1360 checkUnnamed671(core.List<core.String> o) { |
| 1361 unittest.expect(o, unittest.hasLength(2)); | 1361 unittest.expect(o, unittest.hasLength(2)); |
| 1362 unittest.expect(o[0], unittest.equals('foo')); | 1362 unittest.expect(o[0], unittest.equals('foo')); |
| 1363 unittest.expect(o[1], unittest.equals('foo')); | 1363 unittest.expect(o[1], unittest.equals('foo')); |
| 1364 } | 1364 } |
| 1365 | 1365 |
| 1366 core.int buildCounterReportSchedule = 0; | 1366 core.int buildCounterReportSchedule = 0; |
| 1367 buildReportSchedule() { | 1367 buildReportSchedule() { |
| 1368 var o = new api.ReportSchedule(); | 1368 var o = new api.ReportSchedule(); |
| 1369 buildCounterReportSchedule++; | 1369 buildCounterReportSchedule++; |
| 1370 if (buildCounterReportSchedule < 3) { | 1370 if (buildCounterReportSchedule < 3) { |
| 1371 o.active = true; | 1371 o.active = true; |
| 1372 o.every = 42; | 1372 o.every = 42; |
| 1373 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1373 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1374 o.repeats = "foo"; | 1374 o.repeats = "foo"; |
| 1375 o.repeatsOnWeekDays = buildUnnamed234(); | 1375 o.repeatsOnWeekDays = buildUnnamed671(); |
| 1376 o.runsOnDayOfMonth = "foo"; | 1376 o.runsOnDayOfMonth = "foo"; |
| 1377 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); | 1377 o.startDate = core.DateTime.parse("2002-02-27T14:01:02Z"); |
| 1378 } | 1378 } |
| 1379 buildCounterReportSchedule--; | 1379 buildCounterReportSchedule--; |
| 1380 return o; | 1380 return o; |
| 1381 } | 1381 } |
| 1382 | 1382 |
| 1383 checkReportSchedule(api.ReportSchedule o) { | 1383 checkReportSchedule(api.ReportSchedule o) { |
| 1384 buildCounterReportSchedule++; | 1384 buildCounterReportSchedule++; |
| 1385 if (buildCounterReportSchedule < 3) { | 1385 if (buildCounterReportSchedule < 3) { |
| 1386 unittest.expect(o.active, unittest.isTrue); | 1386 unittest.expect(o.active, unittest.isTrue); |
| 1387 unittest.expect(o.every, unittest.equals(42)); | 1387 unittest.expect(o.every, unittest.equals(42)); |
| 1388 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); | 1388 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002-
02-27T00:00:00"))); |
| 1389 unittest.expect(o.repeats, unittest.equals('foo')); | 1389 unittest.expect(o.repeats, unittest.equals('foo')); |
| 1390 checkUnnamed234(o.repeatsOnWeekDays); | 1390 checkUnnamed671(o.repeatsOnWeekDays); |
| 1391 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); | 1391 unittest.expect(o.runsOnDayOfMonth, unittest.equals('foo')); |
| 1392 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); | 1392 unittest.expect(o.startDate, unittest.equals(core.DateTime.parse("2002-02-27
T00:00:00"))); |
| 1393 } | 1393 } |
| 1394 buildCounterReportSchedule--; | 1394 buildCounterReportSchedule--; |
| 1395 } | 1395 } |
| 1396 | 1396 |
| 1397 core.int buildCounterReport = 0; | 1397 core.int buildCounterReport = 0; |
| 1398 buildReport() { | 1398 buildReport() { |
| 1399 var o = new api.Report(); | 1399 var o = new api.Report(); |
| 1400 buildCounterReport++; | 1400 buildCounterReport++; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 unittest.expect(o.ownerProfileId, unittest.equals('foo')); | 1442 unittest.expect(o.ownerProfileId, unittest.equals('foo')); |
| 1443 checkReportPathToConversionCriteria(o.pathToConversionCriteria); | 1443 checkReportPathToConversionCriteria(o.pathToConversionCriteria); |
| 1444 checkReportReachCriteria(o.reachCriteria); | 1444 checkReportReachCriteria(o.reachCriteria); |
| 1445 checkReportSchedule(o.schedule); | 1445 checkReportSchedule(o.schedule); |
| 1446 unittest.expect(o.subAccountId, unittest.equals('foo')); | 1446 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 1447 unittest.expect(o.type, unittest.equals('foo')); | 1447 unittest.expect(o.type, unittest.equals('foo')); |
| 1448 } | 1448 } |
| 1449 buildCounterReport--; | 1449 buildCounterReport--; |
| 1450 } | 1450 } |
| 1451 | 1451 |
| 1452 buildUnnamed235() { | 1452 buildUnnamed672() { |
| 1453 var o = new core.List<api.Dimension>(); | 1453 var o = new core.List<api.Dimension>(); |
| 1454 o.add(buildDimension()); | 1454 o.add(buildDimension()); |
| 1455 o.add(buildDimension()); | 1455 o.add(buildDimension()); |
| 1456 return o; | 1456 return o; |
| 1457 } | 1457 } |
| 1458 | 1458 |
| 1459 checkUnnamed235(core.List<api.Dimension> o) { | 1459 checkUnnamed672(core.List<api.Dimension> o) { |
| 1460 unittest.expect(o, unittest.hasLength(2)); | 1460 unittest.expect(o, unittest.hasLength(2)); |
| 1461 checkDimension(o[0]); | 1461 checkDimension(o[0]); |
| 1462 checkDimension(o[1]); | 1462 checkDimension(o[1]); |
| 1463 } | 1463 } |
| 1464 | 1464 |
| 1465 buildUnnamed236() { | 1465 buildUnnamed673() { |
| 1466 var o = new core.List<api.Dimension>(); | 1466 var o = new core.List<api.Dimension>(); |
| 1467 o.add(buildDimension()); | 1467 o.add(buildDimension()); |
| 1468 o.add(buildDimension()); | 1468 o.add(buildDimension()); |
| 1469 return o; | 1469 return o; |
| 1470 } | 1470 } |
| 1471 | 1471 |
| 1472 checkUnnamed236(core.List<api.Dimension> o) { | 1472 checkUnnamed673(core.List<api.Dimension> o) { |
| 1473 unittest.expect(o, unittest.hasLength(2)); | 1473 unittest.expect(o, unittest.hasLength(2)); |
| 1474 checkDimension(o[0]); | 1474 checkDimension(o[0]); |
| 1475 checkDimension(o[1]); | 1475 checkDimension(o[1]); |
| 1476 } | 1476 } |
| 1477 | 1477 |
| 1478 buildUnnamed237() { | 1478 buildUnnamed674() { |
| 1479 var o = new core.List<api.Metric>(); | 1479 var o = new core.List<api.Metric>(); |
| 1480 o.add(buildMetric()); | 1480 o.add(buildMetric()); |
| 1481 o.add(buildMetric()); | 1481 o.add(buildMetric()); |
| 1482 return o; | 1482 return o; |
| 1483 } | 1483 } |
| 1484 | 1484 |
| 1485 checkUnnamed237(core.List<api.Metric> o) { | 1485 checkUnnamed674(core.List<api.Metric> o) { |
| 1486 unittest.expect(o, unittest.hasLength(2)); | 1486 unittest.expect(o, unittest.hasLength(2)); |
| 1487 checkMetric(o[0]); | 1487 checkMetric(o[0]); |
| 1488 checkMetric(o[1]); | 1488 checkMetric(o[1]); |
| 1489 } | 1489 } |
| 1490 | 1490 |
| 1491 buildUnnamed238() { | 1491 buildUnnamed675() { |
| 1492 var o = new core.List<api.Metric>(); | 1492 var o = new core.List<api.Metric>(); |
| 1493 o.add(buildMetric()); | 1493 o.add(buildMetric()); |
| 1494 o.add(buildMetric()); | 1494 o.add(buildMetric()); |
| 1495 return o; | 1495 return o; |
| 1496 } | 1496 } |
| 1497 | 1497 |
| 1498 checkUnnamed238(core.List<api.Metric> o) { | 1498 checkUnnamed675(core.List<api.Metric> o) { |
| 1499 unittest.expect(o, unittest.hasLength(2)); | 1499 unittest.expect(o, unittest.hasLength(2)); |
| 1500 checkMetric(o[0]); | 1500 checkMetric(o[0]); |
| 1501 checkMetric(o[1]); | 1501 checkMetric(o[1]); |
| 1502 } | 1502 } |
| 1503 | 1503 |
| 1504 core.int buildCounterReportCompatibleFields = 0; | 1504 core.int buildCounterReportCompatibleFields = 0; |
| 1505 buildReportCompatibleFields() { | 1505 buildReportCompatibleFields() { |
| 1506 var o = new api.ReportCompatibleFields(); | 1506 var o = new api.ReportCompatibleFields(); |
| 1507 buildCounterReportCompatibleFields++; | 1507 buildCounterReportCompatibleFields++; |
| 1508 if (buildCounterReportCompatibleFields < 3) { | 1508 if (buildCounterReportCompatibleFields < 3) { |
| 1509 o.dimensionFilters = buildUnnamed235(); | 1509 o.dimensionFilters = buildUnnamed672(); |
| 1510 o.dimensions = buildUnnamed236(); | 1510 o.dimensions = buildUnnamed673(); |
| 1511 o.kind = "foo"; | 1511 o.kind = "foo"; |
| 1512 o.metrics = buildUnnamed237(); | 1512 o.metrics = buildUnnamed674(); |
| 1513 o.pivotedActivityMetrics = buildUnnamed238(); | 1513 o.pivotedActivityMetrics = buildUnnamed675(); |
| 1514 } | 1514 } |
| 1515 buildCounterReportCompatibleFields--; | 1515 buildCounterReportCompatibleFields--; |
| 1516 return o; | 1516 return o; |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 checkReportCompatibleFields(api.ReportCompatibleFields o) { | 1519 checkReportCompatibleFields(api.ReportCompatibleFields o) { |
| 1520 buildCounterReportCompatibleFields++; | 1520 buildCounterReportCompatibleFields++; |
| 1521 if (buildCounterReportCompatibleFields < 3) { | 1521 if (buildCounterReportCompatibleFields < 3) { |
| 1522 checkUnnamed235(o.dimensionFilters); | 1522 checkUnnamed672(o.dimensionFilters); |
| 1523 checkUnnamed236(o.dimensions); | 1523 checkUnnamed673(o.dimensions); |
| 1524 unittest.expect(o.kind, unittest.equals('foo')); | 1524 unittest.expect(o.kind, unittest.equals('foo')); |
| 1525 checkUnnamed237(o.metrics); | 1525 checkUnnamed674(o.metrics); |
| 1526 checkUnnamed238(o.pivotedActivityMetrics); | 1526 checkUnnamed675(o.pivotedActivityMetrics); |
| 1527 } | 1527 } |
| 1528 buildCounterReportCompatibleFields--; | 1528 buildCounterReportCompatibleFields--; |
| 1529 } | 1529 } |
| 1530 | 1530 |
| 1531 buildUnnamed239() { | 1531 buildUnnamed676() { |
| 1532 var o = new core.List<api.Report>(); | 1532 var o = new core.List<api.Report>(); |
| 1533 o.add(buildReport()); | 1533 o.add(buildReport()); |
| 1534 o.add(buildReport()); | 1534 o.add(buildReport()); |
| 1535 return o; | 1535 return o; |
| 1536 } | 1536 } |
| 1537 | 1537 |
| 1538 checkUnnamed239(core.List<api.Report> o) { | 1538 checkUnnamed676(core.List<api.Report> o) { |
| 1539 unittest.expect(o, unittest.hasLength(2)); | 1539 unittest.expect(o, unittest.hasLength(2)); |
| 1540 checkReport(o[0]); | 1540 checkReport(o[0]); |
| 1541 checkReport(o[1]); | 1541 checkReport(o[1]); |
| 1542 } | 1542 } |
| 1543 | 1543 |
| 1544 core.int buildCounterReportList = 0; | 1544 core.int buildCounterReportList = 0; |
| 1545 buildReportList() { | 1545 buildReportList() { |
| 1546 var o = new api.ReportList(); | 1546 var o = new api.ReportList(); |
| 1547 buildCounterReportList++; | 1547 buildCounterReportList++; |
| 1548 if (buildCounterReportList < 3) { | 1548 if (buildCounterReportList < 3) { |
| 1549 o.etag = "foo"; | 1549 o.etag = "foo"; |
| 1550 o.items = buildUnnamed239(); | 1550 o.items = buildUnnamed676(); |
| 1551 o.kind = "foo"; | 1551 o.kind = "foo"; |
| 1552 o.nextPageToken = "foo"; | 1552 o.nextPageToken = "foo"; |
| 1553 } | 1553 } |
| 1554 buildCounterReportList--; | 1554 buildCounterReportList--; |
| 1555 return o; | 1555 return o; |
| 1556 } | 1556 } |
| 1557 | 1557 |
| 1558 checkReportList(api.ReportList o) { | 1558 checkReportList(api.ReportList o) { |
| 1559 buildCounterReportList++; | 1559 buildCounterReportList++; |
| 1560 if (buildCounterReportList < 3) { | 1560 if (buildCounterReportList < 3) { |
| 1561 unittest.expect(o.etag, unittest.equals('foo')); | 1561 unittest.expect(o.etag, unittest.equals('foo')); |
| 1562 checkUnnamed239(o.items); | 1562 checkUnnamed676(o.items); |
| 1563 unittest.expect(o.kind, unittest.equals('foo')); | 1563 unittest.expect(o.kind, unittest.equals('foo')); |
| 1564 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 1564 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 1565 } | 1565 } |
| 1566 buildCounterReportList--; | 1566 buildCounterReportList--; |
| 1567 } | 1567 } |
| 1568 | 1568 |
| 1569 core.int buildCounterSortedDimension = 0; | 1569 core.int buildCounterSortedDimension = 0; |
| 1570 buildSortedDimension() { | 1570 buildSortedDimension() { |
| 1571 var o = new api.SortedDimension(); | 1571 var o = new api.SortedDimension(); |
| 1572 buildCounterSortedDimension++; | 1572 buildCounterSortedDimension++; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 unittest.expect(o.etag, unittest.equals('foo')); | 1615 unittest.expect(o.etag, unittest.equals('foo')); |
| 1616 unittest.expect(o.kind, unittest.equals('foo')); | 1616 unittest.expect(o.kind, unittest.equals('foo')); |
| 1617 unittest.expect(o.profileId, unittest.equals('foo')); | 1617 unittest.expect(o.profileId, unittest.equals('foo')); |
| 1618 unittest.expect(o.subAccountId, unittest.equals('foo')); | 1618 unittest.expect(o.subAccountId, unittest.equals('foo')); |
| 1619 unittest.expect(o.subAccountName, unittest.equals('foo')); | 1619 unittest.expect(o.subAccountName, unittest.equals('foo')); |
| 1620 unittest.expect(o.userName, unittest.equals('foo')); | 1620 unittest.expect(o.userName, unittest.equals('foo')); |
| 1621 } | 1621 } |
| 1622 buildCounterUserProfile--; | 1622 buildCounterUserProfile--; |
| 1623 } | 1623 } |
| 1624 | 1624 |
| 1625 buildUnnamed240() { | 1625 buildUnnamed677() { |
| 1626 var o = new core.List<api.UserProfile>(); | 1626 var o = new core.List<api.UserProfile>(); |
| 1627 o.add(buildUserProfile()); | 1627 o.add(buildUserProfile()); |
| 1628 o.add(buildUserProfile()); | 1628 o.add(buildUserProfile()); |
| 1629 return o; | 1629 return o; |
| 1630 } | 1630 } |
| 1631 | 1631 |
| 1632 checkUnnamed240(core.List<api.UserProfile> o) { | 1632 checkUnnamed677(core.List<api.UserProfile> o) { |
| 1633 unittest.expect(o, unittest.hasLength(2)); | 1633 unittest.expect(o, unittest.hasLength(2)); |
| 1634 checkUserProfile(o[0]); | 1634 checkUserProfile(o[0]); |
| 1635 checkUserProfile(o[1]); | 1635 checkUserProfile(o[1]); |
| 1636 } | 1636 } |
| 1637 | 1637 |
| 1638 core.int buildCounterUserProfileList = 0; | 1638 core.int buildCounterUserProfileList = 0; |
| 1639 buildUserProfileList() { | 1639 buildUserProfileList() { |
| 1640 var o = new api.UserProfileList(); | 1640 var o = new api.UserProfileList(); |
| 1641 buildCounterUserProfileList++; | 1641 buildCounterUserProfileList++; |
| 1642 if (buildCounterUserProfileList < 3) { | 1642 if (buildCounterUserProfileList < 3) { |
| 1643 o.etag = "foo"; | 1643 o.etag = "foo"; |
| 1644 o.items = buildUnnamed240(); | 1644 o.items = buildUnnamed677(); |
| 1645 o.kind = "foo"; | 1645 o.kind = "foo"; |
| 1646 } | 1646 } |
| 1647 buildCounterUserProfileList--; | 1647 buildCounterUserProfileList--; |
| 1648 return o; | 1648 return o; |
| 1649 } | 1649 } |
| 1650 | 1650 |
| 1651 checkUserProfileList(api.UserProfileList o) { | 1651 checkUserProfileList(api.UserProfileList o) { |
| 1652 buildCounterUserProfileList++; | 1652 buildCounterUserProfileList++; |
| 1653 if (buildCounterUserProfileList < 3) { | 1653 if (buildCounterUserProfileList < 3) { |
| 1654 unittest.expect(o.etag, unittest.equals('foo')); | 1654 unittest.expect(o.etag, unittest.equals('foo')); |
| 1655 checkUnnamed240(o.items); | 1655 checkUnnamed677(o.items); |
| 1656 unittest.expect(o.kind, unittest.equals('foo')); | 1656 unittest.expect(o.kind, unittest.equals('foo')); |
| 1657 } | 1657 } |
| 1658 buildCounterUserProfileList--; | 1658 buildCounterUserProfileList--; |
| 1659 } | 1659 } |
| 1660 | 1660 |
| 1661 | 1661 |
| 1662 main() { | 1662 main() { |
| 1663 unittest.group("obj-schema-Activities", () { | 1663 unittest.group("obj-schema-Activities", () { |
| 1664 unittest.test("to-json--from-json", () { | 1664 unittest.test("to-json--from-json", () { |
| 1665 var o = buildActivities(); | 1665 var o = buildActivities(); |
| (...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2872 res.list().then(unittest.expectAsync(((api.UserProfileList response) { | 2872 res.list().then(unittest.expectAsync(((api.UserProfileList response) { |
| 2873 checkUserProfileList(response); | 2873 checkUserProfileList(response); |
| 2874 }))); | 2874 }))); |
| 2875 }); | 2875 }); |
| 2876 | 2876 |
| 2877 }); | 2877 }); |
| 2878 | 2878 |
| 2879 | 2879 |
| 2880 } | 2880 } |
| 2881 | 2881 |
| OLD | NEW |