From 95d698604b166149d13c27b753fe2e08a9c30951 Mon Sep 17 00:00:00 2001
From: keyonghan <54558023+keyonghan@users.noreply.github.com>
Date: Mon, 18 Mar 2024 17:10:08 -0700
Subject: [PATCH 1/4] Push build status based on Firestore (#3582)
Part of https://github.com/flutter/flutter/issues/142951.
The github build status API has been querying and writing updates to Datastore.
This PR:
- starts querying from Firestore
- supports both datastore/Firestore queries and writes
- updates all unit tests to cover Firestore logics
---
.../model/firestore/github_build_status.dart | 15 +
.../push_build_status_to_github.dart | 42 +-
app_dart/lib/src/service/firestore.dart | 37 +
.../push_build_status_to_github_test.dart | 65 +-
.../test/src/utilities/entity_generators.dart | 4 +-
app_dart/test/src/utilities/mocks.mocks.dart | 1163 +++++++++--------
6 files changed, 706 insertions(+), 620 deletions(-)
diff --git a/app_dart/lib/src/model/firestore/github_build_status.dart b/app_dart/lib/src/model/firestore/github_build_status.dart
index d2502b89c..ea06bdef5 100644
--- a/app_dart/lib/src/model/firestore/github_build_status.dart
+++ b/app_dart/lib/src/model/firestore/github_build_status.dart
@@ -63,6 +63,21 @@ class GithubBuildStatus extends Document {
int? get updates => int.parse(fields![kGithubBuildStatusUpdatesField]!.integerValue!);
+ String setStatus(String status) {
+ fields![kGithubBuildStatusStatusField] = Value(stringValue: status);
+ return status;
+ }
+
+ int setUpdates(int updates) {
+ fields![kGithubBuildStatusUpdatesField] = Value(integerValue: updates.toString());
+ return updates;
+ }
+
+ int setUpdateTimeMillis(int updateTimeMillis) {
+ fields![kGithubBuildStatusUpdateTimeMillisField] = Value(integerValue: updateTimeMillis.toString());
+ return updateTimeMillis;
+ }
+
@override
String toString() {
final StringBuffer buf = StringBuffer()
diff --git a/app_dart/lib/src/request_handlers/push_build_status_to_github.dart b/app_dart/lib/src/request_handlers/push_build_status_to_github.dart
index 092dad9dc..0de536338 100644
--- a/app_dart/lib/src/request_handlers/push_build_status_to_github.dart
+++ b/app_dart/lib/src/request_handlers/push_build_status_to_github.dart
@@ -46,15 +46,21 @@ class PushBuildStatusToGithub extends ApiRequestHandler
{
final BuildStatus status = (await buildStatusService.calculateCumulativeStatus(slug))!;
await _insertBigquery(slug, status.githubStatus, Config.defaultBranch(slug), config);
- await _updatePRs(slug, status.githubStatus, datastore);
+ await _updatePRs(slug, status.githubStatus, datastore, firestoreService);
log.fine('All the PRs for $repository have been updated with $status');
return Body.empty;
}
- Future _updatePRs(RepositorySlug slug, String status, DatastoreService datastore) async {
+ Future _updatePRs(
+ RepositorySlug slug,
+ String status,
+ DatastoreService datastore,
+ FirestoreService firestoreService,
+ ) async {
final GitHub github = await config.createGitHubClient(slug: slug);
final List updates = [];
+ final List githubBuildStatuses = [];
await for (PullRequest pr in github.pullRequests.list(slug)) {
// Tree status is only put on PRs merging into ToT.
if (pr.base!.ref != Config.defaultBranch(slug)) {
@@ -62,42 +68,42 @@ class PushBuildStatusToGithub extends ApiRequestHandler {
continue;
}
final GithubBuildStatusUpdate update = await datastore.queryLastStatusUpdate(slug, pr);
- if (update.status != status) {
- log.fine('Updating status of ${slug.fullName}#${pr.number} from ${update.status} to $status');
+ final GithubBuildStatus githubBuildStatus =
+ await firestoreService.queryLastBuildStatus(slug, pr.number!, pr.head!.sha!);
+ if (githubBuildStatus.status != status) {
+ log.fine('Updating status of ${slug.fullName}#${pr.number} from ${githubBuildStatus.status} to $status');
final CreateStatus request = CreateStatus(status);
request.targetUrl = 'https://flutter-dashboard.appspot.com/#/build?repo=${slug.name}';
request.context = 'tree-status';
- if (status != GithubBuildStatusUpdate.statusSuccess) {
+ if (status != GithubBuildStatus.statusSuccess) {
request.description = config.flutterBuildDescription;
}
try {
await github.repositories.createStatus(slug, pr.head!.sha!, request);
+ final int currentTimeMillisecondsSinceEpoch = DateTime.now().millisecondsSinceEpoch;
update.status = status;
update.updates = (update.updates ?? 0) + 1;
- update.updateTimeMillis = DateTime.now().millisecondsSinceEpoch;
+ update.updateTimeMillis = currentTimeMillisecondsSinceEpoch;
updates.add(update);
+
+ githubBuildStatus.setStatus(status);
+ githubBuildStatus.setUpdates((githubBuildStatus.updates ?? 0) + 1);
+ githubBuildStatus.setUpdateTimeMillis(currentTimeMillisecondsSinceEpoch);
+ githubBuildStatuses.add(githubBuildStatus);
} catch (error) {
log.severe('Failed to post status update to ${slug.fullName}#${pr.number}: $error');
}
}
}
await datastore.insert(updates);
- // TODO(keyonghan): remove try block after fully migrated to firestore
- // https://github.com/flutter/flutter/issues/142951
- try {
- await updateGithubBuildStatusDocuments(updates);
- } catch (error) {
- log.warning('Failed to update github build status in Firestore: $error');
- }
+ await updateGithubBuildStatusDocuments(githubBuildStatuses);
}
- Future updateGithubBuildStatusDocuments(List updates) async {
- if (updates.isEmpty) {
+ Future updateGithubBuildStatusDocuments(List githubBuildStatuses) async {
+ if (githubBuildStatuses.isEmpty) {
return;
}
- final List githubBuildStatusDocuments =
- updates.map((e) => githubBuildStatusToDocument(e)).toList();
- final List writes = documentsToWrites(githubBuildStatusDocuments);
+ final List writes = documentsToWrites(githubBuildStatuses);
final FirestoreService firestoreService = await config.createFirestoreService();
await firestoreService.batchWriteDocuments(BatchWriteRequest(writes: writes), kDatabase);
}
diff --git a/app_dart/lib/src/service/firestore.dart b/app_dart/lib/src/service/firestore.dart
index d79278f1c..97cf60d21 100644
--- a/app_dart/lib/src/service/firestore.dart
+++ b/app_dart/lib/src/service/firestore.dart
@@ -10,6 +10,7 @@ import 'package:googleapis/firestore/v1.dart';
import 'package:http/http.dart';
import '../model/firestore/commit.dart';
+import '../model/firestore/github_build_status.dart';
import '../model/firestore/github_gold_status.dart';
import '../model/firestore/task.dart';
import 'access_client_provider.dart';
@@ -154,6 +155,42 @@ class FirestoreService {
}
}
+ /// Queries the last updated build status for the [slug], [prNumber], and [head].
+ ///
+ /// If not existing, returns a fresh new Build status.
+ Future queryLastBuildStatus(RepositorySlug slug, int prNumber, String head) async {
+ final Map filterMap = {
+ '$kGithubBuildStatusPrNumberField =': prNumber,
+ '$kGithubBuildStatusRepositoryField =': slug.fullName,
+ '$kGithubBuildStatusHeadField =': head,
+ };
+ final List documents = await query(kGithubBuildStatusCollectionId, filterMap);
+ final List githubBuildStatuses =
+ documents.map((Document document) => GithubBuildStatus.fromDocument(githubBuildStatus: document)).toList();
+ if (githubBuildStatuses.isEmpty) {
+ return GithubBuildStatus.fromDocument(
+ githubBuildStatus: Document(
+ name: '$kDatabase/documents/$kGithubBuildStatusCollectionId/${head}_$prNumber',
+ fields: {
+ kGithubBuildStatusPrNumberField: Value(integerValue: prNumber.toString()),
+ kGithubBuildStatusHeadField: Value(stringValue: head),
+ kGithubBuildStatusStatusField: Value(stringValue: ''),
+ kGithubBuildStatusUpdatesField: Value(integerValue: '0'),
+ kGithubBuildStatusUpdateTimeMillisField:
+ Value(integerValue: DateTime.now().millisecondsSinceEpoch.toString()),
+ kGithubBuildStatusRepositoryField: Value(stringValue: slug.fullName),
+ },
+ ),
+ );
+ } else {
+ if (githubBuildStatuses.length > 1) {
+ throw StateError('GithubBuildStatus should have no more than one entry on '
+ 'repository ${slug.fullName}, pr $prNumber, and head $head.');
+ }
+ return githubBuildStatuses.single;
+ }
+ }
+
/// Returns Firestore [Value] based on corresponding object type.
Value getValueFromFilter(Object comparisonOject) {
if (comparisonOject is int) {
diff --git a/app_dart/test/request_handlers/push_build_status_to_github_test.dart b/app_dart/test/request_handlers/push_build_status_to_github_test.dart
index 81ae58a09..a737c5f29 100644
--- a/app_dart/test/request_handlers/push_build_status_to_github_test.dart
+++ b/app_dart/test/request_handlers/push_build_status_to_github_test.dart
@@ -2,12 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'package:cocoon_service/src/model/appengine/github_build_status_update.dart';
import 'package:cocoon_service/src/model/firestore/github_build_status.dart';
import 'package:cocoon_service/src/request_handlers/push_build_status_to_github.dart';
import 'package:cocoon_service/src/request_handling/body.dart';
import 'package:cocoon_service/src/service/build_status_provider.dart';
-import 'package:cocoon_service/src/service/config.dart';
import 'package:cocoon_service/src/service/datastore.dart';
import 'package:gcloud/db.dart';
import 'package:github/github.dart';
@@ -42,17 +40,8 @@ void main() {
late MockIssuesService issuesService;
late MockRepositoriesService repositoriesService;
late FakeGithubService githubService;
-
- GithubBuildStatusUpdate newStatusUpdate(PullRequest pr, BuildStatus status) {
- return GithubBuildStatusUpdate(
- key: db.emptyKey.append(GithubBuildStatusUpdate, id: pr.number),
- repository: Config.flutterSlug.fullName,
- status: status.githubStatus,
- pr: pr.number!,
- head: pr.head!.sha,
- updates: 0,
- );
- }
+ RepositorySlug? slug;
+ GithubBuildStatus? githubBuildStatus;
setUp(() async {
mockFirestoreService = MockFirestoreService();
@@ -82,6 +71,17 @@ void main() {
datastoreProvider: (DatastoreDB db) => DatastoreService(config.db, 5),
);
+ slug = RepositorySlug('flutter', 'flutter');
+ githubBuildStatus = null;
+
+ when(
+ mockFirestoreService.queryLastBuildStatus(slug, 123, 'sha1'),
+ ).thenAnswer((Invocation invocation) {
+ return Future.value(
+ githubBuildStatus,
+ );
+ });
+
when(github.pullRequests).thenReturn(pullRequestsService);
when(github.issues).thenReturn(issuesService);
when(github.repositories).thenReturn(repositoriesService);
@@ -93,20 +93,11 @@ void main() {
test('development environment does nothing', () async {
clientContext.isDevelopmentEnvironment = true;
config.githubClient = ThrowingGitHub();
- db.onCommit = (List> insert, List> deletes) => throw AssertionError();
- db.addOnQuery((Iterable results) {
- throw AssertionError();
- });
final Body body = await tester.get(handler);
expect(body, same(Body.empty));
});
group('does not update anything', () {
- setUp(() {
- db.onCommit = (List> insert, List> deletes) => throw AssertionError();
- when(repositoriesService.createStatus(any, any, any)).thenThrow(AssertionError());
- });
-
test('if there are no PRs', () async {
when(pullRequestsService.list(any, base: anyNamed('base')))
.thenAnswer((_) => const Stream.empty());
@@ -134,27 +125,24 @@ void main() {
});
test('if status has not changed since last update', () async {
- final PullRequest pr = generatePullRequest(id: 1, sha: '1');
+ final PullRequest pr = generatePullRequest(id: 1, sha: 'sha1');
when(pullRequestsService.list(any, base: anyNamed('base'))).thenAnswer((_) => Stream.value(pr));
buildStatusService.cumulativeStatus = BuildStatus.success();
- final GithubBuildStatusUpdate status = newStatusUpdate(pr, BuildStatus.success());
- db.values[status.key] = status;
+ githubBuildStatus = generateFirestoreGithubBuildStatus(1);
final Body body = await tester.get(handler);
expect(body, same(Body.empty));
- expect(status.updates, 0);
+ expect(githubBuildStatus!.updates, 0);
});
test('if there is no pr found for a targeted branch', () async {
- final PullRequest pr = generatePullRequest(id: 1, sha: '1');
+ final PullRequest pr = generatePullRequest(id: 1, sha: 'sha1', branch: 'test_branch');
when(pullRequestsService.list(any, base: anyNamed('base'))).thenAnswer((_) => Stream.value(pr));
buildStatusService.cumulativeStatus = BuildStatus.success();
- final GithubBuildStatusUpdate status =
- newStatusUpdate(pr, BuildStatus.failure(const ['failed_task_1']));
- db.values[status.key] = status;
+ githubBuildStatus = generateFirestoreGithubBuildStatus(1, status: GithubBuildStatus.statusFailure);
final Body body = await tester.get(handler);
expect(body, same(Body.empty));
- expect(status.updates, 0);
- expect(status.status, BuildStatus.failure().githubStatus);
+ expect(githubBuildStatus!.updates, 0);
+ expect(githubBuildStatus!.status, GithubBuildStatus.statusFailure);
});
});
@@ -167,16 +155,15 @@ void main() {
).thenAnswer((Invocation invocation) {
return Future.value(BatchWriteResponse());
});
- final PullRequest pr = generatePullRequest(id: 1, sha: '1');
+ final PullRequest pr = generatePullRequest(id: 1, sha: 'sha1');
when(pullRequestsService.list(any, base: anyNamed('base'))).thenAnswer((_) => Stream.value(pr));
buildStatusService.cumulativeStatus = BuildStatus.success();
- final GithubBuildStatusUpdate status = newStatusUpdate(pr, BuildStatus.failure(const ['failed_test_1']));
- db.values[status.key] = status;
+ githubBuildStatus = generateFirestoreGithubBuildStatus(1, status: GithubBuildStatus.statusFailure);
final Body body = await tester.get(handler);
expect(body, same(Body.empty));
- expect(status.updates, 1);
- expect(status.updateTimeMillis, isNotNull);
- expect(status.status, BuildStatus.success().githubStatus);
+ expect(githubBuildStatus!.updates, 1);
+ expect(githubBuildStatus!.updateTimeMillis, isNotNull);
+ expect(githubBuildStatus!.status, BuildStatus.success().githubStatus);
final List captured = verify(mockFirestoreService.batchWriteDocuments(captureAny, captureAny)).captured;
expect(captured.length, 2);
@@ -184,7 +171,7 @@ void main() {
expect(batchWriteRequest.writes!.length, 1);
final GithubBuildStatus updatedDocument =
GithubBuildStatus.fromDocument(githubBuildStatus: batchWriteRequest.writes![0].update!);
- expect(updatedDocument.updates, status.updates);
+ expect(updatedDocument.updates, githubBuildStatus!.updates);
});
});
}
diff --git a/app_dart/test/src/utilities/entity_generators.dart b/app_dart/test/src/utilities/entity_generators.dart
index e416c6c61..1be5d9bd8 100644
--- a/app_dart/test/src/utilities/entity_generators.dart
+++ b/app_dart/test/src/utilities/entity_generators.dart
@@ -182,7 +182,8 @@ GithubBuildStatus generateFirestoreGithubBuildStatus(
int? pr,
String owner = 'flutter',
String repo = 'flutter',
- int? updates,
+ int updates = 0,
+ String status = GithubBuildStatus.statusSuccess,
}) {
pr ??= i;
head ??= 'sha$i';
@@ -193,6 +194,7 @@ GithubBuildStatus generateFirestoreGithubBuildStatus(
kGithubBuildStatusPrNumberField: Value(integerValue: pr.toString()),
kGithubBuildStatusRepositoryField: Value(stringValue: '$owner/$repo'),
kGithubBuildStatusUpdatesField: Value(integerValue: updates.toString()),
+ kGithubBuildStatusStatusField: Value(stringValue: status),
};
return githubBuildStatus;
}
diff --git a/app_dart/test/src/utilities/mocks.mocks.dart b/app_dart/test/src/utilities/mocks.mocks.dart
index 0760f3ca9..8b60c90a2 100644
--- a/app_dart/test/src/utilities/mocks.mocks.dart
+++ b/app_dart/test/src/utilities/mocks.mocks.dart
@@ -4,51 +4,52 @@
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i20;
-import 'dart:convert' as _i25;
-import 'dart:io' as _i24;
-import 'dart:typed_data' as _i37;
+import 'dart:convert' as _i26;
+import 'dart:io' as _i25;
+import 'dart:typed_data' as _i38;
import 'package:appengine/appengine.dart' as _i10;
import 'package:cocoon_service/cocoon_service.dart' as _i15;
-import 'package:cocoon_service/src/foundation/github_checks_util.dart' as _i23;
-import 'package:cocoon_service/src/model/appengine/branch.dart' as _i32;
-import 'package:cocoon_service/src/model/appengine/commit.dart' as _i33;
+import 'package:cocoon_service/src/foundation/github_checks_util.dart' as _i24;
+import 'package:cocoon_service/src/model/appengine/branch.dart' as _i33;
+import 'package:cocoon_service/src/model/appengine/commit.dart' as _i34;
import 'package:cocoon_service/src/model/appengine/github_build_status_update.dart' as _i18;
import 'package:cocoon_service/src/model/appengine/github_gold_status_update.dart' as _i19;
import 'package:cocoon_service/src/model/appengine/key_helper.dart' as _i12;
-import 'package:cocoon_service/src/model/appengine/stage.dart' as _i35;
-import 'package:cocoon_service/src/model/appengine/task.dart' as _i34;
-import 'package:cocoon_service/src/model/ci_yaml/target.dart' as _i41;
-import 'package:cocoon_service/src/model/firestore/commit.dart' as _i38;
+import 'package:cocoon_service/src/model/appengine/stage.dart' as _i36;
+import 'package:cocoon_service/src/model/appengine/task.dart' as _i35;
+import 'package:cocoon_service/src/model/ci_yaml/target.dart' as _i42;
+import 'package:cocoon_service/src/model/firestore/commit.dart' as _i39;
+import 'package:cocoon_service/src/model/firestore/github_build_status.dart' as _i23;
import 'package:cocoon_service/src/model/firestore/github_gold_status.dart' as _i22;
-import 'package:cocoon_service/src/model/firestore/task.dart' as _i39;
-import 'package:cocoon_service/src/model/github/checks.dart' as _i42;
+import 'package:cocoon_service/src/model/firestore/task.dart' as _i40;
+import 'package:cocoon_service/src/model/github/checks.dart' as _i43;
import 'package:cocoon_service/src/model/luci/buildbucket.dart' as _i8;
-import 'package:cocoon_service/src/model/luci/push_message.dart' as _i40;
+import 'package:cocoon_service/src/model/luci/push_message.dart' as _i41;
import 'package:cocoon_service/src/service/access_client_provider.dart' as _i5;
-import 'package:cocoon_service/src/service/access_token_provider.dart' as _i27;
+import 'package:cocoon_service/src/service/access_token_provider.dart' as _i28;
import 'package:cocoon_service/src/service/bigquery.dart' as _i16;
-import 'package:cocoon_service/src/service/commit_service.dart' as _i30;
+import 'package:cocoon_service/src/service/commit_service.dart' as _i31;
import 'package:cocoon_service/src/service/config.dart' as _i3;
import 'package:cocoon_service/src/service/datastore.dart' as _i9;
import 'package:cocoon_service/src/service/gerrit_service.dart' as _i7;
import 'package:cocoon_service/src/service/github_service.dart' as _i17;
import 'package:gcloud/db.dart' as _i11;
import 'package:github/github.dart' as _i13;
-import 'package:github/hooks.dart' as _i31;
+import 'package:github/hooks.dart' as _i32;
import 'package:googleapis/bigquery/v2.dart' as _i6;
import 'package:googleapis/firestore/v1.dart' as _i21;
import 'package:googleapis_auth/auth_io.dart' as _i4;
import 'package:graphql/client.dart' as _i14;
import 'package:http/http.dart' as _i2;
import 'package:mockito/mockito.dart' as _i1;
-import 'package:mockito/src/dummies.dart' as _i29;
-import 'package:neat_cache/neat_cache.dart' as _i26;
-import 'package:process/src/interface/process_manager.dart' as _i43;
-import 'package:retry/retry.dart' as _i28;
+import 'package:mockito/src/dummies.dart' as _i30;
+import 'package:neat_cache/neat_cache.dart' as _i27;
+import 'package:process/src/interface/process_manager.dart' as _i44;
+import 'package:retry/retry.dart' as _i29;
-import '../../service/cache_service_test.dart' as _i36;
-import 'mocks.dart' as _i44;
+import '../../service/cache_service_test.dart' as _i37;
+import 'mocks.dart' as _i45;
// ignore_for_file: type=lint
// ignore_for_file: avoid_redundant_argument_values
@@ -354,8 +355,8 @@ class _FakeGithubGoldStatus_28 extends _i1.SmartFake implements _i22.GithubGoldS
);
}
-class _FakeValue_29 extends _i1.SmartFake implements _i21.Value {
- _FakeValue_29(
+class _FakeGithubBuildStatus_29 extends _i1.SmartFake implements _i23.GithubBuildStatus {
+ _FakeGithubBuildStatus_29(
Object parent,
Invocation parentInvocation,
) : super(
@@ -364,8 +365,8 @@ class _FakeValue_29 extends _i1.SmartFake implements _i21.Value {
);
}
-class _FakeFilter_30 extends _i1.SmartFake implements _i21.Filter {
- _FakeFilter_30(
+class _FakeValue_30 extends _i1.SmartFake implements _i21.Value {
+ _FakeValue_30(
Object parent,
Invocation parentInvocation,
) : super(
@@ -374,8 +375,8 @@ class _FakeFilter_30 extends _i1.SmartFake implements _i21.Filter {
);
}
-class _FakeIssue_31 extends _i1.SmartFake implements _i13.Issue {
- _FakeIssue_31(
+class _FakeFilter_31 extends _i1.SmartFake implements _i21.Filter {
+ _FakeFilter_31(
Object parent,
Invocation parentInvocation,
) : super(
@@ -384,8 +385,8 @@ class _FakeIssue_31 extends _i1.SmartFake implements _i13.Issue {
);
}
-class _FakeIssueComment_32 extends _i1.SmartFake implements _i13.IssueComment {
- _FakeIssueComment_32(
+class _FakeIssue_32 extends _i1.SmartFake implements _i13.Issue {
+ _FakeIssue_32(
Object parent,
Invocation parentInvocation,
) : super(
@@ -394,8 +395,8 @@ class _FakeIssueComment_32 extends _i1.SmartFake implements _i13.IssueComment {
);
}
-class _FakeIssueLabel_33 extends _i1.SmartFake implements _i13.IssueLabel {
- _FakeIssueLabel_33(
+class _FakeIssueComment_33 extends _i1.SmartFake implements _i13.IssueComment {
+ _FakeIssueComment_33(
Object parent,
Invocation parentInvocation,
) : super(
@@ -404,8 +405,8 @@ class _FakeIssueLabel_33 extends _i1.SmartFake implements _i13.IssueLabel {
);
}
-class _FakeMilestone_34 extends _i1.SmartFake implements _i13.Milestone {
- _FakeMilestone_34(
+class _FakeIssueLabel_34 extends _i1.SmartFake implements _i13.IssueLabel {
+ _FakeIssueLabel_34(
Object parent,
Invocation parentInvocation,
) : super(
@@ -414,8 +415,8 @@ class _FakeMilestone_34 extends _i1.SmartFake implements _i13.Milestone {
);
}
-class _FakeGithubChecksUtil_35 extends _i1.SmartFake implements _i23.GithubChecksUtil {
- _FakeGithubChecksUtil_35(
+class _FakeMilestone_35 extends _i1.SmartFake implements _i13.Milestone {
+ _FakeMilestone_35(
Object parent,
Invocation parentInvocation,
) : super(
@@ -424,8 +425,8 @@ class _FakeGithubChecksUtil_35 extends _i1.SmartFake implements _i23.GithubCheck
);
}
-class _FakeCheckRunConclusion_36 extends _i1.SmartFake implements _i13.CheckRunConclusion {
- _FakeCheckRunConclusion_36(
+class _FakeGithubChecksUtil_36 extends _i1.SmartFake implements _i24.GithubChecksUtil {
+ _FakeGithubChecksUtil_36(
Object parent,
Invocation parentInvocation,
) : super(
@@ -434,8 +435,8 @@ class _FakeCheckRunConclusion_36 extends _i1.SmartFake implements _i13.CheckRunC
);
}
-class _FakeCheckRunStatus_37 extends _i1.SmartFake implements _i13.CheckRunStatus {
- _FakeCheckRunStatus_37(
+class _FakeCheckRunConclusion_37 extends _i1.SmartFake implements _i13.CheckRunConclusion {
+ _FakeCheckRunConclusion_37(
Object parent,
Invocation parentInvocation,
) : super(
@@ -444,8 +445,8 @@ class _FakeCheckRunStatus_37 extends _i1.SmartFake implements _i13.CheckRunStatu
);
}
-class _FakeCheckSuite_38 extends _i1.SmartFake implements _i13.CheckSuite {
- _FakeCheckSuite_38(
+class _FakeCheckRunStatus_38 extends _i1.SmartFake implements _i13.CheckRunStatus {
+ _FakeCheckRunStatus_38(
Object parent,
Invocation parentInvocation,
) : super(
@@ -454,8 +455,8 @@ class _FakeCheckSuite_38 extends _i1.SmartFake implements _i13.CheckSuite {
);
}
-class _FakeCheckRun_39 extends _i1.SmartFake implements _i13.CheckRun {
- _FakeCheckRun_39(
+class _FakeCheckSuite_39 extends _i1.SmartFake implements _i13.CheckSuite {
+ _FakeCheckSuite_39(
Object parent,
Invocation parentInvocation,
) : super(
@@ -464,8 +465,8 @@ class _FakeCheckRun_39 extends _i1.SmartFake implements _i13.CheckRun {
);
}
-class _FakePullRequest_40 extends _i1.SmartFake implements _i13.PullRequest {
- _FakePullRequest_40(
+class _FakeCheckRun_40 extends _i1.SmartFake implements _i13.CheckRun {
+ _FakeCheckRun_40(
Object parent,
Invocation parentInvocation,
) : super(
@@ -474,8 +475,8 @@ class _FakePullRequest_40 extends _i1.SmartFake implements _i13.PullRequest {
);
}
-class _FakeGitReference_41 extends _i1.SmartFake implements _i13.GitReference {
- _FakeGitReference_41(
+class _FakePullRequest_41 extends _i1.SmartFake implements _i13.PullRequest {
+ _FakePullRequest_41(
Object parent,
Invocation parentInvocation,
) : super(
@@ -484,8 +485,8 @@ class _FakeGitReference_41 extends _i1.SmartFake implements _i13.GitReference {
);
}
-class _FakeRateLimit_42 extends _i1.SmartFake implements _i13.RateLimit {
- _FakeRateLimit_42(
+class _FakeGitReference_42 extends _i1.SmartFake implements _i13.GitReference {
+ _FakeGitReference_42(
Object parent,
Invocation parentInvocation,
) : super(
@@ -494,8 +495,8 @@ class _FakeRateLimit_42 extends _i1.SmartFake implements _i13.RateLimit {
);
}
-class _FakeGitBlob_43 extends _i1.SmartFake implements _i13.GitBlob {
- _FakeGitBlob_43(
+class _FakeRateLimit_43 extends _i1.SmartFake implements _i13.RateLimit {
+ _FakeRateLimit_43(
Object parent,
Invocation parentInvocation,
) : super(
@@ -504,8 +505,8 @@ class _FakeGitBlob_43 extends _i1.SmartFake implements _i13.GitBlob {
);
}
-class _FakeGitCommit_44 extends _i1.SmartFake implements _i13.GitCommit {
- _FakeGitCommit_44(
+class _FakeGitBlob_44 extends _i1.SmartFake implements _i13.GitBlob {
+ _FakeGitBlob_44(
Object parent,
Invocation parentInvocation,
) : super(
@@ -514,8 +515,8 @@ class _FakeGitCommit_44 extends _i1.SmartFake implements _i13.GitCommit {
);
}
-class _FakeGitTag_45 extends _i1.SmartFake implements _i13.GitTag {
- _FakeGitTag_45(
+class _FakeGitCommit_45 extends _i1.SmartFake implements _i13.GitCommit {
+ _FakeGitCommit_45(
Object parent,
Invocation parentInvocation,
) : super(
@@ -524,8 +525,8 @@ class _FakeGitTag_45 extends _i1.SmartFake implements _i13.GitTag {
);
}
-class _FakeGitTree_46 extends _i1.SmartFake implements _i13.GitTree {
- _FakeGitTree_46(
+class _FakeGitTag_46 extends _i1.SmartFake implements _i13.GitTag {
+ _FakeGitTag_46(
Object parent,
Invocation parentInvocation,
) : super(
@@ -534,8 +535,8 @@ class _FakeGitTree_46 extends _i1.SmartFake implements _i13.GitTree {
);
}
-class _FakeDefaultPolicies_47 extends _i1.SmartFake implements _i14.DefaultPolicies {
- _FakeDefaultPolicies_47(
+class _FakeGitTree_47 extends _i1.SmartFake implements _i13.GitTree {
+ _FakeGitTree_47(
Object parent,
Invocation parentInvocation,
) : super(
@@ -544,8 +545,8 @@ class _FakeDefaultPolicies_47 extends _i1.SmartFake implements _i14.DefaultPolic
);
}
-class _FakeLink_48 extends _i1.SmartFake implements _i14.Link {
- _FakeLink_48(
+class _FakeDefaultPolicies_48 extends _i1.SmartFake implements _i14.DefaultPolicies {
+ _FakeDefaultPolicies_48(
Object parent,
Invocation parentInvocation,
) : super(
@@ -554,8 +555,8 @@ class _FakeLink_48 extends _i1.SmartFake implements _i14.Link {
);
}
-class _FakeGraphQLCache_49 extends _i1.SmartFake implements _i14.GraphQLCache {
- _FakeGraphQLCache_49(
+class _FakeLink_49 extends _i1.SmartFake implements _i14.Link {
+ _FakeLink_49(
Object parent,
Invocation parentInvocation,
) : super(
@@ -564,8 +565,8 @@ class _FakeGraphQLCache_49 extends _i1.SmartFake implements _i14.GraphQLCache {
);
}
-class _FakeQueryManager_50 extends _i1.SmartFake implements _i14.QueryManager {
- _FakeQueryManager_50(
+class _FakeGraphQLCache_50 extends _i1.SmartFake implements _i14.GraphQLCache {
+ _FakeGraphQLCache_50(
Object parent,
Invocation parentInvocation,
) : super(
@@ -574,8 +575,8 @@ class _FakeQueryManager_50 extends _i1.SmartFake implements _i14.QueryManager {
);
}
-class _FakeObservableQuery_51 extends _i1.SmartFake implements _i14.ObservableQuery {
- _FakeObservableQuery_51(
+class _FakeQueryManager_51 extends _i1.SmartFake implements _i14.QueryManager {
+ _FakeQueryManager_51(
Object parent,
Invocation parentInvocation,
) : super(
@@ -584,8 +585,8 @@ class _FakeObservableQuery_51 extends _i1.SmartFake implements _i14.Ob
);
}
-class _FakeQueryResult_52 extends _i1.SmartFake implements _i14.QueryResult {
- _FakeQueryResult_52(
+class _FakeObservableQuery_52 extends _i1.SmartFake implements _i14.ObservableQuery {
+ _FakeObservableQuery_52(
Object parent,
Invocation parentInvocation,
) : super(
@@ -594,8 +595,8 @@ class _FakeQueryResult_52 extends _i1.SmartFake implem
);
}
-class _FakeHttpClientRequest_53 extends _i1.SmartFake implements _i24.HttpClientRequest {
- _FakeHttpClientRequest_53(
+class _FakeQueryResult_53 extends _i1.SmartFake implements _i14.QueryResult {
+ _FakeQueryResult_53(
Object parent,
Invocation parentInvocation,
) : super(
@@ -604,8 +605,8 @@ class _FakeHttpClientRequest_53 extends _i1.SmartFake implements _i24.HttpClient
);
}
-class _FakeUri_54 extends _i1.SmartFake implements Uri {
- _FakeUri_54(
+class _FakeHttpClientRequest_54 extends _i1.SmartFake implements _i25.HttpClientRequest {
+ _FakeHttpClientRequest_54(
Object parent,
Invocation parentInvocation,
) : super(
@@ -614,8 +615,8 @@ class _FakeUri_54 extends _i1.SmartFake implements Uri {
);
}
-class _FakeHttpHeaders_55 extends _i1.SmartFake implements _i24.HttpHeaders {
- _FakeHttpHeaders_55(
+class _FakeUri_55 extends _i1.SmartFake implements Uri {
+ _FakeUri_55(
Object parent,
Invocation parentInvocation,
) : super(
@@ -624,8 +625,8 @@ class _FakeHttpHeaders_55 extends _i1.SmartFake implements _i24.HttpHeaders {
);
}
-class _FakeHttpClientResponse_56 extends _i1.SmartFake implements _i24.HttpClientResponse {
- _FakeHttpClientResponse_56(
+class _FakeHttpHeaders_56 extends _i1.SmartFake implements _i25.HttpHeaders {
+ _FakeHttpHeaders_56(
Object parent,
Invocation parentInvocation,
) : super(
@@ -634,8 +635,8 @@ class _FakeHttpClientResponse_56 extends _i1.SmartFake implements _i24.HttpClien
);
}
-class _FakeEncoding_57 extends _i1.SmartFake implements _i25.Encoding {
- _FakeEncoding_57(
+class _FakeHttpClientResponse_57 extends _i1.SmartFake implements _i25.HttpClientResponse {
+ _FakeHttpClientResponse_57(
Object parent,
Invocation parentInvocation,
) : super(
@@ -644,8 +645,8 @@ class _FakeEncoding_57 extends _i1.SmartFake implements _i25.Encoding {
);
}
-class _FakeSocket_58 extends _i1.SmartFake implements _i24.Socket {
- _FakeSocket_58(
+class _FakeEncoding_58 extends _i1.SmartFake implements _i26.Encoding {
+ _FakeEncoding_58(
Object parent,
Invocation parentInvocation,
) : super(
@@ -654,8 +655,8 @@ class _FakeSocket_58 extends _i1.SmartFake implements _i24.Socket {
);
}
-class _FakeStreamSubscription_59 extends _i1.SmartFake implements _i20.StreamSubscription {
- _FakeStreamSubscription_59(
+class _FakeSocket_59 extends _i1.SmartFake implements _i25.Socket {
+ _FakeSocket_59(
Object parent,
Invocation parentInvocation,
) : super(
@@ -664,8 +665,8 @@ class _FakeStreamSubscription_59 extends _i1.SmartFake implements _i20.Stream
);
}
-class _FakeJobCancelResponse_60 extends _i1.SmartFake implements _i6.JobCancelResponse {
- _FakeJobCancelResponse_60(
+class _FakeStreamSubscription_60 extends _i1.SmartFake implements _i20.StreamSubscription {
+ _FakeStreamSubscription_60(
Object parent,
Invocation parentInvocation,
) : super(
@@ -674,8 +675,8 @@ class _FakeJobCancelResponse_60 extends _i1.SmartFake implements _i6.JobCancelRe
);
}
-class _FakeJob_61 extends _i1.SmartFake implements _i6.Job {
- _FakeJob_61(
+class _FakeJobCancelResponse_61 extends _i1.SmartFake implements _i6.JobCancelResponse {
+ _FakeJobCancelResponse_61(
Object parent,
Invocation parentInvocation,
) : super(
@@ -684,8 +685,8 @@ class _FakeJob_61 extends _i1.SmartFake implements _i6.Job {
);
}
-class _FakeGetQueryResultsResponse_62 extends _i1.SmartFake implements _i6.GetQueryResultsResponse {
- _FakeGetQueryResultsResponse_62(
+class _FakeJob_62 extends _i1.SmartFake implements _i6.Job {
+ _FakeJob_62(
Object parent,
Invocation parentInvocation,
) : super(
@@ -694,8 +695,8 @@ class _FakeGetQueryResultsResponse_62 extends _i1.SmartFake implements _i6.GetQu
);
}
-class _FakeJobList_63 extends _i1.SmartFake implements _i6.JobList {
- _FakeJobList_63(
+class _FakeGetQueryResultsResponse_63 extends _i1.SmartFake implements _i6.GetQueryResultsResponse {
+ _FakeGetQueryResultsResponse_63(
Object parent,
Invocation parentInvocation,
) : super(
@@ -704,8 +705,8 @@ class _FakeJobList_63 extends _i1.SmartFake implements _i6.JobList {
);
}
-class _FakeQueryResponse_64 extends _i1.SmartFake implements _i6.QueryResponse {
- _FakeQueryResponse_64(
+class _FakeJobList_64 extends _i1.SmartFake implements _i6.JobList {
+ _FakeJobList_64(
Object parent,
Invocation parentInvocation,
) : super(
@@ -714,8 +715,8 @@ class _FakeQueryResponse_64 extends _i1.SmartFake implements _i6.QueryResponse {
);
}
-class _FakeBuildBucketClient_65 extends _i1.SmartFake implements _i15.BuildBucketClient {
- _FakeBuildBucketClient_65(
+class _FakeQueryResponse_65 extends _i1.SmartFake implements _i6.QueryResponse {
+ _FakeQueryResponse_65(
Object parent,
Invocation parentInvocation,
) : super(
@@ -724,8 +725,8 @@ class _FakeBuildBucketClient_65 extends _i1.SmartFake implements _i15.BuildBucke
);
}
-class _FakeCacheService_66 extends _i1.SmartFake implements _i15.CacheService {
- _FakeCacheService_66(
+class _FakeBuildBucketClient_66 extends _i1.SmartFake implements _i15.BuildBucketClient {
+ _FakeBuildBucketClient_66(
Object parent,
Invocation parentInvocation,
) : super(
@@ -734,8 +735,8 @@ class _FakeCacheService_66 extends _i1.SmartFake implements _i15.CacheService {
);
}
-class _FakePubSub_67 extends _i1.SmartFake implements _i15.PubSub {
- _FakePubSub_67(
+class _FakeCacheService_67 extends _i1.SmartFake implements _i15.CacheService {
+ _FakeCacheService_67(
Object parent,
Invocation parentInvocation,
) : super(
@@ -744,8 +745,8 @@ class _FakePubSub_67 extends _i1.SmartFake implements _i15.PubSub {
);
}
-class _FakeProcess_68 extends _i1.SmartFake implements _i24.Process {
- _FakeProcess_68(
+class _FakePubSub_68 extends _i1.SmartFake implements _i15.PubSub {
+ _FakePubSub_68(
Object parent,
Invocation parentInvocation,
) : super(
@@ -754,8 +755,8 @@ class _FakeProcess_68 extends _i1.SmartFake implements _i24.Process {
);
}
-class _FakePullRequestMerge_69 extends _i1.SmartFake implements _i13.PullRequestMerge {
- _FakePullRequestMerge_69(
+class _FakeProcess_69 extends _i1.SmartFake implements _i25.Process {
+ _FakeProcess_69(
Object parent,
Invocation parentInvocation,
) : super(
@@ -764,8 +765,8 @@ class _FakePullRequestMerge_69 extends _i1.SmartFake implements _i13.PullRequest
);
}
-class _FakePullRequestComment_70 extends _i1.SmartFake implements _i13.PullRequestComment {
- _FakePullRequestComment_70(
+class _FakePullRequestMerge_70 extends _i1.SmartFake implements _i13.PullRequestMerge {
+ _FakePullRequestMerge_70(
Object parent,
Invocation parentInvocation,
) : super(
@@ -774,8 +775,8 @@ class _FakePullRequestComment_70 extends _i1.SmartFake implements _i13.PullReque
);
}
-class _FakePullRequestReview_71 extends _i1.SmartFake implements _i13.PullRequestReview {
- _FakePullRequestReview_71(
+class _FakePullRequestComment_71 extends _i1.SmartFake implements _i13.PullRequestComment {
+ _FakePullRequestComment_71(
Object parent,
Invocation parentInvocation,
) : super(
@@ -784,8 +785,8 @@ class _FakePullRequestReview_71 extends _i1.SmartFake implements _i13.PullReques
);
}
-class _FakeRepository_72 extends _i1.SmartFake implements _i13.Repository {
- _FakeRepository_72(
+class _FakePullRequestReview_72 extends _i1.SmartFake implements _i13.PullRequestReview {
+ _FakePullRequestReview_72(
Object parent,
Invocation parentInvocation,
) : super(
@@ -794,8 +795,8 @@ class _FakeRepository_72 extends _i1.SmartFake implements _i13.Repository {
);
}
-class _FakeLicenseDetails_73 extends _i1.SmartFake implements _i13.LicenseDetails {
- _FakeLicenseDetails_73(
+class _FakeRepository_73 extends _i1.SmartFake implements _i13.Repository {
+ _FakeRepository_73(
Object parent,
Invocation parentInvocation,
) : super(
@@ -804,8 +805,8 @@ class _FakeLicenseDetails_73 extends _i1.SmartFake implements _i13.LicenseDetail
);
}
-class _FakeLanguageBreakdown_74 extends _i1.SmartFake implements _i13.LanguageBreakdown {
- _FakeLanguageBreakdown_74(
+class _FakeLicenseDetails_74 extends _i1.SmartFake implements _i13.LicenseDetails {
+ _FakeLicenseDetails_74(
Object parent,
Invocation parentInvocation,
) : super(
@@ -814,8 +815,8 @@ class _FakeLanguageBreakdown_74 extends _i1.SmartFake implements _i13.LanguageBr
);
}
-class _FakeBranch_75 extends _i1.SmartFake implements _i13.Branch {
- _FakeBranch_75(
+class _FakeLanguageBreakdown_75 extends _i1.SmartFake implements _i13.LanguageBreakdown {
+ _FakeLanguageBreakdown_75(
Object parent,
Invocation parentInvocation,
) : super(
@@ -824,8 +825,8 @@ class _FakeBranch_75 extends _i1.SmartFake implements _i13.Branch {
);
}
-class _FakeCommitComment_76 extends _i1.SmartFake implements _i13.CommitComment {
- _FakeCommitComment_76(
+class _FakeBranch_76 extends _i1.SmartFake implements _i13.Branch {
+ _FakeBranch_76(
Object parent,
Invocation parentInvocation,
) : super(
@@ -834,8 +835,8 @@ class _FakeCommitComment_76 extends _i1.SmartFake implements _i13.CommitComment
);
}
-class _FakeRepositoryCommit_77 extends _i1.SmartFake implements _i13.RepositoryCommit {
- _FakeRepositoryCommit_77(
+class _FakeCommitComment_77 extends _i1.SmartFake implements _i13.CommitComment {
+ _FakeCommitComment_77(
Object parent,
Invocation parentInvocation,
) : super(
@@ -844,8 +845,8 @@ class _FakeRepositoryCommit_77 extends _i1.SmartFake implements _i13.RepositoryC
);
}
-class _FakeGitHubComparison_78 extends _i1.SmartFake implements _i13.GitHubComparison {
- _FakeGitHubComparison_78(
+class _FakeRepositoryCommit_78 extends _i1.SmartFake implements _i13.RepositoryCommit {
+ _FakeRepositoryCommit_78(
Object parent,
Invocation parentInvocation,
) : super(
@@ -854,8 +855,8 @@ class _FakeGitHubComparison_78 extends _i1.SmartFake implements _i13.GitHubCompa
);
}
-class _FakeGitHubFile_79 extends _i1.SmartFake implements _i13.GitHubFile {
- _FakeGitHubFile_79(
+class _FakeGitHubComparison_79 extends _i1.SmartFake implements _i13.GitHubComparison {
+ _FakeGitHubComparison_79(
Object parent,
Invocation parentInvocation,
) : super(
@@ -864,8 +865,8 @@ class _FakeGitHubFile_79 extends _i1.SmartFake implements _i13.GitHubFile {
);
}
-class _FakeRepositoryContents_80 extends _i1.SmartFake implements _i13.RepositoryContents {
- _FakeRepositoryContents_80(
+class _FakeGitHubFile_80 extends _i1.SmartFake implements _i13.GitHubFile {
+ _FakeGitHubFile_80(
Object parent,
Invocation parentInvocation,
) : super(
@@ -874,8 +875,8 @@ class _FakeRepositoryContents_80 extends _i1.SmartFake implements _i13.Repositor
);
}
-class _FakeContentCreation_81 extends _i1.SmartFake implements _i13.ContentCreation {
- _FakeContentCreation_81(
+class _FakeRepositoryContents_81 extends _i1.SmartFake implements _i13.RepositoryContents {
+ _FakeRepositoryContents_81(
Object parent,
Invocation parentInvocation,
) : super(
@@ -884,8 +885,8 @@ class _FakeContentCreation_81 extends _i1.SmartFake implements _i13.ContentCreat
);
}
-class _FakeHook_82 extends _i1.SmartFake implements _i13.Hook {
- _FakeHook_82(
+class _FakeContentCreation_82 extends _i1.SmartFake implements _i13.ContentCreation {
+ _FakeContentCreation_82(
Object parent,
Invocation parentInvocation,
) : super(
@@ -894,8 +895,8 @@ class _FakeHook_82 extends _i1.SmartFake implements _i13.Hook {
);
}
-class _FakePublicKey_83 extends _i1.SmartFake implements _i13.PublicKey {
- _FakePublicKey_83(
+class _FakeHook_83 extends _i1.SmartFake implements _i13.Hook {
+ _FakeHook_83(
Object parent,
Invocation parentInvocation,
) : super(
@@ -904,8 +905,8 @@ class _FakePublicKey_83 extends _i1.SmartFake implements _i13.PublicKey {
);
}
-class _FakeRepositoryPages_84 extends _i1.SmartFake implements _i13.RepositoryPages {
- _FakeRepositoryPages_84(
+class _FakePublicKey_84 extends _i1.SmartFake implements _i13.PublicKey {
+ _FakePublicKey_84(
Object parent,
Invocation parentInvocation,
) : super(
@@ -914,8 +915,8 @@ class _FakeRepositoryPages_84 extends _i1.SmartFake implements _i13.RepositoryPa
);
}
-class _FakePageBuild_85 extends _i1.SmartFake implements _i13.PageBuild {
- _FakePageBuild_85(
+class _FakeRepositoryPages_85 extends _i1.SmartFake implements _i13.RepositoryPages {
+ _FakeRepositoryPages_85(
Object parent,
Invocation parentInvocation,
) : super(
@@ -924,8 +925,8 @@ class _FakePageBuild_85 extends _i1.SmartFake implements _i13.PageBuild {
);
}
-class _FakeRelease_86 extends _i1.SmartFake implements _i13.Release {
- _FakeRelease_86(
+class _FakePageBuild_86 extends _i1.SmartFake implements _i13.PageBuild {
+ _FakePageBuild_86(
Object parent,
Invocation parentInvocation,
) : super(
@@ -934,8 +935,8 @@ class _FakeRelease_86 extends _i1.SmartFake implements _i13.Release {
);
}
-class _FakeReleaseAsset_87 extends _i1.SmartFake implements _i13.ReleaseAsset {
- _FakeReleaseAsset_87(
+class _FakeRelease_87 extends _i1.SmartFake implements _i13.Release {
+ _FakeRelease_87(
Object parent,
Invocation parentInvocation,
) : super(
@@ -944,8 +945,8 @@ class _FakeReleaseAsset_87 extends _i1.SmartFake implements _i13.ReleaseAsset {
);
}
-class _FakeContributorParticipation_88 extends _i1.SmartFake implements _i13.ContributorParticipation {
- _FakeContributorParticipation_88(
+class _FakeReleaseAsset_88 extends _i1.SmartFake implements _i13.ReleaseAsset {
+ _FakeReleaseAsset_88(
Object parent,
Invocation parentInvocation,
) : super(
@@ -954,8 +955,8 @@ class _FakeContributorParticipation_88 extends _i1.SmartFake implements _i13.Con
);
}
-class _FakeRepositoryStatus_89 extends _i1.SmartFake implements _i13.RepositoryStatus {
- _FakeRepositoryStatus_89(
+class _FakeContributorParticipation_89 extends _i1.SmartFake implements _i13.ContributorParticipation {
+ _FakeContributorParticipation_89(
Object parent,
Invocation parentInvocation,
) : super(
@@ -964,8 +965,8 @@ class _FakeRepositoryStatus_89 extends _i1.SmartFake implements _i13.RepositoryS
);
}
-class _FakeCombinedRepositoryStatus_90 extends _i1.SmartFake implements _i13.CombinedRepositoryStatus {
- _FakeCombinedRepositoryStatus_90(
+class _FakeRepositoryStatus_90 extends _i1.SmartFake implements _i13.RepositoryStatus {
+ _FakeRepositoryStatus_90(
Object parent,
Invocation parentInvocation,
) : super(
@@ -974,8 +975,8 @@ class _FakeCombinedRepositoryStatus_90 extends _i1.SmartFake implements _i13.Com
);
}
-class _FakeReleaseNotes_91 extends _i1.SmartFake implements _i13.ReleaseNotes {
- _FakeReleaseNotes_91(
+class _FakeCombinedRepositoryStatus_91 extends _i1.SmartFake implements _i13.CombinedRepositoryStatus {
+ _FakeCombinedRepositoryStatus_91(
Object parent,
Invocation parentInvocation,
) : super(
@@ -984,8 +985,8 @@ class _FakeReleaseNotes_91 extends _i1.SmartFake implements _i13.ReleaseNotes {
);
}
-class _FakeTableDataInsertAllResponse_92 extends _i1.SmartFake implements _i6.TableDataInsertAllResponse {
- _FakeTableDataInsertAllResponse_92(
+class _FakeReleaseNotes_92 extends _i1.SmartFake implements _i13.ReleaseNotes {
+ _FakeReleaseNotes_92(
Object parent,
Invocation parentInvocation,
) : super(
@@ -994,8 +995,8 @@ class _FakeTableDataInsertAllResponse_92 extends _i1.SmartFake implements _i6.Ta
);
}
-class _FakeTableDataList_93 extends _i1.SmartFake implements _i6.TableDataList {
- _FakeTableDataList_93(
+class _FakeTableDataInsertAllResponse_93 extends _i1.SmartFake implements _i6.TableDataInsertAllResponse {
+ _FakeTableDataInsertAllResponse_93(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1004,8 +1005,8 @@ class _FakeTableDataList_93 extends _i1.SmartFake implements _i6.TableDataList {
);
}
-class _FakeUser_94 extends _i1.SmartFake implements _i13.User {
- _FakeUser_94(
+class _FakeTableDataList_94 extends _i1.SmartFake implements _i6.TableDataList {
+ _FakeTableDataList_94(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1014,8 +1015,8 @@ class _FakeUser_94 extends _i1.SmartFake implements _i13.User {
);
}
-class _FakeCurrentUser_95 extends _i1.SmartFake implements _i13.CurrentUser {
- _FakeCurrentUser_95(
+class _FakeUser_95 extends _i1.SmartFake implements _i13.User {
+ _FakeUser_95(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1024,8 +1025,8 @@ class _FakeCurrentUser_95 extends _i1.SmartFake implements _i13.CurrentUser {
);
}
-class _FakeEntry_96 extends _i1.SmartFake implements _i26.Entry {
- _FakeEntry_96(
+class _FakeCurrentUser_96 extends _i1.SmartFake implements _i13.CurrentUser {
+ _FakeCurrentUser_96(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1034,8 +1035,8 @@ class _FakeEntry_96 extends _i1.SmartFake implements _i26.Entry {
);
}
-class _FakeCache_97 extends _i1.SmartFake implements _i26.Cache {
- _FakeCache_97(
+class _FakeEntry_97 extends _i1.SmartFake implements _i27.Entry {
+ _FakeEntry_97(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1044,8 +1045,8 @@ class _FakeCache_97 extends _i1.SmartFake implements _i26.Cache {
);
}
-class _FakeAuthentication_98 extends _i1.SmartFake implements _i13.Authentication {
- _FakeAuthentication_98(
+class _FakeCache_98 extends _i1.SmartFake implements _i27.Cache {
+ _FakeCache_98(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1054,8 +1055,8 @@ class _FakeAuthentication_98 extends _i1.SmartFake implements _i13.Authenticatio
);
}
-class _FakeActivityService_99 extends _i1.SmartFake implements _i13.ActivityService {
- _FakeActivityService_99(
+class _FakeAuthentication_99 extends _i1.SmartFake implements _i13.Authentication {
+ _FakeAuthentication_99(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1064,8 +1065,8 @@ class _FakeActivityService_99 extends _i1.SmartFake implements _i13.ActivityServ
);
}
-class _FakeAuthorizationsService_100 extends _i1.SmartFake implements _i13.AuthorizationsService {
- _FakeAuthorizationsService_100(
+class _FakeActivityService_100 extends _i1.SmartFake implements _i13.ActivityService {
+ _FakeActivityService_100(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1074,8 +1075,8 @@ class _FakeAuthorizationsService_100 extends _i1.SmartFake implements _i13.Autho
);
}
-class _FakeGistsService_101 extends _i1.SmartFake implements _i13.GistsService {
- _FakeGistsService_101(
+class _FakeAuthorizationsService_101 extends _i1.SmartFake implements _i13.AuthorizationsService {
+ _FakeAuthorizationsService_101(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1084,8 +1085,8 @@ class _FakeGistsService_101 extends _i1.SmartFake implements _i13.GistsService {
);
}
-class _FakeGitService_102 extends _i1.SmartFake implements _i13.GitService {
- _FakeGitService_102(
+class _FakeGistsService_102 extends _i1.SmartFake implements _i13.GistsService {
+ _FakeGistsService_102(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1094,8 +1095,8 @@ class _FakeGitService_102 extends _i1.SmartFake implements _i13.GitService {
);
}
-class _FakeIssuesService_103 extends _i1.SmartFake implements _i13.IssuesService {
- _FakeIssuesService_103(
+class _FakeGitService_103 extends _i1.SmartFake implements _i13.GitService {
+ _FakeGitService_103(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1104,8 +1105,8 @@ class _FakeIssuesService_103 extends _i1.SmartFake implements _i13.IssuesService
);
}
-class _FakeMiscService_104 extends _i1.SmartFake implements _i13.MiscService {
- _FakeMiscService_104(
+class _FakeIssuesService_104 extends _i1.SmartFake implements _i13.IssuesService {
+ _FakeIssuesService_104(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1114,8 +1115,8 @@ class _FakeMiscService_104 extends _i1.SmartFake implements _i13.MiscService {
);
}
-class _FakeOrganizationsService_105 extends _i1.SmartFake implements _i13.OrganizationsService {
- _FakeOrganizationsService_105(
+class _FakeMiscService_105 extends _i1.SmartFake implements _i13.MiscService {
+ _FakeMiscService_105(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1124,8 +1125,8 @@ class _FakeOrganizationsService_105 extends _i1.SmartFake implements _i13.Organi
);
}
-class _FakePullRequestsService_106 extends _i1.SmartFake implements _i13.PullRequestsService {
- _FakePullRequestsService_106(
+class _FakeOrganizationsService_106 extends _i1.SmartFake implements _i13.OrganizationsService {
+ _FakeOrganizationsService_106(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1134,8 +1135,8 @@ class _FakePullRequestsService_106 extends _i1.SmartFake implements _i13.PullReq
);
}
-class _FakeRepositoriesService_107 extends _i1.SmartFake implements _i13.RepositoriesService {
- _FakeRepositoriesService_107(
+class _FakePullRequestsService_107 extends _i1.SmartFake implements _i13.PullRequestsService {
+ _FakePullRequestsService_107(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1144,8 +1145,8 @@ class _FakeRepositoriesService_107 extends _i1.SmartFake implements _i13.Reposit
);
}
-class _FakeSearchService_108 extends _i1.SmartFake implements _i13.SearchService {
- _FakeSearchService_108(
+class _FakeRepositoriesService_108 extends _i1.SmartFake implements _i13.RepositoriesService {
+ _FakeRepositoriesService_108(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1154,8 +1155,8 @@ class _FakeSearchService_108 extends _i1.SmartFake implements _i13.SearchService
);
}
-class _FakeUrlShortenerService_109 extends _i1.SmartFake implements _i13.UrlShortenerService {
- _FakeUrlShortenerService_109(
+class _FakeSearchService_109 extends _i1.SmartFake implements _i13.SearchService {
+ _FakeSearchService_109(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1164,8 +1165,8 @@ class _FakeUrlShortenerService_109 extends _i1.SmartFake implements _i13.UrlShor
);
}
-class _FakeUsersService_110 extends _i1.SmartFake implements _i13.UsersService {
- _FakeUsersService_110(
+class _FakeUrlShortenerService_110 extends _i1.SmartFake implements _i13.UrlShortenerService {
+ _FakeUrlShortenerService_110(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1174,8 +1175,8 @@ class _FakeUsersService_110 extends _i1.SmartFake implements _i13.UsersService {
);
}
-class _FakeChecksService_111 extends _i1.SmartFake implements _i13.ChecksService {
- _FakeChecksService_111(
+class _FakeUsersService_111 extends _i1.SmartFake implements _i13.UsersService {
+ _FakeUsersService_111(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1184,8 +1185,18 @@ class _FakeChecksService_111 extends _i1.SmartFake implements _i13.ChecksService
);
}
-class _FakeResponse_112 extends _i1.SmartFake implements _i2.Response {
- _FakeResponse_112(
+class _FakeChecksService_112 extends _i1.SmartFake implements _i13.ChecksService {
+ _FakeChecksService_112(
+ Object parent,
+ Invocation parentInvocation,
+ ) : super(
+ parent,
+ parentInvocation,
+ );
+}
+
+class _FakeResponse_113 extends _i1.SmartFake implements _i2.Response {
+ _FakeResponse_113(
Object parent,
Invocation parentInvocation,
) : super(
@@ -1233,7 +1244,7 @@ class MockAccessClientProvider extends _i1.Mock implements _i5.AccessClientProvi
/// A class which mocks [AccessTokenService].
///
/// See the documentation for Mockito's code generation for more information.
-class MockAccessTokenService extends _i1.Mock implements _i27.AccessTokenService {
+class MockAccessTokenService extends _i1.Mock implements _i28.AccessTokenService {
MockAccessTokenService() {
_i1.throwOnMissingStub(this);
}
@@ -1374,13 +1385,13 @@ class MockBranchService extends _i1.Mock implements _i15.BranchService {
) as _i7.GerritService);
@override
- _i28.RetryOptions get retryOptions => (super.noSuchMethod(
+ _i29.RetryOptions get retryOptions => (super.noSuchMethod(
Invocation.getter(#retryOptions),
- returnValue: _i29.dummyValue<_i28.RetryOptions>(
+ returnValue: _i30.dummyValue<_i29.RetryOptions>(
this,
Invocation.getter(#retryOptions),
),
- ) as _i28.RetryOptions);
+ ) as _i29.RetryOptions);
@override
_i20.Future branchFlutterRecipes(
@@ -1429,7 +1440,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i15.BuildBucketClient {
@override
String get buildBucketBuildUri => (super.noSuchMethod(
Invocation.getter(#buildBucketBuildUri),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#buildBucketBuildUri),
),
@@ -1438,7 +1449,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i15.BuildBucketClient {
@override
String get buildBucketBuilderUri => (super.noSuchMethod(
Invocation.getter(#buildBucketBuilderUri),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#buildBucketBuilderUri),
),
@@ -1592,7 +1603,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i15.BuildBucketClient {
/// A class which mocks [CommitService].
///
/// See the documentation for Mockito's code generation for more information.
-class MockCommitService extends _i1.Mock implements _i30.CommitService {
+class MockCommitService extends _i1.Mock implements _i31.CommitService {
MockCommitService() {
_i1.throwOnMissingStub(this);
}
@@ -1616,7 +1627,7 @@ class MockCommitService extends _i1.Mock implements _i30.CommitService {
) as _i9.DatastoreServiceProvider);
@override
- _i20.Future handleCreateGithubRequest(_i31.CreateEvent? createEvent) => (super.noSuchMethod(
+ _i20.Future handleCreateGithubRequest(_i32.CreateEvent? createEvent) => (super.noSuchMethod(
Invocation.method(
#handleCreateGithubRequest,
[createEvent],
@@ -1659,7 +1670,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get autosubmitBot => (super.noSuchMethod(
Invocation.getter(#autosubmitBot),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#autosubmitBot),
),
@@ -1677,7 +1688,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get githubPrivateKey => (super.noSuchMethod(
Invocation.getter(#githubPrivateKey),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#githubPrivateKey),
)),
@@ -1686,7 +1697,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get overrideTreeStatusLabel => (super.noSuchMethod(
Invocation.getter(#overrideTreeStatusLabel),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#overrideTreeStatusLabel),
)),
@@ -1695,7 +1706,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get githubPublicKey => (super.noSuchMethod(
Invocation.getter(#githubPublicKey),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#githubPublicKey),
)),
@@ -1704,7 +1715,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get githubAppId => (super.noSuchMethod(
Invocation.getter(#githubAppId),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#githubAppId),
)),
@@ -1719,7 +1730,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get defaultRecipeBundleRef => (super.noSuchMethod(
Invocation.getter(#defaultRecipeBundleRef),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#defaultRecipeBundleRef),
),
@@ -1773,7 +1784,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get oauthClientId => (super.noSuchMethod(
Invocation.getter(#oauthClientId),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#oauthClientId),
)),
@@ -1782,7 +1793,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get frobWebhookKey => (super.noSuchMethod(
Invocation.getter(#frobWebhookKey),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#frobWebhookKey),
)),
@@ -1791,7 +1802,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get githubOAuthToken => (super.noSuchMethod(
Invocation.getter(#githubOAuthToken),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#githubOAuthToken),
)),
@@ -1800,7 +1811,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get wrongBaseBranchPullRequestMessage => (super.noSuchMethod(
Invocation.getter(#wrongBaseBranchPullRequestMessage),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#wrongBaseBranchPullRequestMessage),
),
@@ -1809,7 +1820,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get releaseBranchPullRequestMessage => (super.noSuchMethod(
Invocation.getter(#releaseBranchPullRequestMessage),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#releaseBranchPullRequestMessage),
),
@@ -1818,7 +1829,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
_i20.Future get webhookKey => (super.noSuchMethod(
Invocation.getter(#webhookKey),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.getter(#webhookKey),
)),
@@ -1827,7 +1838,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get mergeConflictPullRequestMessage => (super.noSuchMethod(
Invocation.getter(#mergeConflictPullRequestMessage),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#mergeConflictPullRequestMessage),
),
@@ -1836,7 +1847,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get missingTestsPullRequestMessage => (super.noSuchMethod(
Invocation.getter(#missingTestsPullRequestMessage),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#missingTestsPullRequestMessage),
),
@@ -1845,7 +1856,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterGoldPending => (super.noSuchMethod(
Invocation.getter(#flutterGoldPending),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterGoldPending),
),
@@ -1854,7 +1865,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterGoldSuccess => (super.noSuchMethod(
Invocation.getter(#flutterGoldSuccess),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterGoldSuccess),
),
@@ -1863,7 +1874,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterGoldChanges => (super.noSuchMethod(
Invocation.getter(#flutterGoldChanges),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterGoldChanges),
),
@@ -1872,7 +1883,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterGoldStalePR => (super.noSuchMethod(
Invocation.getter(#flutterGoldStalePR),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterGoldStalePR),
),
@@ -1881,7 +1892,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterGoldDraftChange => (super.noSuchMethod(
Invocation.getter(#flutterGoldDraftChange),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterGoldDraftChange),
),
@@ -1932,7 +1943,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterBuild => (super.noSuchMethod(
Invocation.getter(#flutterBuild),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterBuild),
),
@@ -1941,7 +1952,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get flutterBuildDescription => (super.noSuchMethod(
Invocation.getter(#flutterBuildDescription),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#flutterBuildDescription),
),
@@ -1950,7 +1961,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
@override
String get waitingForTreeToGoGreenLabelName => (super.noSuchMethod(
Invocation.getter(#waitingForTreeToGoGreenLabelName),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.getter(#waitingForTreeToGoGreenLabelName),
),
@@ -1963,13 +1974,13 @@ class MockConfig extends _i1.Mock implements _i3.Config {
) as Set);
@override
- _i20.Future> getBranches(_i13.RepositorySlug? slug) => (super.noSuchMethod(
+ _i20.Future> getBranches(_i13.RepositorySlug? slug) => (super.noSuchMethod(
Invocation.method(
#getBranches,
[slug],
),
- returnValue: _i20.Future>.value(<_i32.Branch>[]),
- ) as _i20.Future>);
+ returnValue: _i20.Future>.value(<_i33.Branch>[]),
+ ) as _i20.Future>);
@override
String wrongHeadBranchPullRequestMessage(String? branch) => (super.noSuchMethod(
@@ -1977,7 +1988,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#wrongHeadBranchPullRequestMessage,
[branch],
),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.method(
#wrongHeadBranchPullRequestMessage,
@@ -1992,7 +2003,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#flutterGoldInitialAlert,
[url],
),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.method(
#flutterGoldInitialAlert,
@@ -2007,7 +2018,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#flutterGoldFollowUpAlert,
[url],
),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.method(
#flutterGoldFollowUpAlert,
@@ -2022,7 +2033,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#flutterGoldAlertConstant,
[slug],
),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.method(
#flutterGoldAlertConstant,
@@ -2037,7 +2048,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#flutterGoldCommentID,
[pr],
),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.method(
#flutterGoldCommentID,
@@ -2052,7 +2063,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#generateJsonWebToken,
[],
),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.method(
#generateJsonWebToken,
@@ -2067,7 +2078,7 @@ class MockConfig extends _i1.Mock implements _i3.Config {
#generateGithubToken,
[slug],
),
- returnValue: _i20.Future.value(_i29.dummyValue(
+ returnValue: _i20.Future.value(_i30.dummyValue(
this,
Invocation.method(
#generateGithubToken,
@@ -2249,16 +2260,16 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
) as _i11.DatastoreDB);
@override
- _i28.RetryOptions get retryOptions => (super.noSuchMethod(
+ _i29.RetryOptions get retryOptions => (super.noSuchMethod(
Invocation.getter(#retryOptions),
- returnValue: _i29.dummyValue<_i28.RetryOptions>(
+ returnValue: _i30.dummyValue<_i29.RetryOptions>(
this,
Invocation.getter(#retryOptions),
),
- ) as _i28.RetryOptions);
+ ) as _i29.RetryOptions);
@override
- _i20.Stream<_i33.Commit> queryRecentCommits({
+ _i20.Stream<_i34.Commit> queryRecentCommits({
int? limit = 100,
int? timestamp,
String? branch,
@@ -2275,20 +2286,20 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
#slug: slug,
},
),
- returnValue: _i20.Stream<_i33.Commit>.empty(),
- ) as _i20.Stream<_i33.Commit>);
+ returnValue: _i20.Stream<_i34.Commit>.empty(),
+ ) as _i20.Stream<_i34.Commit>);
@override
- _i20.Stream<_i32.Branch> queryBranches() => (super.noSuchMethod(
+ _i20.Stream<_i33.Branch> queryBranches() => (super.noSuchMethod(
Invocation.method(
#queryBranches,
[],
),
- returnValue: _i20.Stream<_i32.Branch>.empty(),
- ) as _i20.Stream<_i32.Branch>);
+ returnValue: _i20.Stream<_i33.Branch>.empty(),
+ ) as _i20.Stream<_i33.Branch>);
@override
- _i20.Stream<_i34.Task> queryRecentTasksByName({
+ _i20.Stream<_i35.Task> queryRecentTasksByName({
int? limit = 100,
required String? name,
}) =>
@@ -2301,11 +2312,11 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
#name: name,
},
),
- returnValue: _i20.Stream<_i34.Task>.empty(),
- ) as _i20.Stream<_i34.Task>);
+ returnValue: _i20.Stream<_i35.Task>.empty(),
+ ) as _i20.Stream<_i35.Task>);
@override
- _i20.Stream<_i34.FullTask> queryRecentTasks({
+ _i20.Stream<_i35.FullTask> queryRecentTasks({
String? taskName,
int? commitLimit = 20,
String? branch,
@@ -2322,17 +2333,17 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
#slug: slug,
},
),
- returnValue: _i20.Stream<_i34.FullTask>.empty(),
- ) as _i20.Stream<_i34.FullTask>);
+ returnValue: _i20.Stream<_i35.FullTask>.empty(),
+ ) as _i20.Stream<_i35.FullTask>);
@override
- _i20.Future> queryTasksGroupedByStage(_i33.Commit? commit) => (super.noSuchMethod(
+ _i20.Future> queryTasksGroupedByStage(_i34.Commit? commit) => (super.noSuchMethod(
Invocation.method(
#queryTasksGroupedByStage,
[commit],
),
- returnValue: _i20.Future>.value(<_i35.Stage>[]),
- ) as _i20.Future>);
+ returnValue: _i20.Future>.value(<_i36.Stage>[]),
+ ) as _i20.Future>);
@override
_i20.Future<_i18.GithubBuildStatusUpdate> queryLastStatusUpdate(
@@ -2424,8 +2435,8 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
[key],
{#orElse: orElse},
),
- returnValue: _i29.ifNotNull(
- _i29.dummyValueOrNull(
+ returnValue: _i30.ifNotNull(
+ _i30.dummyValueOrNull(
this,
Invocation.method(
#lookupByValue,
@@ -2455,7 +2466,7 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
) as _i20.Future);
@override
- _i20.Future<_i34.Task?> getTaskFromBuildbucketBuild(
+ _i20.Future<_i35.Task?> getTaskFromBuildbucketBuild(
_i8.Build? build, {
String? customName,
}) =>
@@ -2465,26 +2476,26 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService {
[build],
{#customName: customName},
),
- returnValue: _i20.Future<_i34.Task?>.value(),
- ) as _i20.Future<_i34.Task?>);
+ returnValue: _i20.Future<_i35.Task?>.value(),
+ ) as _i20.Future<_i35.Task?>);
}
/// A class which mocks [FakeEntry].
///
/// See the documentation for Mockito's code generation for more information.
-class MockFakeEntry extends _i1.Mock implements _i36.FakeEntry {
+class MockFakeEntry extends _i1.Mock implements _i37.FakeEntry {
MockFakeEntry() {
_i1.throwOnMissingStub(this);
}
@override
- _i37.Uint8List get value => (super.noSuchMethod(
+ _i38.Uint8List get value => (super.noSuchMethod(
Invocation.getter(#value),
- returnValue: _i37.Uint8List(0),
- ) as _i37.Uint8List);
+ returnValue: _i38.Uint8List(0),
+ ) as _i38.Uint8List);
@override
- set value(_i37.Uint8List? _value) => super.noSuchMethod(
+ set value(_i38.Uint8List? _value) => super.noSuchMethod(
Invocation.setter(
#value,
_value,
@@ -2493,8 +2504,8 @@ class MockFakeEntry extends _i1.Mock implements _i36.FakeEntry {
);
@override
- _i20.Future<_i37.Uint8List> get([
- _i20.Future<_i37.Uint8List?> Function()? create,
+ _i20.Future<_i38.Uint8List> get([
+ _i20.Future<_i38.Uint8List?> Function()? create,
Duration? ttl,
]) =>
(super.noSuchMethod(
@@ -2505,8 +2516,8 @@ class MockFakeEntry extends _i1.Mock implements _i36.FakeEntry {
ttl,
],
),
- returnValue: _i20.Future<_i37.Uint8List>.value(_i37.Uint8List(0)),
- ) as _i20.Future<_i37.Uint8List>);
+ returnValue: _i20.Future<_i38.Uint8List>.value(_i38.Uint8List(0)),
+ ) as _i20.Future<_i38.Uint8List>);
@override
_i20.Future purge({int? retries = 0}) => (super.noSuchMethod(
@@ -2520,8 +2531,8 @@ class MockFakeEntry extends _i1.Mock implements _i36.FakeEntry {
) as _i20.Future);
@override
- _i20.Future<_i37.Uint8List?> set(
- _i37.Uint8List? value, [
+ _i20.Future<_i38.Uint8List?> set(
+ _i38.Uint8List? value, [
Duration? ttl,
]) =>
(super.noSuchMethod(
@@ -2532,8 +2543,8 @@ class MockFakeEntry extends _i1.Mock implements _i36.FakeEntry {
ttl,
],
),
- returnValue: _i20.Future<_i37.Uint8List?>.value(),
- ) as _i20.Future<_i37.Uint8List?>);
+ returnValue: _i20.Future<_i38.Uint8List?>.value(),
+ ) as _i20.Future<_i38.Uint8List?>);
}
/// A class which mocks [FirestoreService].
@@ -2625,7 +2636,7 @@ class MockFirestoreService extends _i1.Mock implements _i15.FirestoreService {
) as _i20.Future<_i21.CommitResponse>);
@override
- _i20.Future> queryRecentCommits({
+ _i20.Future> queryRecentCommits({
int? limit = 100,
int? timestamp,
String? branch,
@@ -2642,17 +2653,17 @@ class MockFirestoreService extends _i1.Mock implements _i15.FirestoreService {
#slug: slug,
},
),
- returnValue: _i20.Future>.value(<_i38.Commit>[]),
- ) as _i20.Future>);
+ returnValue: _i20.Future>.value(<_i39.Commit>[]),
+ ) as _i20.Future>);
@override
- _i20.Future> queryCommitTasks(String? commitSha) => (super.noSuchMethod(
+ _i20.Future> queryCommitTasks(String? commitSha) => (super.noSuchMethod(
Invocation.method(
#queryCommitTasks,
[commitSha],
),
- returnValue: _i20.Future>.value(<_i39.Task>[]),
- ) as _i20.Future>);
+ returnValue: _i20.Future>.value(<_i40.Task>[]),
+ ) as _i20.Future>);
@override
_i20.Future<_i22.GithubGoldStatus> queryLastGoldStatus(
@@ -2679,13 +2690,41 @@ class MockFirestoreService extends _i1.Mock implements _i15.FirestoreService {
)),
) as _i20.Future<_i22.GithubGoldStatus>);
+ @override
+ _i20.Future<_i23.GithubBuildStatus> queryLastBuildStatus(
+ _i13.RepositorySlug? slug,
+ int? prNumber,
+ String? head,
+ ) =>
+ (super.noSuchMethod(
+ Invocation.method(
+ #queryLastBuildStatus,
+ [
+ slug,
+ prNumber,
+ head,
+ ],
+ ),
+ returnValue: _i20.Future<_i23.GithubBuildStatus>.value(_FakeGithubBuildStatus_29(
+ this,
+ Invocation.method(
+ #queryLastBuildStatus,
+ [
+ slug,
+ prNumber,
+ head,
+ ],
+ ),
+ )),
+ ) as _i20.Future<_i23.GithubBuildStatus>);
+
@override
_i21.Value getValueFromFilter(Object? comparisonOject) => (super.noSuchMethod(
Invocation.method(
#getValueFromFilter,
[comparisonOject],
),
- returnValue: _FakeValue_29(
+ returnValue: _FakeValue_30(
this,
Invocation.method(
#getValueFromFilter,
@@ -2707,7 +2746,7 @@ class MockFirestoreService extends _i1.Mock implements _i15.FirestoreService {
compositeFilterOp,
],
),
- returnValue: _FakeFilter_30(
+ returnValue: _FakeFilter_31(
this,
Invocation.method(
#generateFilter,
@@ -2914,7 +2953,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
issue,
],
),
- returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_31(
+ returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_32(
this,
Invocation.method(
#edit,
@@ -2940,7 +2979,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
issueNumber,
],
),
- returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_31(
+ returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_32(
this,
Invocation.method(
#get,
@@ -2965,7 +3004,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
issue,
],
),
- returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_31(
+ returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_32(
this,
Invocation.method(
#create,
@@ -3040,7 +3079,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
id,
],
),
- returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_32(
+ returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_33(
this,
Invocation.method(
#getComment,
@@ -3067,7 +3106,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
body,
],
),
- returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_32(
+ returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_33(
this,
Invocation.method(
#createComment,
@@ -3095,7 +3134,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
body,
],
),
- returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_32(
+ returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_33(
this,
Invocation.method(
#updateComment,
@@ -3146,7 +3185,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
name,
],
),
- returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_33(
+ returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_34(
this,
Invocation.method(
#getLabel,
@@ -3177,7 +3216,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
#description: description,
},
),
- returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_33(
+ returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_34(
this,
Invocation.method(
#createLabel,
@@ -3208,7 +3247,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
color,
],
),
- returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_33(
+ returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_34(
this,
Invocation.method(
#editLabel,
@@ -3242,7 +3281,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
#description: description,
},
),
- returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_33(
+ returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_34(
this,
Invocation.method(
#updateLabel,
@@ -3383,7 +3422,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService {
request,
],
),
- returnValue: _i20.Future<_i13.Milestone>.value(_FakeMilestone_34(
+ returnValue: _i20.Future<_i13.Milestone>.value(_FakeMilestone_35(
this,
Invocation.method(
#createMilestone,
@@ -3491,16 +3530,16 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
);
@override
- _i23.GithubChecksUtil get githubChecksUtil => (super.noSuchMethod(
+ _i24.GithubChecksUtil get githubChecksUtil => (super.noSuchMethod(
Invocation.getter(#githubChecksUtil),
- returnValue: _FakeGithubChecksUtil_35(
+ returnValue: _FakeGithubChecksUtil_36(
this,
Invocation.getter(#githubChecksUtil),
),
- ) as _i23.GithubChecksUtil);
+ ) as _i24.GithubChecksUtil);
@override
- set githubChecksUtil(_i23.GithubChecksUtil? _githubChecksUtil) => super.noSuchMethod(
+ set githubChecksUtil(_i24.GithubChecksUtil? _githubChecksUtil) => super.noSuchMethod(
Invocation.setter(
#githubChecksUtil,
_githubChecksUtil,
@@ -3511,7 +3550,7 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
@override
_i20.Future handleCheckSuite(
_i13.PullRequest? pullRequest,
- _i31.CheckSuiteEvent? checkSuiteEvent,
+ _i32.CheckSuiteEvent? checkSuiteEvent,
_i15.Scheduler? scheduler,
) =>
(super.noSuchMethod(
@@ -3529,7 +3568,7 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
@override
_i20.Future updateCheckStatus(
- _i40.BuildPushMessage? buildPushMessage,
+ _i41.BuildPushMessage? buildPushMessage,
_i15.LuciBuildService? luciBuildService,
_i13.RepositorySlug? slug, {
bool? rescheduled = false,
@@ -3548,7 +3587,7 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
) as _i20.Future);
@override
- bool taskFailed(_i40.BuildPushMessage? buildPushMessage) => (super.noSuchMethod(
+ bool taskFailed(_i41.BuildPushMessage? buildPushMessage) => (super.noSuchMethod(
Invocation.method(
#taskFailed,
[buildPushMessage],
@@ -3557,7 +3596,7 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
) as bool);
@override
- int currentAttempt(_i40.Build? build) => (super.noSuchMethod(
+ int currentAttempt(_i41.Build? build) => (super.noSuchMethod(
Invocation.method(
#currentAttempt,
[build],
@@ -3571,7 +3610,7 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
#getGithubSummary,
[summary],
),
- returnValue: _i29.dummyValue(
+ returnValue: _i30.dummyValue(
this,
Invocation.method(
#getGithubSummary,
@@ -3581,12 +3620,12 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
) as String);
@override
- _i13.CheckRunConclusion conclusionForResult(_i40.Result? result) => (super.noSuchMethod(
+ _i13.CheckRunConclusion conclusionForResult(_i41.Result? result) => (super.noSuchMethod(
Invocation.method(
#conclusionForResult,
[result],
),
- returnValue: _FakeCheckRunConclusion_36(
+ returnValue: _FakeCheckRunConclusion_37(
this,
Invocation.method(
#conclusionForResult,
@@ -3596,12 +3635,12 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
) as _i13.CheckRunConclusion);
@override
- _i13.CheckRunStatus statusForResult(_i40.Status? status) => (super.noSuchMethod(
+ _i13.CheckRunStatus statusForResult(_i41.Status? status) => (super.noSuchMethod(
Invocation.method(
#statusForResult,
[status],
),
- returnValue: _FakeCheckRunStatus_37(
+ returnValue: _FakeCheckRunStatus_38(
this,
Invocation.method(
#statusForResult,
@@ -3632,7 +3671,7 @@ class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksServi
/// A class which mocks [GithubChecksUtil].
///
/// See the documentation for Mockito's code generation for more information.
-class MockGithubChecksUtil extends _i1.Mock implements _i23.GithubChecksUtil {
+class MockGithubChecksUtil extends _i1.Mock implements _i24.GithubChecksUtil {
MockGithubChecksUtil() {
_i1.throwOnMissingStub(this);
}
@@ -3640,7 +3679,7 @@ class MockGithubChecksUtil extends _i1.Mock implements _i23.GithubChecksUtil {
@override
_i20.Future