| Index: generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
|
| diff --git a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
|
| index c8684d1a8dbe26526c8f4fbfccbd24f1432085df..9498ed8098df27ecd915fa1cec94c04c6bc43e15 100644
|
| --- a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
|
| +++ b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart
|
| @@ -116,14 +116,14 @@ checkErrorEvent(api.ErrorEvent o) {
|
| buildCounterErrorEvent--;
|
| }
|
|
|
| -buildUnnamed3582() {
|
| +buildUnnamed3293() {
|
| var o = new core.List<api.TrackingIssue>();
|
| o.add(buildTrackingIssue());
|
| o.add(buildTrackingIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3582(core.List<api.TrackingIssue> o) {
|
| +checkUnnamed3293(core.List<api.TrackingIssue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTrackingIssue(o[0]);
|
| checkTrackingIssue(o[1]);
|
| @@ -136,7 +136,7 @@ buildErrorGroup() {
|
| if (buildCounterErrorGroup < 3) {
|
| o.groupId = "foo";
|
| o.name = "foo";
|
| - o.trackingIssues = buildUnnamed3582();
|
| + o.trackingIssues = buildUnnamed3293();
|
| }
|
| buildCounterErrorGroup--;
|
| return o;
|
| @@ -147,32 +147,32 @@ checkErrorGroup(api.ErrorGroup o) {
|
| if (buildCounterErrorGroup < 3) {
|
| unittest.expect(o.groupId, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3582(o.trackingIssues);
|
| + checkUnnamed3293(o.trackingIssues);
|
| }
|
| buildCounterErrorGroup--;
|
| }
|
|
|
| -buildUnnamed3583() {
|
| +buildUnnamed3294() {
|
| var o = new core.List<api.ServiceContext>();
|
| o.add(buildServiceContext());
|
| o.add(buildServiceContext());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3583(core.List<api.ServiceContext> o) {
|
| +checkUnnamed3294(core.List<api.ServiceContext> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceContext(o[0]);
|
| checkServiceContext(o[1]);
|
| }
|
|
|
| -buildUnnamed3584() {
|
| +buildUnnamed3295() {
|
| var o = new core.List<api.TimedCount>();
|
| o.add(buildTimedCount());
|
| o.add(buildTimedCount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3584(core.List<api.TimedCount> o) {
|
| +checkUnnamed3295(core.List<api.TimedCount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTimedCount(o[0]);
|
| checkTimedCount(o[1]);
|
| @@ -183,7 +183,7 @@ buildErrorGroupStats() {
|
| var o = new api.ErrorGroupStats();
|
| buildCounterErrorGroupStats++;
|
| if (buildCounterErrorGroupStats < 3) {
|
| - o.affectedServices = buildUnnamed3583();
|
| + o.affectedServices = buildUnnamed3294();
|
| o.affectedUsersCount = "foo";
|
| o.count = "foo";
|
| o.firstSeenTime = "foo";
|
| @@ -191,7 +191,7 @@ buildErrorGroupStats() {
|
| o.lastSeenTime = "foo";
|
| o.numAffectedServices = 42;
|
| o.representative = buildErrorEvent();
|
| - o.timedCounts = buildUnnamed3584();
|
| + o.timedCounts = buildUnnamed3295();
|
| }
|
| buildCounterErrorGroupStats--;
|
| return o;
|
| @@ -200,7 +200,7 @@ buildErrorGroupStats() {
|
| checkErrorGroupStats(api.ErrorGroupStats o) {
|
| buildCounterErrorGroupStats++;
|
| if (buildCounterErrorGroupStats < 3) {
|
| - checkUnnamed3583(o.affectedServices);
|
| + checkUnnamed3294(o.affectedServices);
|
| unittest.expect(o.affectedUsersCount, unittest.equals('foo'));
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| unittest.expect(o.firstSeenTime, unittest.equals('foo'));
|
| @@ -208,7 +208,7 @@ checkErrorGroupStats(api.ErrorGroupStats o) {
|
| unittest.expect(o.lastSeenTime, unittest.equals('foo'));
|
| unittest.expect(o.numAffectedServices, unittest.equals(42));
|
| checkErrorEvent(o.representative);
|
| - checkUnnamed3584(o.timedCounts);
|
| + checkUnnamed3295(o.timedCounts);
|
| }
|
| buildCounterErrorGroupStats--;
|
| }
|
| @@ -242,14 +242,14 @@ checkHttpRequestContext(api.HttpRequestContext o) {
|
| buildCounterHttpRequestContext--;
|
| }
|
|
|
| -buildUnnamed3585() {
|
| +buildUnnamed3296() {
|
| var o = new core.List<api.ErrorEvent>();
|
| o.add(buildErrorEvent());
|
| o.add(buildErrorEvent());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3585(core.List<api.ErrorEvent> o) {
|
| +checkUnnamed3296(core.List<api.ErrorEvent> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorEvent(o[0]);
|
| checkErrorEvent(o[1]);
|
| @@ -260,7 +260,7 @@ buildListEventsResponse() {
|
| var o = new api.ListEventsResponse();
|
| buildCounterListEventsResponse++;
|
| if (buildCounterListEventsResponse < 3) {
|
| - o.errorEvents = buildUnnamed3585();
|
| + o.errorEvents = buildUnnamed3296();
|
| o.nextPageToken = "foo";
|
| o.timeRangeBegin = "foo";
|
| }
|
| @@ -271,21 +271,21 @@ buildListEventsResponse() {
|
| checkListEventsResponse(api.ListEventsResponse o) {
|
| buildCounterListEventsResponse++;
|
| if (buildCounterListEventsResponse < 3) {
|
| - checkUnnamed3585(o.errorEvents);
|
| + checkUnnamed3296(o.errorEvents);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.timeRangeBegin, unittest.equals('foo'));
|
| }
|
| buildCounterListEventsResponse--;
|
| }
|
|
|
| -buildUnnamed3586() {
|
| +buildUnnamed3297() {
|
| var o = new core.List<api.ErrorGroupStats>();
|
| o.add(buildErrorGroupStats());
|
| o.add(buildErrorGroupStats());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3586(core.List<api.ErrorGroupStats> o) {
|
| +checkUnnamed3297(core.List<api.ErrorGroupStats> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorGroupStats(o[0]);
|
| checkErrorGroupStats(o[1]);
|
| @@ -296,7 +296,7 @@ buildListGroupStatsResponse() {
|
| var o = new api.ListGroupStatsResponse();
|
| buildCounterListGroupStatsResponse++;
|
| if (buildCounterListGroupStatsResponse < 3) {
|
| - o.errorGroupStats = buildUnnamed3586();
|
| + o.errorGroupStats = buildUnnamed3297();
|
| o.nextPageToken = "foo";
|
| o.timeRangeBegin = "foo";
|
| }
|
| @@ -307,7 +307,7 @@ buildListGroupStatsResponse() {
|
| checkListGroupStatsResponse(api.ListGroupStatsResponse o) {
|
| buildCounterListGroupStatsResponse++;
|
| if (buildCounterListGroupStatsResponse < 3) {
|
| - checkUnnamed3586(o.errorGroupStats);
|
| + checkUnnamed3297(o.errorGroupStats);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.timeRangeBegin, unittest.equals('foo'));
|
| }
|
| @@ -361,6 +361,7 @@ buildServiceContext() {
|
| var o = new api.ServiceContext();
|
| buildCounterServiceContext++;
|
| if (buildCounterServiceContext < 3) {
|
| + o.resourceType = "foo";
|
| o.service = "foo";
|
| o.version = "foo";
|
| }
|
| @@ -371,6 +372,7 @@ buildServiceContext() {
|
| checkServiceContext(api.ServiceContext o) {
|
| buildCounterServiceContext++;
|
| if (buildCounterServiceContext < 3) {
|
| + unittest.expect(o.resourceType, unittest.equals('foo'));
|
| unittest.expect(o.service, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals('foo'));
|
| }
|
| @@ -442,14 +444,14 @@ checkTrackingIssue(api.TrackingIssue o) {
|
| buildCounterTrackingIssue--;
|
| }
|
|
|
| -buildUnnamed3587() {
|
| +buildUnnamed3298() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3587(core.List<core.String> o) {
|
| +checkUnnamed3298(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'));
|
| @@ -639,6 +641,7 @@ main() {
|
| api.ProjectsEventsResourceApi res = new api.ClouderrorreportingApi(mock).projects.events;
|
| var arg_projectName = "foo";
|
| var arg_timeRange_period = "foo";
|
| + var arg_serviceFilter_resourceType = "foo";
|
| var arg_serviceFilter_service = "foo";
|
| var arg_groupId = "foo";
|
| var arg_serviceFilter_version = "foo";
|
| @@ -672,6 +675,7 @@ main() {
|
| }
|
| }
|
| unittest.expect(queryMap["timeRange.period"].first, unittest.equals(arg_timeRange_period));
|
| + unittest.expect(queryMap["serviceFilter.resourceType"].first, unittest.equals(arg_serviceFilter_resourceType));
|
| unittest.expect(queryMap["serviceFilter.service"].first, unittest.equals(arg_serviceFilter_service));
|
| unittest.expect(queryMap["groupId"].first, unittest.equals(arg_groupId));
|
| unittest.expect(queryMap["serviceFilter.version"].first, unittest.equals(arg_serviceFilter_version));
|
| @@ -685,7 +689,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListEventsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_projectName, timeRange_period: arg_timeRange_period, serviceFilter_service: arg_serviceFilter_service, groupId: arg_groupId, serviceFilter_version: arg_serviceFilter_version, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListEventsResponse response) {
|
| + res.list(arg_projectName, timeRange_period: arg_timeRange_period, serviceFilter_resourceType: arg_serviceFilter_resourceType, serviceFilter_service: arg_serviceFilter_service, groupId: arg_groupId, serviceFilter_version: arg_serviceFilter_version, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListEventsResponse response) {
|
| checkListEventsResponse(response);
|
| })));
|
| });
|
| @@ -750,8 +754,9 @@ main() {
|
| var arg_projectName = "foo";
|
| var arg_alignment = "foo";
|
| var arg_timeRange_period = "foo";
|
| + var arg_serviceFilter_resourceType = "foo";
|
| var arg_order = "foo";
|
| - var arg_groupId = buildUnnamed3587();
|
| + var arg_groupId = buildUnnamed3298();
|
| var arg_serviceFilter_service = "foo";
|
| var arg_alignmentTime = "foo";
|
| var arg_serviceFilter_version = "foo";
|
| @@ -787,6 +792,7 @@ main() {
|
| }
|
| unittest.expect(queryMap["alignment"].first, unittest.equals(arg_alignment));
|
| unittest.expect(queryMap["timeRange.period"].first, unittest.equals(arg_timeRange_period));
|
| + unittest.expect(queryMap["serviceFilter.resourceType"].first, unittest.equals(arg_serviceFilter_resourceType));
|
| unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
|
| unittest.expect(queryMap["groupId"], unittest.equals(arg_groupId));
|
| unittest.expect(queryMap["serviceFilter.service"].first, unittest.equals(arg_serviceFilter_service));
|
| @@ -803,7 +809,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListGroupStatsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_projectName, alignment: arg_alignment, timeRange_period: arg_timeRange_period, order: arg_order, groupId: arg_groupId, serviceFilter_service: arg_serviceFilter_service, alignmentTime: arg_alignmentTime, serviceFilter_version: arg_serviceFilter_version, pageSize: arg_pageSize, timedCountDuration: arg_timedCountDuration, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListGroupStatsResponse response) {
|
| + res.list(arg_projectName, alignment: arg_alignment, timeRange_period: arg_timeRange_period, serviceFilter_resourceType: arg_serviceFilter_resourceType, order: arg_order, groupId: arg_groupId, serviceFilter_service: arg_serviceFilter_service, alignmentTime: arg_alignmentTime, serviceFilter_version: arg_serviceFilter_version, pageSize: arg_pageSize, timedCountDuration: arg_timedCountDuration, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListGroupStatsResponse response) {
|
| checkListGroupStatsResponse(response);
|
| })));
|
| });
|
|
|