| 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 d7447ed5436c2609acf5c4d64a172cb5b3c2ecc6..38780b5a3837577d59e7caf211a018bc20734b8e 100644
|
| --- a/generated/googleapis/test/fitness/v1_test.dart
|
| +++ b/generated/googleapis/test/fitness/v1_test.dart
|
| @@ -41,14 +41,14 @@ checkApplication(api.Application o) {
|
| buildCounterApplication--;
|
| }
|
|
|
| -buildUnnamed759() {
|
| +buildUnnamed944() {
|
| var o = new core.List<api.Value>();
|
| o.add(buildValue());
|
| o.add(buildValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed759(core.List<api.Value> o) {
|
| +checkUnnamed944(core.List<api.Value> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValue(o[0]);
|
| checkValue(o[1]);
|
| @@ -66,7 +66,7 @@ buildDataPoint() {
|
| o.originDataSourceId = "foo";
|
| o.rawTimestampNanos = "foo";
|
| o.startTimeNanos = "foo";
|
| - o.value = buildUnnamed759();
|
| + o.value = buildUnnamed944();
|
| }
|
| buildCounterDataPoint--;
|
| return o;
|
| @@ -82,7 +82,7 @@ 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'));
|
| - checkUnnamed759(o.value);
|
| + checkUnnamed944(o.value);
|
| }
|
| buildCounterDataPoint--;
|
| }
|
| @@ -118,14 +118,14 @@ checkDataSource(api.DataSource o) {
|
| buildCounterDataSource--;
|
| }
|
|
|
| -buildUnnamed760() {
|
| +buildUnnamed945() {
|
| var o = new core.List<api.DataTypeField>();
|
| o.add(buildDataTypeField());
|
| o.add(buildDataTypeField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed760(core.List<api.DataTypeField> o) {
|
| +checkUnnamed945(core.List<api.DataTypeField> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataTypeField(o[0]);
|
| checkDataTypeField(o[1]);
|
| @@ -136,7 +136,7 @@ buildDataType() {
|
| var o = new api.DataType();
|
| buildCounterDataType++;
|
| if (buildCounterDataType < 3) {
|
| - o.field = buildUnnamed760();
|
| + o.field = buildUnnamed945();
|
| o.name = "foo";
|
| }
|
| buildCounterDataType--;
|
| @@ -146,7 +146,7 @@ buildDataType() {
|
| checkDataType(api.DataType o) {
|
| buildCounterDataType++;
|
| if (buildCounterDataType < 3) {
|
| - checkUnnamed760(o.field);
|
| + checkUnnamed945(o.field);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterDataType--;
|
| @@ -173,14 +173,14 @@ checkDataTypeField(api.DataTypeField o) {
|
| buildCounterDataTypeField--;
|
| }
|
|
|
| -buildUnnamed761() {
|
| +buildUnnamed946() {
|
| var o = new core.List<api.DataPoint>();
|
| o.add(buildDataPoint());
|
| o.add(buildDataPoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed761(core.List<api.DataPoint> o) {
|
| +checkUnnamed946(core.List<api.DataPoint> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataPoint(o[0]);
|
| checkDataPoint(o[1]);
|
| @@ -195,7 +195,7 @@ buildDataset() {
|
| o.maxEndTimeNs = "foo";
|
| o.minStartTimeNs = "foo";
|
| o.nextPageToken = "foo";
|
| - o.point = buildUnnamed761();
|
| + o.point = buildUnnamed946();
|
| }
|
| buildCounterDataset--;
|
| return o;
|
| @@ -208,7 +208,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'));
|
| - checkUnnamed761(o.point);
|
| + checkUnnamed946(o.point);
|
| }
|
| buildCounterDataset--;
|
| }
|
| @@ -240,14 +240,14 @@ checkDevice(api.Device o) {
|
| buildCounterDevice--;
|
| }
|
|
|
| -buildUnnamed762() {
|
| +buildUnnamed947() {
|
| var o = new core.List<api.DataSource>();
|
| o.add(buildDataSource());
|
| o.add(buildDataSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed762(core.List<api.DataSource> o) {
|
| +checkUnnamed947(core.List<api.DataSource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataSource(o[0]);
|
| checkDataSource(o[1]);
|
| @@ -258,7 +258,7 @@ buildListDataSourcesResponse() {
|
| var o = new api.ListDataSourcesResponse();
|
| buildCounterListDataSourcesResponse++;
|
| if (buildCounterListDataSourcesResponse < 3) {
|
| - o.dataSource = buildUnnamed762();
|
| + o.dataSource = buildUnnamed947();
|
| }
|
| buildCounterListDataSourcesResponse--;
|
| return o;
|
| @@ -267,32 +267,32 @@ buildListDataSourcesResponse() {
|
| checkListDataSourcesResponse(api.ListDataSourcesResponse o) {
|
| buildCounterListDataSourcesResponse++;
|
| if (buildCounterListDataSourcesResponse < 3) {
|
| - checkUnnamed762(o.dataSource);
|
| + checkUnnamed947(o.dataSource);
|
| }
|
| buildCounterListDataSourcesResponse--;
|
| }
|
|
|
| -buildUnnamed763() {
|
| +buildUnnamed948() {
|
| var o = new core.List<api.Session>();
|
| o.add(buildSession());
|
| o.add(buildSession());
|
| return o;
|
| }
|
|
|
| -checkUnnamed763(core.List<api.Session> o) {
|
| +checkUnnamed948(core.List<api.Session> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSession(o[0]);
|
| checkSession(o[1]);
|
| }
|
|
|
| -buildUnnamed764() {
|
| +buildUnnamed949() {
|
| var o = new core.List<api.Session>();
|
| o.add(buildSession());
|
| o.add(buildSession());
|
| return o;
|
| }
|
|
|
| -checkUnnamed764(core.List<api.Session> o) {
|
| +checkUnnamed949(core.List<api.Session> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSession(o[0]);
|
| checkSession(o[1]);
|
| @@ -303,9 +303,9 @@ buildListSessionsResponse() {
|
| var o = new api.ListSessionsResponse();
|
| buildCounterListSessionsResponse++;
|
| if (buildCounterListSessionsResponse < 3) {
|
| - o.deletedSession = buildUnnamed763();
|
| + o.deletedSession = buildUnnamed948();
|
| o.nextPageToken = "foo";
|
| - o.session = buildUnnamed764();
|
| + o.session = buildUnnamed949();
|
| }
|
| buildCounterListSessionsResponse--;
|
| return o;
|
| @@ -314,9 +314,9 @@ buildListSessionsResponse() {
|
| checkListSessionsResponse(api.ListSessionsResponse o) {
|
| buildCounterListSessionsResponse++;
|
| if (buildCounterListSessionsResponse < 3) {
|
| - checkUnnamed763(o.deletedSession);
|
| + checkUnnamed948(o.deletedSession);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed764(o.session);
|
| + checkUnnamed949(o.session);
|
| }
|
| buildCounterListSessionsResponse--;
|
| }
|
| @@ -375,14 +375,14 @@ checkValue(api.Value o) {
|
| buildCounterValue--;
|
| }
|
|
|
| -buildUnnamed765() {
|
| +buildUnnamed950() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed765(core.List<core.String> o) {
|
| +checkUnnamed950(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'));
|
| @@ -584,7 +584,7 @@ main() {
|
| var mock = new common_test.HttpServerMock();
|
| api.UsersDataSourcesResourceApi res = new api.FitnessApi(mock).users.dataSources;
|
| var arg_userId = "foo";
|
| - var arg_dataTypeName = buildUnnamed765();
|
| + var arg_dataTypeName = buildUnnamed950();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|