| Index: generated/googleapis/test/fitness/v1_test.dart
|
| diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart
|
| index 985c4686e1a0fc556f0987184066c58334ab4fcd..bc1c0d484ab4c94db360f57992e2f2aabd8fcc84 100644
|
| --- a/generated/googleapis/test/fitness/v1_test.dart
|
| +++ b/generated/googleapis/test/fitness/v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed2244() {
|
| +buildUnnamed1998() {
|
| var o = new core.List<api.Dataset>();
|
| o.add(buildDataset());
|
| o.add(buildDataset());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2244(core.List<api.Dataset> o) {
|
| +checkUnnamed1998(core.List<api.Dataset> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataset(o[0]);
|
| checkDataset(o[1]);
|
| @@ -70,7 +70,7 @@ buildAggregateBucket() {
|
| buildCounterAggregateBucket++;
|
| if (buildCounterAggregateBucket < 3) {
|
| o.activity = 42;
|
| - o.dataset = buildUnnamed2244();
|
| + o.dataset = buildUnnamed1998();
|
| o.endTimeMillis = "foo";
|
| o.session = buildSession();
|
| o.startTimeMillis = "foo";
|
| @@ -84,7 +84,7 @@ checkAggregateBucket(api.AggregateBucket o) {
|
| buildCounterAggregateBucket++;
|
| if (buildCounterAggregateBucket < 3) {
|
| unittest.expect(o.activity, unittest.equals(42));
|
| - checkUnnamed2244(o.dataset);
|
| + checkUnnamed1998(o.dataset);
|
| unittest.expect(o.endTimeMillis, unittest.equals('foo'));
|
| checkSession(o.session);
|
| unittest.expect(o.startTimeMillis, unittest.equals('foo'));
|
| @@ -114,27 +114,27 @@ checkAggregateBy(api.AggregateBy o) {
|
| buildCounterAggregateBy--;
|
| }
|
|
|
| -buildUnnamed2245() {
|
| +buildUnnamed1999() {
|
| var o = new core.List<api.AggregateBy>();
|
| o.add(buildAggregateBy());
|
| o.add(buildAggregateBy());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2245(core.List<api.AggregateBy> o) {
|
| +checkUnnamed1999(core.List<api.AggregateBy> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAggregateBy(o[0]);
|
| checkAggregateBy(o[1]);
|
| }
|
|
|
| -buildUnnamed2246() {
|
| +buildUnnamed2000() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2246(core.List<core.String> o) {
|
| +checkUnnamed2000(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -145,13 +145,13 @@ buildAggregateRequest() {
|
| var o = new api.AggregateRequest();
|
| buildCounterAggregateRequest++;
|
| if (buildCounterAggregateRequest < 3) {
|
| - o.aggregateBy = buildUnnamed2245();
|
| + o.aggregateBy = buildUnnamed1999();
|
| o.bucketByActivitySegment = buildBucketByActivity();
|
| o.bucketByActivityType = buildBucketByActivity();
|
| o.bucketBySession = buildBucketBySession();
|
| o.bucketByTime = buildBucketByTime();
|
| o.endTimeMillis = "foo";
|
| - o.filteredDataQualityStandard = buildUnnamed2246();
|
| + o.filteredDataQualityStandard = buildUnnamed2000();
|
| o.startTimeMillis = "foo";
|
| }
|
| buildCounterAggregateRequest--;
|
| @@ -161,26 +161,26 @@ buildAggregateRequest() {
|
| checkAggregateRequest(api.AggregateRequest o) {
|
| buildCounterAggregateRequest++;
|
| if (buildCounterAggregateRequest < 3) {
|
| - checkUnnamed2245(o.aggregateBy);
|
| + checkUnnamed1999(o.aggregateBy);
|
| checkBucketByActivity(o.bucketByActivitySegment);
|
| checkBucketByActivity(o.bucketByActivityType);
|
| checkBucketBySession(o.bucketBySession);
|
| checkBucketByTime(o.bucketByTime);
|
| unittest.expect(o.endTimeMillis, unittest.equals('foo'));
|
| - checkUnnamed2246(o.filteredDataQualityStandard);
|
| + checkUnnamed2000(o.filteredDataQualityStandard);
|
| unittest.expect(o.startTimeMillis, unittest.equals('foo'));
|
| }
|
| buildCounterAggregateRequest--;
|
| }
|
|
|
| -buildUnnamed2247() {
|
| +buildUnnamed2001() {
|
| var o = new core.List<api.AggregateBucket>();
|
| o.add(buildAggregateBucket());
|
| o.add(buildAggregateBucket());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2247(core.List<api.AggregateBucket> o) {
|
| +checkUnnamed2001(core.List<api.AggregateBucket> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAggregateBucket(o[0]);
|
| checkAggregateBucket(o[1]);
|
| @@ -191,7 +191,7 @@ buildAggregateResponse() {
|
| var o = new api.AggregateResponse();
|
| buildCounterAggregateResponse++;
|
| if (buildCounterAggregateResponse < 3) {
|
| - o.bucket = buildUnnamed2247();
|
| + o.bucket = buildUnnamed2001();
|
| }
|
| buildCounterAggregateResponse--;
|
| return o;
|
| @@ -200,7 +200,7 @@ buildAggregateResponse() {
|
| checkAggregateResponse(api.AggregateResponse o) {
|
| buildCounterAggregateResponse++;
|
| if (buildCounterAggregateResponse < 3) {
|
| - checkUnnamed2247(o.bucket);
|
| + checkUnnamed2001(o.bucket);
|
| }
|
| buildCounterAggregateResponse--;
|
| }
|
| @@ -314,14 +314,14 @@ checkBucketByTimePeriod(api.BucketByTimePeriod o) {
|
| buildCounterBucketByTimePeriod--;
|
| }
|
|
|
| -buildUnnamed2248() {
|
| +buildUnnamed2002() {
|
| var o = new core.List<api.Value>();
|
| o.add(buildValue());
|
| o.add(buildValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2248(core.List<api.Value> o) {
|
| +checkUnnamed2002(core.List<api.Value> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValue(o[0]);
|
| checkValue(o[1]);
|
| @@ -339,7 +339,7 @@ buildDataPoint() {
|
| o.originDataSourceId = "foo";
|
| o.rawTimestampNanos = "foo";
|
| o.startTimeNanos = "foo";
|
| - o.value = buildUnnamed2248();
|
| + o.value = buildUnnamed2002();
|
| }
|
| buildCounterDataPoint--;
|
| return o;
|
| @@ -355,19 +355,19 @@ checkDataPoint(api.DataPoint o) {
|
| unittest.expect(o.originDataSourceId, unittest.equals('foo'));
|
| unittest.expect(o.rawTimestampNanos, unittest.equals('foo'));
|
| unittest.expect(o.startTimeNanos, unittest.equals('foo'));
|
| - checkUnnamed2248(o.value);
|
| + checkUnnamed2002(o.value);
|
| }
|
| buildCounterDataPoint--;
|
| }
|
|
|
| -buildUnnamed2249() {
|
| +buildUnnamed2003() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2249(core.List<core.String> o) {
|
| +checkUnnamed2003(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -379,7 +379,7 @@ buildDataSource() {
|
| buildCounterDataSource++;
|
| if (buildCounterDataSource < 3) {
|
| o.application = buildApplication();
|
| - o.dataQualityStandard = buildUnnamed2249();
|
| + o.dataQualityStandard = buildUnnamed2003();
|
| o.dataStreamId = "foo";
|
| o.dataStreamName = "foo";
|
| o.dataType = buildDataType();
|
| @@ -395,7 +395,7 @@ checkDataSource(api.DataSource o) {
|
| buildCounterDataSource++;
|
| if (buildCounterDataSource < 3) {
|
| checkApplication(o.application);
|
| - checkUnnamed2249(o.dataQualityStandard);
|
| + checkUnnamed2003(o.dataQualityStandard);
|
| unittest.expect(o.dataStreamId, unittest.equals('foo'));
|
| unittest.expect(o.dataStreamName, unittest.equals('foo'));
|
| checkDataType(o.dataType);
|
| @@ -406,14 +406,14 @@ checkDataSource(api.DataSource o) {
|
| buildCounterDataSource--;
|
| }
|
|
|
| -buildUnnamed2250() {
|
| +buildUnnamed2004() {
|
| var o = new core.List<api.DataTypeField>();
|
| o.add(buildDataTypeField());
|
| o.add(buildDataTypeField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2250(core.List<api.DataTypeField> o) {
|
| +checkUnnamed2004(core.List<api.DataTypeField> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataTypeField(o[0]);
|
| checkDataTypeField(o[1]);
|
| @@ -424,7 +424,7 @@ buildDataType() {
|
| var o = new api.DataType();
|
| buildCounterDataType++;
|
| if (buildCounterDataType < 3) {
|
| - o.field = buildUnnamed2250();
|
| + o.field = buildUnnamed2004();
|
| o.name = "foo";
|
| }
|
| buildCounterDataType--;
|
| @@ -434,7 +434,7 @@ buildDataType() {
|
| checkDataType(api.DataType o) {
|
| buildCounterDataType++;
|
| if (buildCounterDataType < 3) {
|
| - checkUnnamed2250(o.field);
|
| + checkUnnamed2004(o.field);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterDataType--;
|
| @@ -463,14 +463,14 @@ checkDataTypeField(api.DataTypeField o) {
|
| buildCounterDataTypeField--;
|
| }
|
|
|
| -buildUnnamed2251() {
|
| +buildUnnamed2005() {
|
| var o = new core.List<api.DataPoint>();
|
| o.add(buildDataPoint());
|
| o.add(buildDataPoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2251(core.List<api.DataPoint> o) {
|
| +checkUnnamed2005(core.List<api.DataPoint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataPoint(o[0]);
|
| checkDataPoint(o[1]);
|
| @@ -485,7 +485,7 @@ buildDataset() {
|
| o.maxEndTimeNs = "foo";
|
| o.minStartTimeNs = "foo";
|
| o.nextPageToken = "foo";
|
| - o.point = buildUnnamed2251();
|
| + o.point = buildUnnamed2005();
|
| }
|
| buildCounterDataset--;
|
| return o;
|
| @@ -498,7 +498,7 @@ checkDataset(api.Dataset o) {
|
| unittest.expect(o.maxEndTimeNs, unittest.equals('foo'));
|
| unittest.expect(o.minStartTimeNs, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2251(o.point);
|
| + checkUnnamed2005(o.point);
|
| }
|
| buildCounterDataset--;
|
| }
|
| @@ -530,14 +530,14 @@ checkDevice(api.Device o) {
|
| buildCounterDevice--;
|
| }
|
|
|
| -buildUnnamed2252() {
|
| +buildUnnamed2006() {
|
| var o = new core.List<api.DataSource>();
|
| o.add(buildDataSource());
|
| o.add(buildDataSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2252(core.List<api.DataSource> o) {
|
| +checkUnnamed2006(core.List<api.DataSource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataSource(o[0]);
|
| checkDataSource(o[1]);
|
| @@ -548,7 +548,7 @@ buildListDataSourcesResponse() {
|
| var o = new api.ListDataSourcesResponse();
|
| buildCounterListDataSourcesResponse++;
|
| if (buildCounterListDataSourcesResponse < 3) {
|
| - o.dataSource = buildUnnamed2252();
|
| + o.dataSource = buildUnnamed2006();
|
| }
|
| buildCounterListDataSourcesResponse--;
|
| return o;
|
| @@ -557,32 +557,32 @@ buildListDataSourcesResponse() {
|
| checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
|
| buildCounterListDataSourcesResponse++;
|
| if (buildCounterListDataSourcesResponse < 3) {
|
| - checkUnnamed2252(o.dataSource);
|
| + checkUnnamed2006(o.dataSource);
|
| }
|
| buildCounterListDataSourcesResponse--;
|
| }
|
|
|
| -buildUnnamed2253() {
|
| +buildUnnamed2007() {
|
| var o = new core.List<api.Session>();
|
| o.add(buildSession());
|
| o.add(buildSession());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2253(core.List<api.Session> o) {
|
| +checkUnnamed2007(core.List<api.Session> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSession(o[0]);
|
| checkSession(o[1]);
|
| }
|
|
|
| -buildUnnamed2254() {
|
| +buildUnnamed2008() {
|
| var o = new core.List<api.Session>();
|
| o.add(buildSession());
|
| o.add(buildSession());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2254(core.List<api.Session> o) {
|
| +checkUnnamed2008(core.List<api.Session> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSession(o[0]);
|
| checkSession(o[1]);
|
| @@ -593,9 +593,10 @@ buildListSessionsResponse() {
|
| var o = new api.ListSessionsResponse();
|
| buildCounterListSessionsResponse++;
|
| if (buildCounterListSessionsResponse < 3) {
|
| - o.deletedSession = buildUnnamed2253();
|
| + o.deletedSession = buildUnnamed2007();
|
| + o.hasMoreData = true;
|
| o.nextPageToken = "foo";
|
| - o.session = buildUnnamed2254();
|
| + o.session = buildUnnamed2008();
|
| }
|
| buildCounterListSessionsResponse--;
|
| return o;
|
| @@ -604,9 +605,10 @@ buildListSessionsResponse() {
|
| checkListSessionsResponse(api.ListSessionsResponse o) {
|
| buildCounterListSessionsResponse++;
|
| if (buildCounterListSessionsResponse < 3) {
|
| - checkUnnamed2253(o.deletedSession);
|
| + checkUnnamed2007(o.deletedSession);
|
| + unittest.expect(o.hasMoreData, unittest.isTrue);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2254(o.session);
|
| + checkUnnamed2008(o.session);
|
| }
|
| buildCounterListSessionsResponse--;
|
| }
|
| @@ -665,14 +667,14 @@ checkSession(api.Session o) {
|
| buildCounterSession--;
|
| }
|
|
|
| -buildUnnamed2255() {
|
| +buildUnnamed2009() {
|
| var o = new core.List<api.ValueMapValEntry>();
|
| o.add(buildValueMapValEntry());
|
| o.add(buildValueMapValEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2255(core.List<api.ValueMapValEntry> o) {
|
| +checkUnnamed2009(core.List<api.ValueMapValEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValueMapValEntry(o[0]);
|
| checkValueMapValEntry(o[1]);
|
| @@ -685,7 +687,7 @@ buildValue() {
|
| if (buildCounterValue < 3) {
|
| o.fpVal = 42.0;
|
| o.intVal = 42;
|
| - o.mapVal = buildUnnamed2255();
|
| + o.mapVal = buildUnnamed2009();
|
| o.stringVal = "foo";
|
| }
|
| buildCounterValue--;
|
| @@ -697,7 +699,7 @@ checkValue(api.Value o) {
|
| if (buildCounterValue < 3) {
|
| unittest.expect(o.fpVal, unittest.equals(42.0));
|
| unittest.expect(o.intVal, unittest.equals(42));
|
| - checkUnnamed2255(o.mapVal);
|
| + checkUnnamed2009(o.mapVal);
|
| unittest.expect(o.stringVal, unittest.equals('foo'));
|
| }
|
| buildCounterValue--;
|
| @@ -724,14 +726,14 @@ checkValueMapValEntry(api.ValueMapValEntry o) {
|
| buildCounterValueMapValEntry--;
|
| }
|
|
|
| -buildUnnamed2256() {
|
| +buildUnnamed2010() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2256(core.List<core.String> o) {
|
| +checkUnnamed2010(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -1066,7 +1068,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.UsersDataSourcesResourceApi res = new api.FitnessApi(mock).users.dataSources;
|
| var arg_userId = "foo";
|
| - var arg_dataTypeName = buildUnnamed2256();
|
| + var arg_dataTypeName = buildUnnamed2010();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|