diff --git a/app_dart/lib/cocoon_service.dart b/app_dart/lib/cocoon_service.dart index 69a336b59..b8b3dac2f 100644 --- a/app_dart/lib/cocoon_service.dart +++ b/app_dart/lib/cocoon_service.dart @@ -44,6 +44,7 @@ export 'src/service/buildbucket.dart'; export 'src/service/branch_service.dart'; export 'src/service/cache_service.dart'; export 'src/service/config.dart'; +export 'src/service/firestore.dart'; export 'src/service/gerrit_service.dart'; export 'src/service/github_checks_service.dart'; export 'src/service/luci_build_service.dart'; diff --git a/app_dart/lib/src/service/access_client_provider.dart b/app_dart/lib/src/service/access_client_provider.dart index fb259d1c7..d85480567 100644 --- a/app_dart/lib/src/service/access_client_provider.dart +++ b/app_dart/lib/src/service/access_client_provider.dart @@ -9,7 +9,32 @@ class AccessClientProvider { /// Returns an OAuth 2.0 authenticated access client for the device lab service account. Future createAccessClient({ List scopes = const ['https://www.googleapis.com/auth/cloud-platform'], + Client? baseClient, }) async { - return clientViaApplicationDefaultCredentials(scopes: scopes); + return clientViaApplicationDefaultCredentials(scopes: scopes, baseClient: baseClient); + } +} + +/// Creates a Firestore base client for none (default) database. +/// +/// A default header is required for none (default) Firestore API calls. +/// Both `project_id` and `database_id` are required. +/// +/// https://firebase.google.com/docs/firestore/manage-databases#access_a_named_database_with_a_client_library +class FirestoreBaseClient extends BaseClient { + FirestoreBaseClient({ + required this.projectId, + required this.databaseId, + }); + final String databaseId; + final String projectId; + final Client client = Client(); + @override + Future send(BaseRequest request) { + final Map defaultHeaders = { + 'x-goog-request-params': 'project_id=$projectId&database_id=$databaseId', + }; + request.headers.addAll(defaultHeaders); + return client.send(request); } } diff --git a/app_dart/lib/src/service/config.dart b/app_dart/lib/src/service/config.dart index 10dc0ff76..a338cdeaf 100644 --- a/app_dart/lib/src/service/config.dart +++ b/app_dart/lib/src/service/config.dart @@ -93,6 +93,12 @@ class Config { /// Default properties when rerunning a prod build. static const Map defaultProperties = {'force_upload': true}; + /// GCP project ID. + static const String flutterGcpProjectId = 'flutter-dashboard'; + + // GCP Firestore native database ID. + static const String flutterGcpFirestoreDatabase = 'cocoon'; + @visibleForTesting static const Duration configCacheTtl = Duration(hours: 12); @@ -413,6 +419,11 @@ class Config { ); } + Future createFirestoreService() async { + final AccessClientProvider accessClientProvider = AccessClientProvider(); + return FirestoreService(accessClientProvider); + } + Future createBigQueryService() async { final AccessClientProvider accessClientProvider = AccessClientProvider(); return BigqueryService(accessClientProvider); diff --git a/app_dart/lib/src/service/firestore.dart b/app_dart/lib/src/service/firestore.dart new file mode 100644 index 000000000..f9bb7df85 --- /dev/null +++ b/app_dart/lib/src/service/firestore.dart @@ -0,0 +1,98 @@ +// Copyright 2020 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:async'; + +import 'package:googleapis/firestore/v1.dart'; +import 'package:http/http.dart'; + +import '../model/appengine/commit.dart'; +import '../model/appengine/task.dart'; +import '../model/ci_yaml/target.dart'; +import 'access_client_provider.dart'; +import 'config.dart'; + +const String kDatabase = 'projects/${Config.flutterGcpProjectId}/databases/${Config.flutterGcpFirestoreDatabase}'; + +class FirestoreService { + const FirestoreService(this.accessClientProvider); + + /// AccessClientProvider for OAuth 2.0 authenticated access client + final AccessClientProvider accessClientProvider; + + /// Return a [ProjectsDatabasesDocumentsResource] with an authenticated [client] + Future documentResource() async { + final Client client = await accessClientProvider.createAccessClient( + scopes: const [FirestoreApi.datastoreScope], + baseClient: FirestoreBaseClient( + projectId: Config.flutterGcpProjectId, + databaseId: Config.flutterGcpFirestoreDatabase, + ), + ); + return FirestoreApi(client).projects.databases.documents; + } + + /// Writes [writes] to Firestore within a transaction. + /// + /// This is an atomic operation: either all writes succeed or all writes fail. + Future writeViaTransaction(List writes) async { + final ProjectsDatabasesDocumentsResource databasesDocumentsResource = await documentResource(); + final BeginTransactionRequest beginTransactionRequest = + BeginTransactionRequest(options: TransactionOptions(readWrite: ReadWrite())); + final BeginTransactionResponse beginTransactionResponse = + await databasesDocumentsResource.beginTransaction(beginTransactionRequest, kDatabase); + final CommitRequest commitRequest = + CommitRequest(transaction: beginTransactionResponse.transaction, writes: writes); + return databasesDocumentsResource.commit(commitRequest, kDatabase); + } +} + +/// Generates task documents based on targets. +List targetsToTaskDocuments(Commit commit, List targets) { + final Iterable iterableDocuments = targets.map( + (Target target) => Document( + name: '$kDatabase/documents/tasks/${commit.sha}_${target.value.name}_1', + fields: { + 'builderNumber': Value(integerValue: null), + 'createTimestamp': Value(integerValue: commit.timestamp!.toString()), + 'endTimestamp': Value(integerValue: '0'), + 'bringup': Value(booleanValue: target.value.bringup), + 'name': Value(stringValue: target.value.name.toString()), + 'startTimestamp': Value(integerValue: '0'), + 'status': Value(stringValue: Task.statusNew), + 'testFlaky': Value(booleanValue: false), + 'commitSha': Value(stringValue: commit.sha), + }, + ), + ); + return iterableDocuments.toList(); +} + +/// Generates commit document based on datastore commit data model. +Document commitToCommitDocument(Commit commit) { + return Document( + name: '$kDatabase/documents/commits/${commit.sha}', + fields: { + 'avatar': Value(stringValue: commit.authorAvatarUrl), + 'branch': Value(stringValue: commit.branch), + 'createTimestamp': Value(integerValue: commit.timestamp.toString()), + 'author': Value(stringValue: commit.author), + 'message': Value(stringValue: commit.message), + 'repositoryPath': Value(stringValue: commit.repository), + 'sha': Value(stringValue: commit.sha), + }, + ); +} + +/// Creates a list of [Write] based on documents. +List documentsToWrites(List documents) { + return documents + .map( + (Document document) => Write( + update: document, + currentDocument: Precondition(exists: false), + ), + ) + .toList(); +} diff --git a/app_dart/lib/src/service/scheduler.dart b/app_dart/lib/src/service/scheduler.dart index 9ba95808a..35a4d403d 100644 --- a/app_dart/lib/src/service/scheduler.dart +++ b/app_dart/lib/src/service/scheduler.dart @@ -13,6 +13,7 @@ import 'package:github/github.dart' as github; import 'package:github/github.dart'; import 'package:github/hooks.dart'; import 'package:googleapis/bigquery/v2.dart'; +import 'package:googleapis/firestore/v1.dart'; import 'package:retry/retry.dart'; import 'package:truncate/truncate.dart'; import 'package:yaml/yaml.dart'; @@ -31,6 +32,7 @@ import '../service/logging.dart'; import 'cache_service.dart'; import 'config.dart'; import 'datastore.dart'; +import 'firestore.dart'; import 'github_checks_service.dart'; import 'github_service.dart'; import 'luci_build_service.dart'; @@ -163,6 +165,16 @@ class Scheduler { await _batchScheduleBuilds(commit, toBeScheduled); await _uploadToBigQuery(commit); + final Document commitDocument = commitToCommitDocument(commit); + final List taskDocuments = targetsToTaskDocuments(commit, initialTargets); + final List writes = documentsToWrites([...taskDocuments, commitDocument]); + final FirestoreService firestoreService = await config.createFirestoreService(); + // TODO(keyonghan): remove try catch logic after validated to work. + try { + await firestoreService.writeViaTransaction(writes); + } catch (error) { + log.warning('Failed to add to Firestore: $error'); + } } /// Schedule all builds in batch requests instead of a single request. diff --git a/app_dart/test/request_handlers/github/webhook_subscription_test.dart b/app_dart/test/request_handlers/github/webhook_subscription_test.dart index 4cf76f0fe..668f24452 100644 --- a/app_dart/test/request_handlers/github/webhook_subscription_test.dart +++ b/app_dart/test/request_handlers/github/webhook_subscription_test.dart @@ -38,6 +38,7 @@ void main() { late FakeGerritService gerritService; late MockCommitService commitService; late MockGitHub gitHubClient; + late MockFirestoreService mockFirestoreService; late MockGithubChecksUtil mockGithubChecksUtil; late MockGithubChecksService mockGithubChecksService; late MockIssuesService issuesService; @@ -53,6 +54,7 @@ void main() { setUp(() { request = FakeHttpRequest(); db = FakeDatastoreDB(); + mockFirestoreService = MockFirestoreService(); gitHubClient = MockGitHub(); githubService = FakeGithubService(); commitService = MockCommitService(); @@ -62,6 +64,7 @@ void main() { dbValue: db, githubClient: gitHubClient, githubService: githubService, + firestoreService: mockFirestoreService, githubOAuthTokenValue: 'githubOAuthKey', missingTestsPullRequestMessageValue: 'missingTestPullRequestMessage', releaseBranchPullRequestMessageValue: 'releaseBranchPullRequestMessage', diff --git a/app_dart/test/request_handlers/vacuum_github_commits_test.dart b/app_dart/test/request_handlers/vacuum_github_commits_test.dart index 5747e41f5..2bd7cb04c 100644 --- a/app_dart/test/request_handlers/vacuum_github_commits_test.dart +++ b/app_dart/test/request_handlers/vacuum_github_commits_test.dart @@ -29,6 +29,7 @@ void main() { late FakeDatastoreDB db; FakeScheduler scheduler; late ApiRequestHandlerTester tester; + late MockFirestoreService mockFirestoreService; late VacuumGithubCommits handler; late List githubCommits; @@ -69,6 +70,7 @@ void main() { final MockRepositoriesService repositories = MockRepositoriesService(); final FakeGithubService githubService = FakeGithubService(); final MockTabledataResource tabledataResourceApi = MockTabledataResource(); + mockFirestoreService = MockFirestoreService(); when(tabledataResourceApi.insertAll(any, any, any, any)).thenAnswer((_) async { return TableDataInsertAllResponse(); }); @@ -78,6 +80,7 @@ void main() { config = FakeConfig( tabledataResource: tabledataResourceApi, githubService: githubService, + firestoreService: mockFirestoreService, dbValue: db, supportedBranchesValue: [ 'master', diff --git a/app_dart/test/service/firestore_test.dart b/app_dart/test/service/firestore_test.dart new file mode 100644 index 000000000..4bd6416c5 --- /dev/null +++ b/app_dart/test/service/firestore_test.dart @@ -0,0 +1,59 @@ +// Copyright 2020 The Flutter Authors. All rights reserved. +// 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/commit.dart'; +import 'package:cocoon_service/src/model/appengine/task.dart'; +import 'package:cocoon_service/src/model/ci_yaml/target.dart'; +import 'package:cocoon_service/src/service/firestore.dart'; + +import 'package:googleapis/firestore/v1.dart'; +import 'package:test/test.dart'; + +import '../src/utilities/entity_generators.dart'; + +void main() { + test('creates task documents correctly from targets', () async { + final Commit commit = generateCommit(1); + final List targets = [ + generateTarget(1, platform: 'Mac'), + generateTarget(2, platform: 'Linux'), + ]; + final List taskDocuments = targetsToTaskDocuments(commit, targets); + expect(taskDocuments.length, 2); + expect(taskDocuments[0].name, '$kDatabase/documents/tasks/${commit.sha}_${targets[0].value.name}_1'); + expect(taskDocuments[0].fields!['builderNumber']!.integerValue, null); + expect(taskDocuments[0].fields!['createTimestamp']!.integerValue, commit.timestamp.toString()); + expect(taskDocuments[0].fields!['endTimestamp']!.integerValue, '0'); + expect(taskDocuments[0].fields!['bringup']!.booleanValue, false); + expect(taskDocuments[0].fields!['name']!.stringValue, targets[0].value.name); + expect(taskDocuments[0].fields!['startTimestamp']!.integerValue, '0'); + expect(taskDocuments[0].fields!['status']!.stringValue, Task.statusNew); + expect(taskDocuments[0].fields!['testFlaky']!.booleanValue, false); + expect(taskDocuments[0].fields!['commitSha']!.stringValue, commit.sha); + }); + + test('creates commit document correctly from commit data model', () async { + final Commit commit = generateCommit(1); + final Document commitDocument = commitToCommitDocument(commit); + expect(commitDocument.name, '$kDatabase/documents/commits/${commit.sha}'); + expect(commitDocument.fields!['avatar']!.stringValue, commit.authorAvatarUrl); + expect(commitDocument.fields!['branch']!.stringValue, commit.branch); + expect(commitDocument.fields!['createTimestamp']!.integerValue, commit.timestamp.toString()); + expect(commitDocument.fields!['author']!.stringValue, commit.author); + expect(commitDocument.fields!['message']!.stringValue, commit.message); + expect(commitDocument.fields!['repositoryPath']!.stringValue, commit.repository); + expect(commitDocument.fields!['sha']!.stringValue, commit.sha); + }); + + test('creates writes correctly from documents', () async { + final List documents = [ + Document(name: 'd1', fields: {'key1': Value(stringValue: 'value1')}), + Document(name: 'd2', fields: {'key1': Value(stringValue: 'value2')}), + ]; + final List writes = documentsToWrites(documents); + expect(writes.length, documents.length); + expect(writes[0].update, documents[0]); + expect(writes[0].currentDocument!.exists, false); + }); +} diff --git a/app_dart/test/service/scheduler_test.dart b/app_dart/test/service/scheduler_test.dart index 53dd4b0be..4b9e54809 100644 --- a/app_dart/test/service/scheduler_test.dart +++ b/app_dart/test/service/scheduler_test.dart @@ -23,6 +23,7 @@ import 'package:gcloud/db.dart'; import 'package:github/github.dart'; import 'package:github/hooks.dart'; import 'package:googleapis/bigquery/v2.dart'; +import 'package:googleapis/firestore/v1.dart' hide Status; import 'package:http/http.dart' as http; import 'package:http/testing.dart'; import 'package:mockito/mockito.dart'; @@ -69,6 +70,7 @@ void main() { late FakeDatastoreDB db; late FakeBuildStatusService buildStatusService; late MockClient httpClient; + late MockFirestoreService mockFirestoreService; late MockGithubChecksUtil mockGithubChecksUtil; late Scheduler scheduler; @@ -93,6 +95,7 @@ void main() { cache = CacheService(inMemory: true); db = FakeDatastoreDB(); + mockFirestoreService = MockFirestoreService(); buildStatusService = FakeBuildStatusService( commitStatuses: [ CommitStatus(generateCommit(1), const []), @@ -104,6 +107,7 @@ void main() { dbValue: db, githubService: FakeGithubService(), githubClient: MockGitHub(), + firestoreService: mockFirestoreService, supportedReposValue: { Config.engineSlug, Config.flutterSlug, @@ -173,6 +177,13 @@ void main() { }); test('inserts all relevant fields of the commit', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); config.supportedBranchesValue = ['master']; expect(db.values.values.whereType().length, 0); await scheduler.addCommits(createCommitList(['1'])); @@ -194,6 +205,13 @@ void main() { }); test('skips commits for which transaction commit fails', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); config.supportedBranchesValue = ['master']; // Existing commits should not be duplicated. @@ -216,6 +234,13 @@ void main() { }); test('skips commits for which task transaction fails', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); config.supportedBranchesValue = ['master']; // Existing commits should not be duplicated. @@ -238,6 +263,13 @@ void main() { }); test('schedules cocoon based targets', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final MockLuciBuildService luciBuildService = MockLuciBuildService(); when( luciBuildService.schedulePostsubmitBuilds( @@ -280,6 +312,13 @@ void main() { }); test('schedules cocoon based targets - multiple batch requests', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final MockBuildBucketClient mockBuildBucketClient = MockBuildBucketClient(); final FakeLuciBuildService luciBuildService = FakeLuciBuildService( config: config, @@ -321,6 +360,13 @@ void main() { group('add pull request', () { test('creates expected commit', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final PullRequest mergedPr = generatePullRequest(); await scheduler.addPullRequest(mergedPr); @@ -333,9 +379,21 @@ void main() { expect(commit.author, 'dash'); expect(commit.authorAvatarUrl, 'dashatar'); expect(commit.message, 'example message'); + + final List captured = verify(mockFirestoreService.writeViaTransaction(captureAny)).captured; + expect(captured.length, 1); + final List commitResponse = captured[0] as List; + expect(commitResponse.length, 4); }); test('schedules tasks against merged PRs', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final PullRequest mergedPr = generatePullRequest(); await scheduler.addPullRequest(mergedPr); @@ -344,6 +402,13 @@ void main() { }); test('guarantees scheduling of tasks against merged release branch PR', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final PullRequest mergedPr = generatePullRequest(branch: 'flutter-3.2-candidate.5'); await scheduler.addPullRequest(mergedPr); @@ -354,6 +419,13 @@ void main() { }); test('guarantees scheduling of tasks against merged engine PR', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final PullRequest mergedPr = generatePullRequest( repo: Config.engineSlug.name, branch: Config.defaultBranch(Config.engineSlug), @@ -367,6 +439,13 @@ void main() { }); test('Release candidate branch commit filters builders not in default branch', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); const String totCiYaml = r''' enabled_branches: - main @@ -438,6 +517,13 @@ targets: }); test('creates expected commit from release branch PR', () async { + when( + mockFirestoreService.writeViaTransaction( + captureAny, + ), + ).thenAnswer((Invocation invocation) { + return Future.value(CommitResponse()); + }); final PullRequest mergedPr = generatePullRequest(branch: '1.26'); await scheduler.addPullRequest(mergedPr); diff --git a/app_dart/test/src/datastore/fake_config.dart b/app_dart/test/src/datastore/fake_config.dart index 5ef2add84..712210a8a 100644 --- a/app_dart/test/src/datastore/fake_config.dart +++ b/app_dart/test/src/datastore/fake_config.dart @@ -5,11 +5,10 @@ import 'dart:async'; import 'package:appengine/appengine.dart'; +import 'package:cocoon_service/cocoon_service.dart'; import 'package:cocoon_service/src/model/appengine/branch.dart'; import 'package:cocoon_service/src/model/appengine/key_helper.dart'; -import 'package:cocoon_service/src/model/appengine/service_account_info.dart'; import 'package:cocoon_service/src/service/bigquery.dart'; -import 'package:cocoon_service/src/service/config.dart'; import 'package:cocoon_service/src/service/github_service.dart'; import 'package:github/github.dart' as gh; import 'package:googleapis/bigquery/v2.dart'; @@ -39,6 +38,7 @@ class FakeConfig implements Config { this.tabledataResource, this.githubService, this.bigqueryService, + this.firestoreService, this.githubGraphQLClient, this.rollerAccountsValue, this.flutterBuildValue, @@ -67,6 +67,7 @@ class FakeConfig implements Config { GraphQLClient? githubGraphQLClient; TabledataResource? tabledataResource; BigqueryService? bigqueryService; + FirestoreService? firestoreService; GithubService? githubService; FakeDatastoreDB dbValue; ServiceAccountInfo? deviceLabServiceAccountValue; @@ -120,6 +121,9 @@ class FakeConfig implements Config { @override Future createBigQueryService() async => bigqueryService!; + @override + Future createFirestoreService() async => firestoreService!; + @override Future createGithubService(gh.RepositorySlug slug) async => githubService ?? FakeGithubService(); diff --git a/app_dart/test/src/utilities/mocks.dart b/app_dart/test/src/utilities/mocks.dart index 8451cd1c8..42a4b1c31 100644 --- a/app_dart/test/src/utilities/mocks.dart +++ b/app_dart/test/src/utilities/mocks.dart @@ -15,6 +15,7 @@ import 'package:cocoon_service/src/service/buildbucket.dart'; import 'package:cocoon_service/src/service/commit_service.dart'; import 'package:cocoon_service/src/service/config.dart'; import 'package:cocoon_service/src/service/datastore.dart'; +import 'package:cocoon_service/src/service/firestore.dart'; import 'package:cocoon_service/src/service/github_checks_service.dart'; import 'package:cocoon_service/src/service/github_service.dart'; import 'package:cocoon_service/src/service/luci_build_service.dart'; @@ -69,6 +70,7 @@ Future authClientProviderShim({ Config, DatastoreService, FakeEntry, + FirestoreService, IssuesService, GithubChecksService, GithubChecksUtil, diff --git a/app_dart/test/src/utilities/mocks.mocks.dart b/app_dart/test/src/utilities/mocks.mocks.dart index a9f101f12..92f662f4f 100644 --- a/app_dart/test/src/utilities/mocks.mocks.dart +++ b/app_dart/test/src/utilities/mocks.mocks.dart @@ -1,55 +1,58 @@ -// Mocks generated by Mockito 5.4.2 from annotations +// Mocks generated by Mockito 5.4.4 from annotations // in cocoon_service/test/src/utilities/mocks.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes -import 'dart:async' as _i19; -import 'dart:convert' as _i22; -import 'dart:io' as _i21; -import 'dart:typed_data' as _i35; +import 'dart:async' as _i20; +import 'dart:convert' as _i24; +import 'dart:io' as _i23; +import 'dart:typed_data' as _i36; import 'package:appengine/appengine.dart' as _i10; -import 'package:cocoon_service/cocoon_service.dart' as _i23; -import 'package:cocoon_service/src/foundation/github_checks_util.dart' as _i20; -import 'package:cocoon_service/src/model/appengine/branch.dart' as _i30; -import 'package:cocoon_service/src/model/appengine/commit.dart' as _i31; -import 'package:cocoon_service/src/model/appengine/github_build_status_update.dart' as _i17; -import 'package:cocoon_service/src/model/appengine/github_gold_status_update.dart' as _i18; +import 'package:cocoon_service/cocoon_service.dart' as _i15; +import 'package:cocoon_service/src/foundation/github_checks_util.dart' as _i22; +import 'package:cocoon_service/src/model/appengine/branch.dart' as _i31; +import 'package:cocoon_service/src/model/appengine/commit.dart' as _i32; +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 _i33; -import 'package:cocoon_service/src/model/appengine/task.dart' as _i32; -import 'package:cocoon_service/src/model/ci_yaml/target.dart' as _i37; -import 'package:cocoon_service/src/model/github/checks.dart' as _i38; +import 'package:cocoon_service/src/model/appengine/stage.dart' as _i34; +import 'package:cocoon_service/src/model/appengine/task.dart' as _i33; +import 'package:cocoon_service/src/model/ci_yaml/target.dart' as _i38; +import 'package:cocoon_service/src/model/github/checks.dart' as _i39; import 'package:cocoon_service/src/model/luci/buildbucket.dart' as _i8; -import 'package:cocoon_service/src/model/luci/push_message.dart' as _i36; +import 'package:cocoon_service/src/model/luci/push_message.dart' as _i37; import 'package:cocoon_service/src/service/access_client_provider.dart' as _i5; -import 'package:cocoon_service/src/service/access_token_provider.dart' as _i25; -import 'package:cocoon_service/src/service/bigquery.dart' as _i15; -import 'package:cocoon_service/src/service/commit_service.dart' as _i28; +import 'package:cocoon_service/src/service/access_token_provider.dart' as _i26; +import 'package:cocoon_service/src/service/bigquery.dart' as _i16; +import 'package:cocoon_service/src/service/commit_service.dart' as _i29; 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 _i16; +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 _i29; +import 'package:github/hooks.dart' as _i30; 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 _i27; -import 'package:neat_cache/neat_cache.dart' as _i24; -import 'package:process/src/interface/process_manager.dart' as _i39; -import 'package:retry/retry.dart' as _i26; +import 'package:mockito/src/dummies.dart' as _i28; +import 'package:neat_cache/neat_cache.dart' as _i25; +import 'package:process/src/interface/process_manager.dart' as _i40; +import 'package:retry/retry.dart' as _i27; -import '../../service/cache_service_test.dart' as _i34; -import 'mocks.dart' as _i40; +import '../../service/cache_service_test.dart' as _i35; +import 'mocks.dart' as _i41; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use +// ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors @@ -237,8 +240,8 @@ class _FakeGraphQLClient_17 extends _i1.SmartFake implements _i14.GraphQLClient ); } -class _FakeBigqueryService_18 extends _i1.SmartFake implements _i15.BigqueryService { - _FakeBigqueryService_18( +class _FakeFirestoreService_18 extends _i1.SmartFake implements _i15.FirestoreService { + _FakeFirestoreService_18( Object parent, Invocation parentInvocation, ) : super( @@ -247,8 +250,8 @@ class _FakeBigqueryService_18 extends _i1.SmartFake implements _i15.BigqueryServ ); } -class _FakeGithubService_19 extends _i1.SmartFake implements _i16.GithubService { - _FakeGithubService_19( +class _FakeBigqueryService_19 extends _i1.SmartFake implements _i16.BigqueryService { + _FakeBigqueryService_19( Object parent, Invocation parentInvocation, ) : super( @@ -257,8 +260,8 @@ class _FakeGithubService_19 extends _i1.SmartFake implements _i16.GithubService ); } -class _FakeGithubBuildStatusUpdate_20 extends _i1.SmartFake implements _i17.GithubBuildStatusUpdate { - _FakeGithubBuildStatusUpdate_20( +class _FakeGithubService_20 extends _i1.SmartFake implements _i17.GithubService { + _FakeGithubService_20( Object parent, Invocation parentInvocation, ) : super( @@ -267,8 +270,8 @@ class _FakeGithubBuildStatusUpdate_20 extends _i1.SmartFake implements _i17.Gith ); } -class _FakeGithubGoldStatusUpdate_21 extends _i1.SmartFake implements _i18.GithubGoldStatusUpdate { - _FakeGithubGoldStatusUpdate_21( +class _FakeGithubBuildStatusUpdate_21 extends _i1.SmartFake implements _i18.GithubBuildStatusUpdate { + _FakeGithubBuildStatusUpdate_21( Object parent, Invocation parentInvocation, ) : super( @@ -277,8 +280,8 @@ class _FakeGithubGoldStatusUpdate_21 extends _i1.SmartFake implements _i18.Githu ); } -class _FakeFuture_22 extends _i1.SmartFake implements _i19.Future { - _FakeFuture_22( +class _FakeGithubGoldStatusUpdate_22 extends _i1.SmartFake implements _i19.GithubGoldStatusUpdate { + _FakeGithubGoldStatusUpdate_22( Object parent, Invocation parentInvocation, ) : super( @@ -287,8 +290,8 @@ class _FakeFuture_22 extends _i1.SmartFake implements _i19.Future { ); } -class _FakeIssue_23 extends _i1.SmartFake implements _i13.Issue { - _FakeIssue_23( +class _FakeFuture_23 extends _i1.SmartFake implements _i20.Future { + _FakeFuture_23( Object parent, Invocation parentInvocation, ) : super( @@ -297,8 +300,9 @@ class _FakeIssue_23 extends _i1.SmartFake implements _i13.Issue { ); } -class _FakeIssueComment_24 extends _i1.SmartFake implements _i13.IssueComment { - _FakeIssueComment_24( +class _FakeProjectsDatabasesDocumentsResource_24 extends _i1.SmartFake + implements _i21.ProjectsDatabasesDocumentsResource { + _FakeProjectsDatabasesDocumentsResource_24( Object parent, Invocation parentInvocation, ) : super( @@ -307,8 +311,8 @@ class _FakeIssueComment_24 extends _i1.SmartFake implements _i13.IssueComment { ); } -class _FakeIssueLabel_25 extends _i1.SmartFake implements _i13.IssueLabel { - _FakeIssueLabel_25( +class _FakeCommitResponse_25 extends _i1.SmartFake implements _i21.CommitResponse { + _FakeCommitResponse_25( Object parent, Invocation parentInvocation, ) : super( @@ -317,8 +321,8 @@ class _FakeIssueLabel_25 extends _i1.SmartFake implements _i13.IssueLabel { ); } -class _FakeMilestone_26 extends _i1.SmartFake implements _i13.Milestone { - _FakeMilestone_26( +class _FakeIssue_26 extends _i1.SmartFake implements _i13.Issue { + _FakeIssue_26( Object parent, Invocation parentInvocation, ) : super( @@ -327,8 +331,8 @@ class _FakeMilestone_26 extends _i1.SmartFake implements _i13.Milestone { ); } -class _FakeGithubChecksUtil_27 extends _i1.SmartFake implements _i20.GithubChecksUtil { - _FakeGithubChecksUtil_27( +class _FakeIssueComment_27 extends _i1.SmartFake implements _i13.IssueComment { + _FakeIssueComment_27( Object parent, Invocation parentInvocation, ) : super( @@ -337,8 +341,8 @@ class _FakeGithubChecksUtil_27 extends _i1.SmartFake implements _i20.GithubCheck ); } -class _FakeCheckRunConclusion_28 extends _i1.SmartFake implements _i13.CheckRunConclusion { - _FakeCheckRunConclusion_28( +class _FakeIssueLabel_28 extends _i1.SmartFake implements _i13.IssueLabel { + _FakeIssueLabel_28( Object parent, Invocation parentInvocation, ) : super( @@ -347,8 +351,8 @@ class _FakeCheckRunConclusion_28 extends _i1.SmartFake implements _i13.CheckRunC ); } -class _FakeCheckRunStatus_29 extends _i1.SmartFake implements _i13.CheckRunStatus { - _FakeCheckRunStatus_29( +class _FakeMilestone_29 extends _i1.SmartFake implements _i13.Milestone { + _FakeMilestone_29( Object parent, Invocation parentInvocation, ) : super( @@ -357,8 +361,8 @@ class _FakeCheckRunStatus_29 extends _i1.SmartFake implements _i13.CheckRunStatu ); } -class _FakeCheckSuite_30 extends _i1.SmartFake implements _i13.CheckSuite { - _FakeCheckSuite_30( +class _FakeGithubChecksUtil_30 extends _i1.SmartFake implements _i22.GithubChecksUtil { + _FakeGithubChecksUtil_30( Object parent, Invocation parentInvocation, ) : super( @@ -367,8 +371,8 @@ class _FakeCheckSuite_30 extends _i1.SmartFake implements _i13.CheckSuite { ); } -class _FakeCheckRun_31 extends _i1.SmartFake implements _i13.CheckRun { - _FakeCheckRun_31( +class _FakeCheckRunConclusion_31 extends _i1.SmartFake implements _i13.CheckRunConclusion { + _FakeCheckRunConclusion_31( Object parent, Invocation parentInvocation, ) : super( @@ -377,8 +381,8 @@ class _FakeCheckRun_31 extends _i1.SmartFake implements _i13.CheckRun { ); } -class _FakePullRequest_32 extends _i1.SmartFake implements _i13.PullRequest { - _FakePullRequest_32( +class _FakeCheckRunStatus_32 extends _i1.SmartFake implements _i13.CheckRunStatus { + _FakeCheckRunStatus_32( Object parent, Invocation parentInvocation, ) : super( @@ -387,8 +391,8 @@ class _FakePullRequest_32 extends _i1.SmartFake implements _i13.PullRequest { ); } -class _FakeGitReference_33 extends _i1.SmartFake implements _i13.GitReference { - _FakeGitReference_33( +class _FakeCheckSuite_33 extends _i1.SmartFake implements _i13.CheckSuite { + _FakeCheckSuite_33( Object parent, Invocation parentInvocation, ) : super( @@ -397,8 +401,8 @@ class _FakeGitReference_33 extends _i1.SmartFake implements _i13.GitReference { ); } -class _FakeRateLimit_34 extends _i1.SmartFake implements _i13.RateLimit { - _FakeRateLimit_34( +class _FakeCheckRun_34 extends _i1.SmartFake implements _i13.CheckRun { + _FakeCheckRun_34( Object parent, Invocation parentInvocation, ) : super( @@ -407,8 +411,8 @@ class _FakeRateLimit_34 extends _i1.SmartFake implements _i13.RateLimit { ); } -class _FakeGitBlob_35 extends _i1.SmartFake implements _i13.GitBlob { - _FakeGitBlob_35( +class _FakePullRequest_35 extends _i1.SmartFake implements _i13.PullRequest { + _FakePullRequest_35( Object parent, Invocation parentInvocation, ) : super( @@ -417,8 +421,8 @@ class _FakeGitBlob_35 extends _i1.SmartFake implements _i13.GitBlob { ); } -class _FakeGitCommit_36 extends _i1.SmartFake implements _i13.GitCommit { - _FakeGitCommit_36( +class _FakeGitReference_36 extends _i1.SmartFake implements _i13.GitReference { + _FakeGitReference_36( Object parent, Invocation parentInvocation, ) : super( @@ -427,8 +431,8 @@ class _FakeGitCommit_36 extends _i1.SmartFake implements _i13.GitCommit { ); } -class _FakeGitTag_37 extends _i1.SmartFake implements _i13.GitTag { - _FakeGitTag_37( +class _FakeRateLimit_37 extends _i1.SmartFake implements _i13.RateLimit { + _FakeRateLimit_37( Object parent, Invocation parentInvocation, ) : super( @@ -437,8 +441,8 @@ class _FakeGitTag_37 extends _i1.SmartFake implements _i13.GitTag { ); } -class _FakeGitTree_38 extends _i1.SmartFake implements _i13.GitTree { - _FakeGitTree_38( +class _FakeGitBlob_38 extends _i1.SmartFake implements _i13.GitBlob { + _FakeGitBlob_38( Object parent, Invocation parentInvocation, ) : super( @@ -447,8 +451,8 @@ class _FakeGitTree_38 extends _i1.SmartFake implements _i13.GitTree { ); } -class _FakeDefaultPolicies_39 extends _i1.SmartFake implements _i14.DefaultPolicies { - _FakeDefaultPolicies_39( +class _FakeGitCommit_39 extends _i1.SmartFake implements _i13.GitCommit { + _FakeGitCommit_39( Object parent, Invocation parentInvocation, ) : super( @@ -457,8 +461,8 @@ class _FakeDefaultPolicies_39 extends _i1.SmartFake implements _i14.DefaultPolic ); } -class _FakeLink_40 extends _i1.SmartFake implements _i14.Link { - _FakeLink_40( +class _FakeGitTag_40 extends _i1.SmartFake implements _i13.GitTag { + _FakeGitTag_40( Object parent, Invocation parentInvocation, ) : super( @@ -467,8 +471,8 @@ class _FakeLink_40 extends _i1.SmartFake implements _i14.Link { ); } -class _FakeGraphQLCache_41 extends _i1.SmartFake implements _i14.GraphQLCache { - _FakeGraphQLCache_41( +class _FakeGitTree_41 extends _i1.SmartFake implements _i13.GitTree { + _FakeGitTree_41( Object parent, Invocation parentInvocation, ) : super( @@ -477,8 +481,8 @@ class _FakeGraphQLCache_41 extends _i1.SmartFake implements _i14.GraphQLCache { ); } -class _FakeQueryManager_42 extends _i1.SmartFake implements _i14.QueryManager { - _FakeQueryManager_42( +class _FakeDefaultPolicies_42 extends _i1.SmartFake implements _i14.DefaultPolicies { + _FakeDefaultPolicies_42( Object parent, Invocation parentInvocation, ) : super( @@ -487,8 +491,8 @@ class _FakeQueryManager_42 extends _i1.SmartFake implements _i14.QueryManager { ); } -class _FakeObservableQuery_43 extends _i1.SmartFake implements _i14.ObservableQuery { - _FakeObservableQuery_43( +class _FakeLink_43 extends _i1.SmartFake implements _i14.Link { + _FakeLink_43( Object parent, Invocation parentInvocation, ) : super( @@ -497,8 +501,8 @@ class _FakeObservableQuery_43 extends _i1.SmartFake implements _i14.Ob ); } -class _FakeQueryResult_44 extends _i1.SmartFake implements _i14.QueryResult { - _FakeQueryResult_44( +class _FakeGraphQLCache_44 extends _i1.SmartFake implements _i14.GraphQLCache { + _FakeGraphQLCache_44( Object parent, Invocation parentInvocation, ) : super( @@ -507,8 +511,8 @@ class _FakeQueryResult_44 extends _i1.SmartFake implem ); } -class _FakeHttpClientRequest_45 extends _i1.SmartFake implements _i21.HttpClientRequest { - _FakeHttpClientRequest_45( +class _FakeQueryManager_45 extends _i1.SmartFake implements _i14.QueryManager { + _FakeQueryManager_45( Object parent, Invocation parentInvocation, ) : super( @@ -517,8 +521,8 @@ class _FakeHttpClientRequest_45 extends _i1.SmartFake implements _i21.HttpClient ); } -class _FakeUri_46 extends _i1.SmartFake implements Uri { - _FakeUri_46( +class _FakeObservableQuery_46 extends _i1.SmartFake implements _i14.ObservableQuery { + _FakeObservableQuery_46( Object parent, Invocation parentInvocation, ) : super( @@ -527,8 +531,8 @@ class _FakeUri_46 extends _i1.SmartFake implements Uri { ); } -class _FakeHttpHeaders_47 extends _i1.SmartFake implements _i21.HttpHeaders { - _FakeHttpHeaders_47( +class _FakeQueryResult_47 extends _i1.SmartFake implements _i14.QueryResult { + _FakeQueryResult_47( Object parent, Invocation parentInvocation, ) : super( @@ -537,8 +541,8 @@ class _FakeHttpHeaders_47 extends _i1.SmartFake implements _i21.HttpHeaders { ); } -class _FakeHttpClientResponse_48 extends _i1.SmartFake implements _i21.HttpClientResponse { - _FakeHttpClientResponse_48( +class _FakeHttpClientRequest_48 extends _i1.SmartFake implements _i23.HttpClientRequest { + _FakeHttpClientRequest_48( Object parent, Invocation parentInvocation, ) : super( @@ -547,8 +551,8 @@ class _FakeHttpClientResponse_48 extends _i1.SmartFake implements _i21.HttpClien ); } -class _FakeEncoding_49 extends _i1.SmartFake implements _i22.Encoding { - _FakeEncoding_49( +class _FakeUri_49 extends _i1.SmartFake implements Uri { + _FakeUri_49( Object parent, Invocation parentInvocation, ) : super( @@ -557,8 +561,8 @@ class _FakeEncoding_49 extends _i1.SmartFake implements _i22.Encoding { ); } -class _FakeSocket_50 extends _i1.SmartFake implements _i21.Socket { - _FakeSocket_50( +class _FakeHttpHeaders_50 extends _i1.SmartFake implements _i23.HttpHeaders { + _FakeHttpHeaders_50( Object parent, Invocation parentInvocation, ) : super( @@ -567,8 +571,8 @@ class _FakeSocket_50 extends _i1.SmartFake implements _i21.Socket { ); } -class _FakeStreamSubscription_51 extends _i1.SmartFake implements _i19.StreamSubscription { - _FakeStreamSubscription_51( +class _FakeHttpClientResponse_51 extends _i1.SmartFake implements _i23.HttpClientResponse { + _FakeHttpClientResponse_51( Object parent, Invocation parentInvocation, ) : super( @@ -577,8 +581,8 @@ class _FakeStreamSubscription_51 extends _i1.SmartFake implements _i19.Stream ); } -class _FakeJobCancelResponse_52 extends _i1.SmartFake implements _i6.JobCancelResponse { - _FakeJobCancelResponse_52( +class _FakeEncoding_52 extends _i1.SmartFake implements _i24.Encoding { + _FakeEncoding_52( Object parent, Invocation parentInvocation, ) : super( @@ -587,8 +591,8 @@ class _FakeJobCancelResponse_52 extends _i1.SmartFake implements _i6.JobCancelRe ); } -class _FakeJob_53 extends _i1.SmartFake implements _i6.Job { - _FakeJob_53( +class _FakeSocket_53 extends _i1.SmartFake implements _i23.Socket { + _FakeSocket_53( Object parent, Invocation parentInvocation, ) : super( @@ -597,8 +601,8 @@ class _FakeJob_53 extends _i1.SmartFake implements _i6.Job { ); } -class _FakeGetQueryResultsResponse_54 extends _i1.SmartFake implements _i6.GetQueryResultsResponse { - _FakeGetQueryResultsResponse_54( +class _FakeStreamSubscription_54 extends _i1.SmartFake implements _i20.StreamSubscription { + _FakeStreamSubscription_54( Object parent, Invocation parentInvocation, ) : super( @@ -607,8 +611,8 @@ class _FakeGetQueryResultsResponse_54 extends _i1.SmartFake implements _i6.GetQu ); } -class _FakeJobList_55 extends _i1.SmartFake implements _i6.JobList { - _FakeJobList_55( +class _FakeJobCancelResponse_55 extends _i1.SmartFake implements _i6.JobCancelResponse { + _FakeJobCancelResponse_55( Object parent, Invocation parentInvocation, ) : super( @@ -617,8 +621,8 @@ class _FakeJobList_55 extends _i1.SmartFake implements _i6.JobList { ); } -class _FakeQueryResponse_56 extends _i1.SmartFake implements _i6.QueryResponse { - _FakeQueryResponse_56( +class _FakeJob_56 extends _i1.SmartFake implements _i6.Job { + _FakeJob_56( Object parent, Invocation parentInvocation, ) : super( @@ -627,8 +631,8 @@ class _FakeQueryResponse_56 extends _i1.SmartFake implements _i6.QueryResponse { ); } -class _FakeBuildBucketClient_57 extends _i1.SmartFake implements _i23.BuildBucketClient { - _FakeBuildBucketClient_57( +class _FakeGetQueryResultsResponse_57 extends _i1.SmartFake implements _i6.GetQueryResultsResponse { + _FakeGetQueryResultsResponse_57( Object parent, Invocation parentInvocation, ) : super( @@ -637,8 +641,8 @@ class _FakeBuildBucketClient_57 extends _i1.SmartFake implements _i23.BuildBucke ); } -class _FakeCacheService_58 extends _i1.SmartFake implements _i23.CacheService { - _FakeCacheService_58( +class _FakeJobList_58 extends _i1.SmartFake implements _i6.JobList { + _FakeJobList_58( Object parent, Invocation parentInvocation, ) : super( @@ -647,8 +651,8 @@ class _FakeCacheService_58 extends _i1.SmartFake implements _i23.CacheService { ); } -class _FakePubSub_59 extends _i1.SmartFake implements _i23.PubSub { - _FakePubSub_59( +class _FakeQueryResponse_59 extends _i1.SmartFake implements _i6.QueryResponse { + _FakeQueryResponse_59( Object parent, Invocation parentInvocation, ) : super( @@ -657,8 +661,8 @@ class _FakePubSub_59 extends _i1.SmartFake implements _i23.PubSub { ); } -class _FakeProcess_60 extends _i1.SmartFake implements _i21.Process { - _FakeProcess_60( +class _FakeBuildBucketClient_60 extends _i1.SmartFake implements _i15.BuildBucketClient { + _FakeBuildBucketClient_60( Object parent, Invocation parentInvocation, ) : super( @@ -667,8 +671,8 @@ class _FakeProcess_60 extends _i1.SmartFake implements _i21.Process { ); } -class _FakePullRequestMerge_61 extends _i1.SmartFake implements _i13.PullRequestMerge { - _FakePullRequestMerge_61( +class _FakeCacheService_61 extends _i1.SmartFake implements _i15.CacheService { + _FakeCacheService_61( Object parent, Invocation parentInvocation, ) : super( @@ -677,8 +681,8 @@ class _FakePullRequestMerge_61 extends _i1.SmartFake implements _i13.PullRequest ); } -class _FakePullRequestComment_62 extends _i1.SmartFake implements _i13.PullRequestComment { - _FakePullRequestComment_62( +class _FakePubSub_62 extends _i1.SmartFake implements _i15.PubSub { + _FakePubSub_62( Object parent, Invocation parentInvocation, ) : super( @@ -687,8 +691,8 @@ class _FakePullRequestComment_62 extends _i1.SmartFake implements _i13.PullReque ); } -class _FakePullRequestReview_63 extends _i1.SmartFake implements _i13.PullRequestReview { - _FakePullRequestReview_63( +class _FakeProcess_63 extends _i1.SmartFake implements _i23.Process { + _FakeProcess_63( Object parent, Invocation parentInvocation, ) : super( @@ -697,8 +701,8 @@ class _FakePullRequestReview_63 extends _i1.SmartFake implements _i13.PullReques ); } -class _FakeRepository_64 extends _i1.SmartFake implements _i13.Repository { - _FakeRepository_64( +class _FakePullRequestMerge_64 extends _i1.SmartFake implements _i13.PullRequestMerge { + _FakePullRequestMerge_64( Object parent, Invocation parentInvocation, ) : super( @@ -707,8 +711,8 @@ class _FakeRepository_64 extends _i1.SmartFake implements _i13.Repository { ); } -class _FakeLicenseDetails_65 extends _i1.SmartFake implements _i13.LicenseDetails { - _FakeLicenseDetails_65( +class _FakePullRequestComment_65 extends _i1.SmartFake implements _i13.PullRequestComment { + _FakePullRequestComment_65( Object parent, Invocation parentInvocation, ) : super( @@ -717,8 +721,8 @@ class _FakeLicenseDetails_65 extends _i1.SmartFake implements _i13.LicenseDetail ); } -class _FakeLanguageBreakdown_66 extends _i1.SmartFake implements _i13.LanguageBreakdown { - _FakeLanguageBreakdown_66( +class _FakePullRequestReview_66 extends _i1.SmartFake implements _i13.PullRequestReview { + _FakePullRequestReview_66( Object parent, Invocation parentInvocation, ) : super( @@ -727,8 +731,8 @@ class _FakeLanguageBreakdown_66 extends _i1.SmartFake implements _i13.LanguageBr ); } -class _FakeBranch_67 extends _i1.SmartFake implements _i13.Branch { - _FakeBranch_67( +class _FakeRepository_67 extends _i1.SmartFake implements _i13.Repository { + _FakeRepository_67( Object parent, Invocation parentInvocation, ) : super( @@ -737,8 +741,8 @@ class _FakeBranch_67 extends _i1.SmartFake implements _i13.Branch { ); } -class _FakeCommitComment_68 extends _i1.SmartFake implements _i13.CommitComment { - _FakeCommitComment_68( +class _FakeLicenseDetails_68 extends _i1.SmartFake implements _i13.LicenseDetails { + _FakeLicenseDetails_68( Object parent, Invocation parentInvocation, ) : super( @@ -747,8 +751,8 @@ class _FakeCommitComment_68 extends _i1.SmartFake implements _i13.CommitComment ); } -class _FakeRepositoryCommit_69 extends _i1.SmartFake implements _i13.RepositoryCommit { - _FakeRepositoryCommit_69( +class _FakeLanguageBreakdown_69 extends _i1.SmartFake implements _i13.LanguageBreakdown { + _FakeLanguageBreakdown_69( Object parent, Invocation parentInvocation, ) : super( @@ -757,8 +761,8 @@ class _FakeRepositoryCommit_69 extends _i1.SmartFake implements _i13.RepositoryC ); } -class _FakeGitHubComparison_70 extends _i1.SmartFake implements _i13.GitHubComparison { - _FakeGitHubComparison_70( +class _FakeBranch_70 extends _i1.SmartFake implements _i13.Branch { + _FakeBranch_70( Object parent, Invocation parentInvocation, ) : super( @@ -767,8 +771,8 @@ class _FakeGitHubComparison_70 extends _i1.SmartFake implements _i13.GitHubCompa ); } -class _FakeGitHubFile_71 extends _i1.SmartFake implements _i13.GitHubFile { - _FakeGitHubFile_71( +class _FakeCommitComment_71 extends _i1.SmartFake implements _i13.CommitComment { + _FakeCommitComment_71( Object parent, Invocation parentInvocation, ) : super( @@ -777,8 +781,8 @@ class _FakeGitHubFile_71 extends _i1.SmartFake implements _i13.GitHubFile { ); } -class _FakeRepositoryContents_72 extends _i1.SmartFake implements _i13.RepositoryContents { - _FakeRepositoryContents_72( +class _FakeRepositoryCommit_72 extends _i1.SmartFake implements _i13.RepositoryCommit { + _FakeRepositoryCommit_72( Object parent, Invocation parentInvocation, ) : super( @@ -787,8 +791,8 @@ class _FakeRepositoryContents_72 extends _i1.SmartFake implements _i13.Repositor ); } -class _FakeContentCreation_73 extends _i1.SmartFake implements _i13.ContentCreation { - _FakeContentCreation_73( +class _FakeGitHubComparison_73 extends _i1.SmartFake implements _i13.GitHubComparison { + _FakeGitHubComparison_73( Object parent, Invocation parentInvocation, ) : super( @@ -797,8 +801,8 @@ class _FakeContentCreation_73 extends _i1.SmartFake implements _i13.ContentCreat ); } -class _FakeHook_74 extends _i1.SmartFake implements _i13.Hook { - _FakeHook_74( +class _FakeGitHubFile_74 extends _i1.SmartFake implements _i13.GitHubFile { + _FakeGitHubFile_74( Object parent, Invocation parentInvocation, ) : super( @@ -807,8 +811,8 @@ class _FakeHook_74 extends _i1.SmartFake implements _i13.Hook { ); } -class _FakePublicKey_75 extends _i1.SmartFake implements _i13.PublicKey { - _FakePublicKey_75( +class _FakeRepositoryContents_75 extends _i1.SmartFake implements _i13.RepositoryContents { + _FakeRepositoryContents_75( Object parent, Invocation parentInvocation, ) : super( @@ -817,8 +821,8 @@ class _FakePublicKey_75 extends _i1.SmartFake implements _i13.PublicKey { ); } -class _FakeRepositoryPages_76 extends _i1.SmartFake implements _i13.RepositoryPages { - _FakeRepositoryPages_76( +class _FakeContentCreation_76 extends _i1.SmartFake implements _i13.ContentCreation { + _FakeContentCreation_76( Object parent, Invocation parentInvocation, ) : super( @@ -827,8 +831,8 @@ class _FakeRepositoryPages_76 extends _i1.SmartFake implements _i13.RepositoryPa ); } -class _FakePageBuild_77 extends _i1.SmartFake implements _i13.PageBuild { - _FakePageBuild_77( +class _FakeHook_77 extends _i1.SmartFake implements _i13.Hook { + _FakeHook_77( Object parent, Invocation parentInvocation, ) : super( @@ -837,8 +841,8 @@ class _FakePageBuild_77 extends _i1.SmartFake implements _i13.PageBuild { ); } -class _FakeRelease_78 extends _i1.SmartFake implements _i13.Release { - _FakeRelease_78( +class _FakePublicKey_78 extends _i1.SmartFake implements _i13.PublicKey { + _FakePublicKey_78( Object parent, Invocation parentInvocation, ) : super( @@ -847,8 +851,8 @@ class _FakeRelease_78 extends _i1.SmartFake implements _i13.Release { ); } -class _FakeReleaseAsset_79 extends _i1.SmartFake implements _i13.ReleaseAsset { - _FakeReleaseAsset_79( +class _FakeRepositoryPages_79 extends _i1.SmartFake implements _i13.RepositoryPages { + _FakeRepositoryPages_79( Object parent, Invocation parentInvocation, ) : super( @@ -857,8 +861,8 @@ class _FakeReleaseAsset_79 extends _i1.SmartFake implements _i13.ReleaseAsset { ); } -class _FakeContributorParticipation_80 extends _i1.SmartFake implements _i13.ContributorParticipation { - _FakeContributorParticipation_80( +class _FakePageBuild_80 extends _i1.SmartFake implements _i13.PageBuild { + _FakePageBuild_80( Object parent, Invocation parentInvocation, ) : super( @@ -867,8 +871,8 @@ class _FakeContributorParticipation_80 extends _i1.SmartFake implements _i13.Con ); } -class _FakeRepositoryStatus_81 extends _i1.SmartFake implements _i13.RepositoryStatus { - _FakeRepositoryStatus_81( +class _FakeRelease_81 extends _i1.SmartFake implements _i13.Release { + _FakeRelease_81( Object parent, Invocation parentInvocation, ) : super( @@ -877,8 +881,8 @@ class _FakeRepositoryStatus_81 extends _i1.SmartFake implements _i13.RepositoryS ); } -class _FakeCombinedRepositoryStatus_82 extends _i1.SmartFake implements _i13.CombinedRepositoryStatus { - _FakeCombinedRepositoryStatus_82( +class _FakeReleaseAsset_82 extends _i1.SmartFake implements _i13.ReleaseAsset { + _FakeReleaseAsset_82( Object parent, Invocation parentInvocation, ) : super( @@ -887,8 +891,8 @@ class _FakeCombinedRepositoryStatus_82 extends _i1.SmartFake implements _i13.Com ); } -class _FakeReleaseNotes_83 extends _i1.SmartFake implements _i13.ReleaseNotes { - _FakeReleaseNotes_83( +class _FakeContributorParticipation_83 extends _i1.SmartFake implements _i13.ContributorParticipation { + _FakeContributorParticipation_83( Object parent, Invocation parentInvocation, ) : super( @@ -897,8 +901,8 @@ class _FakeReleaseNotes_83 extends _i1.SmartFake implements _i13.ReleaseNotes { ); } -class _FakeTableDataInsertAllResponse_84 extends _i1.SmartFake implements _i6.TableDataInsertAllResponse { - _FakeTableDataInsertAllResponse_84( +class _FakeRepositoryStatus_84 extends _i1.SmartFake implements _i13.RepositoryStatus { + _FakeRepositoryStatus_84( Object parent, Invocation parentInvocation, ) : super( @@ -907,8 +911,8 @@ class _FakeTableDataInsertAllResponse_84 extends _i1.SmartFake implements _i6.Ta ); } -class _FakeTableDataList_85 extends _i1.SmartFake implements _i6.TableDataList { - _FakeTableDataList_85( +class _FakeCombinedRepositoryStatus_85 extends _i1.SmartFake implements _i13.CombinedRepositoryStatus { + _FakeCombinedRepositoryStatus_85( Object parent, Invocation parentInvocation, ) : super( @@ -917,8 +921,8 @@ class _FakeTableDataList_85 extends _i1.SmartFake implements _i6.TableDataList { ); } -class _FakeUser_86 extends _i1.SmartFake implements _i13.User { - _FakeUser_86( +class _FakeReleaseNotes_86 extends _i1.SmartFake implements _i13.ReleaseNotes { + _FakeReleaseNotes_86( Object parent, Invocation parentInvocation, ) : super( @@ -927,8 +931,8 @@ class _FakeUser_86 extends _i1.SmartFake implements _i13.User { ); } -class _FakeCurrentUser_87 extends _i1.SmartFake implements _i13.CurrentUser { - _FakeCurrentUser_87( +class _FakeTableDataInsertAllResponse_87 extends _i1.SmartFake implements _i6.TableDataInsertAllResponse { + _FakeTableDataInsertAllResponse_87( Object parent, Invocation parentInvocation, ) : super( @@ -937,8 +941,8 @@ class _FakeCurrentUser_87 extends _i1.SmartFake implements _i13.CurrentUser { ); } -class _FakeEntry_88 extends _i1.SmartFake implements _i24.Entry { - _FakeEntry_88( +class _FakeTableDataList_88 extends _i1.SmartFake implements _i6.TableDataList { + _FakeTableDataList_88( Object parent, Invocation parentInvocation, ) : super( @@ -947,8 +951,8 @@ class _FakeEntry_88 extends _i1.SmartFake implements _i24.Entry { ); } -class _FakeCache_89 extends _i1.SmartFake implements _i24.Cache { - _FakeCache_89( +class _FakeUser_89 extends _i1.SmartFake implements _i13.User { + _FakeUser_89( Object parent, Invocation parentInvocation, ) : super( @@ -957,8 +961,8 @@ class _FakeCache_89 extends _i1.SmartFake implements _i24.Cache { ); } -class _FakeAuthentication_90 extends _i1.SmartFake implements _i13.Authentication { - _FakeAuthentication_90( +class _FakeCurrentUser_90 extends _i1.SmartFake implements _i13.CurrentUser { + _FakeCurrentUser_90( Object parent, Invocation parentInvocation, ) : super( @@ -967,8 +971,8 @@ class _FakeAuthentication_90 extends _i1.SmartFake implements _i13.Authenticatio ); } -class _FakeActivityService_91 extends _i1.SmartFake implements _i13.ActivityService { - _FakeActivityService_91( +class _FakeEntry_91 extends _i1.SmartFake implements _i25.Entry { + _FakeEntry_91( Object parent, Invocation parentInvocation, ) : super( @@ -977,8 +981,8 @@ class _FakeActivityService_91 extends _i1.SmartFake implements _i13.ActivityServ ); } -class _FakeAuthorizationsService_92 extends _i1.SmartFake implements _i13.AuthorizationsService { - _FakeAuthorizationsService_92( +class _FakeCache_92 extends _i1.SmartFake implements _i25.Cache { + _FakeCache_92( Object parent, Invocation parentInvocation, ) : super( @@ -987,8 +991,8 @@ class _FakeAuthorizationsService_92 extends _i1.SmartFake implements _i13.Author ); } -class _FakeGistsService_93 extends _i1.SmartFake implements _i13.GistsService { - _FakeGistsService_93( +class _FakeAuthentication_93 extends _i1.SmartFake implements _i13.Authentication { + _FakeAuthentication_93( Object parent, Invocation parentInvocation, ) : super( @@ -997,8 +1001,8 @@ class _FakeGistsService_93 extends _i1.SmartFake implements _i13.GistsService { ); } -class _FakeGitService_94 extends _i1.SmartFake implements _i13.GitService { - _FakeGitService_94( +class _FakeActivityService_94 extends _i1.SmartFake implements _i13.ActivityService { + _FakeActivityService_94( Object parent, Invocation parentInvocation, ) : super( @@ -1007,8 +1011,8 @@ class _FakeGitService_94 extends _i1.SmartFake implements _i13.GitService { ); } -class _FakeIssuesService_95 extends _i1.SmartFake implements _i13.IssuesService { - _FakeIssuesService_95( +class _FakeAuthorizationsService_95 extends _i1.SmartFake implements _i13.AuthorizationsService { + _FakeAuthorizationsService_95( Object parent, Invocation parentInvocation, ) : super( @@ -1017,8 +1021,8 @@ class _FakeIssuesService_95 extends _i1.SmartFake implements _i13.IssuesService ); } -class _FakeMiscService_96 extends _i1.SmartFake implements _i13.MiscService { - _FakeMiscService_96( +class _FakeGistsService_96 extends _i1.SmartFake implements _i13.GistsService { + _FakeGistsService_96( Object parent, Invocation parentInvocation, ) : super( @@ -1027,8 +1031,8 @@ class _FakeMiscService_96 extends _i1.SmartFake implements _i13.MiscService { ); } -class _FakeOrganizationsService_97 extends _i1.SmartFake implements _i13.OrganizationsService { - _FakeOrganizationsService_97( +class _FakeGitService_97 extends _i1.SmartFake implements _i13.GitService { + _FakeGitService_97( Object parent, Invocation parentInvocation, ) : super( @@ -1037,8 +1041,8 @@ class _FakeOrganizationsService_97 extends _i1.SmartFake implements _i13.Organiz ); } -class _FakePullRequestsService_98 extends _i1.SmartFake implements _i13.PullRequestsService { - _FakePullRequestsService_98( +class _FakeIssuesService_98 extends _i1.SmartFake implements _i13.IssuesService { + _FakeIssuesService_98( Object parent, Invocation parentInvocation, ) : super( @@ -1047,8 +1051,8 @@ class _FakePullRequestsService_98 extends _i1.SmartFake implements _i13.PullRequ ); } -class _FakeRepositoriesService_99 extends _i1.SmartFake implements _i13.RepositoriesService { - _FakeRepositoriesService_99( +class _FakeMiscService_99 extends _i1.SmartFake implements _i13.MiscService { + _FakeMiscService_99( Object parent, Invocation parentInvocation, ) : super( @@ -1057,8 +1061,8 @@ class _FakeRepositoriesService_99 extends _i1.SmartFake implements _i13.Reposito ); } -class _FakeSearchService_100 extends _i1.SmartFake implements _i13.SearchService { - _FakeSearchService_100( +class _FakeOrganizationsService_100 extends _i1.SmartFake implements _i13.OrganizationsService { + _FakeOrganizationsService_100( Object parent, Invocation parentInvocation, ) : super( @@ -1067,8 +1071,8 @@ class _FakeSearchService_100 extends _i1.SmartFake implements _i13.SearchService ); } -class _FakeUrlShortenerService_101 extends _i1.SmartFake implements _i13.UrlShortenerService { - _FakeUrlShortenerService_101( +class _FakePullRequestsService_101 extends _i1.SmartFake implements _i13.PullRequestsService { + _FakePullRequestsService_101( Object parent, Invocation parentInvocation, ) : super( @@ -1077,8 +1081,8 @@ class _FakeUrlShortenerService_101 extends _i1.SmartFake implements _i13.UrlShor ); } -class _FakeUsersService_102 extends _i1.SmartFake implements _i13.UsersService { - _FakeUsersService_102( +class _FakeRepositoriesService_102 extends _i1.SmartFake implements _i13.RepositoriesService { + _FakeRepositoriesService_102( Object parent, Invocation parentInvocation, ) : super( @@ -1087,8 +1091,8 @@ class _FakeUsersService_102 extends _i1.SmartFake implements _i13.UsersService { ); } -class _FakeChecksService_103 extends _i1.SmartFake implements _i13.ChecksService { - _FakeChecksService_103( +class _FakeSearchService_103 extends _i1.SmartFake implements _i13.SearchService { + _FakeSearchService_103( Object parent, Invocation parentInvocation, ) : super( @@ -1097,8 +1101,38 @@ class _FakeChecksService_103 extends _i1.SmartFake implements _i13.ChecksService ); } -class _FakeResponse_104 extends _i1.SmartFake implements _i2.Response { - _FakeResponse_104( +class _FakeUrlShortenerService_104 extends _i1.SmartFake implements _i13.UrlShortenerService { + _FakeUrlShortenerService_104( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +class _FakeUsersService_105 extends _i1.SmartFake implements _i13.UsersService { + _FakeUsersService_105( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +class _FakeChecksService_106 extends _i1.SmartFake implements _i13.ChecksService { + _FakeChecksService_106( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +class _FakeResponse_107 extends _i1.SmartFake implements _i2.Response { + _FakeResponse_107( Object parent, Invocation parentInvocation, ) : super( @@ -1116,29 +1150,37 @@ class MockAccessClientProvider extends _i1.Mock implements _i5.AccessClientProvi } @override - _i19.Future<_i2.Client> createAccessClient( - {List? scopes = const [r'https://www.googleapis.com/auth/cloud-platform']}) => + _i20.Future<_i2.Client> createAccessClient({ + List? scopes = const [r'https://www.googleapis.com/auth/cloud-platform'], + _i2.Client? baseClient, + }) => (super.noSuchMethod( Invocation.method( #createAccessClient, [], - {#scopes: scopes}, + { + #scopes: scopes, + #baseClient: baseClient, + }, ), - returnValue: _i19.Future<_i2.Client>.value(_FakeClient_0( + returnValue: _i20.Future<_i2.Client>.value(_FakeClient_0( this, Invocation.method( #createAccessClient, [], - {#scopes: scopes}, + { + #scopes: scopes, + #baseClient: baseClient, + }, ), )), - ) as _i19.Future<_i2.Client>); + ) as _i20.Future<_i2.Client>); } /// A class which mocks [AccessTokenService]. /// /// See the documentation for Mockito's code generation for more information. -class MockAccessTokenService extends _i1.Mock implements _i25.AccessTokenService { +class MockAccessTokenService extends _i1.Mock implements _i26.AccessTokenService { MockAccessTokenService() { _i1.throwOnMissingStub(this); } @@ -1152,25 +1194,25 @@ class MockAccessTokenService extends _i1.Mock implements _i25.AccessTokenService ), ) as _i3.Config); @override - _i19.Future<_i4.AccessToken> createAccessToken() => (super.noSuchMethod( + _i20.Future<_i4.AccessToken> createAccessToken() => (super.noSuchMethod( Invocation.method( #createAccessToken, [], ), - returnValue: _i19.Future<_i4.AccessToken>.value(_FakeAccessToken_2( + returnValue: _i20.Future<_i4.AccessToken>.value(_FakeAccessToken_2( this, Invocation.method( #createAccessToken, [], ), )), - ) as _i19.Future<_i4.AccessToken>); + ) as _i20.Future<_i4.AccessToken>); } /// A class which mocks [BigqueryService]. /// /// See the documentation for Mockito's code generation for more information. -class MockBigqueryService extends _i1.Mock implements _i15.BigqueryService { +class MockBigqueryService extends _i1.Mock implements _i16.BigqueryService { MockBigqueryService() { _i1.throwOnMissingStub(this); } @@ -1184,35 +1226,35 @@ class MockBigqueryService extends _i1.Mock implements _i15.BigqueryService { ), ) as _i5.AccessClientProvider); @override - _i19.Future<_i6.TabledataResource> defaultTabledata() => (super.noSuchMethod( + _i20.Future<_i6.TabledataResource> defaultTabledata() => (super.noSuchMethod( Invocation.method( #defaultTabledata, [], ), - returnValue: _i19.Future<_i6.TabledataResource>.value(_FakeTabledataResource_4( + returnValue: _i20.Future<_i6.TabledataResource>.value(_FakeTabledataResource_4( this, Invocation.method( #defaultTabledata, [], ), )), - ) as _i19.Future<_i6.TabledataResource>); + ) as _i20.Future<_i6.TabledataResource>); @override - _i19.Future<_i6.JobsResource> defaultJobs() => (super.noSuchMethod( + _i20.Future<_i6.JobsResource> defaultJobs() => (super.noSuchMethod( Invocation.method( #defaultJobs, [], ), - returnValue: _i19.Future<_i6.JobsResource>.value(_FakeJobsResource_5( + returnValue: _i20.Future<_i6.JobsResource>.value(_FakeJobsResource_5( this, Invocation.method( #defaultJobs, [], ), )), - ) as _i19.Future<_i6.JobsResource>); + ) as _i20.Future<_i6.JobsResource>); @override - _i19.Future> listBuilderStatistic( + _i20.Future> listBuilderStatistic( String? projectId, { int? limit = 100, String? bucket = r'prod', @@ -1226,10 +1268,10 @@ class MockBigqueryService extends _i1.Mock implements _i15.BigqueryService { #bucket: bucket, }, ), - returnValue: _i19.Future>.value(<_i15.BuilderStatistic>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i16.BuilderStatistic>[]), + ) as _i20.Future>); @override - _i19.Future> listRecentBuildRecordsForBuilder( + _i20.Future> listRecentBuildRecordsForBuilder( String? projectId, { String? builder, int? limit, @@ -1243,14 +1285,14 @@ class MockBigqueryService extends _i1.Mock implements _i15.BigqueryService { #limit: limit, }, ), - returnValue: _i19.Future>.value(<_i15.BuilderRecord>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i16.BuilderRecord>[]), + ) as _i20.Future>); } /// A class which mocks [BranchService]. /// /// See the documentation for Mockito's code generation for more information. -class MockBranchService extends _i1.Mock implements _i23.BranchService { +class MockBranchService extends _i1.Mock implements _i15.BranchService { MockBranchService() { _i1.throwOnMissingStub(this); } @@ -1272,15 +1314,15 @@ class MockBranchService extends _i1.Mock implements _i23.BranchService { ), ) as _i7.GerritService); @override - _i26.RetryOptions get retryOptions => (super.noSuchMethod( + _i27.RetryOptions get retryOptions => (super.noSuchMethod( Invocation.getter(#retryOptions), - returnValue: _i27.dummyValue<_i26.RetryOptions>( + returnValue: _i28.dummyValue<_i27.RetryOptions>( this, Invocation.getter(#retryOptions), ), - ) as _i26.RetryOptions); + ) as _i27.RetryOptions); @override - _i19.Future branchFlutterRecipes( + _i20.Future branchFlutterRecipes( String? branch, String? engineSha, ) => @@ -1292,12 +1334,12 @@ class MockBranchService extends _i1.Mock implements _i23.BranchService { engineSha, ], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future>> getReleaseBranches({ - required _i16.GithubService? githubService, + _i20.Future>> getReleaseBranches({ + required _i17.GithubService? githubService, required _i13.RepositorySlug? slug, }) => (super.noSuchMethod( @@ -1309,15 +1351,15 @@ class MockBranchService extends _i1.Mock implements _i23.BranchService { #slug: slug, }, ), - returnValue: _i19.Future>>.value(>[]), - ) as _i19.Future>>); + returnValue: _i20.Future>>.value(>[]), + ) as _i20.Future>>); } /// A class which mocks [BuildBucketClient]. /// /// See the documentation for Mockito's code generation for more information. // ignore: must_be_immutable -class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { +class MockBuildBucketClient extends _i1.Mock implements _i15.BuildBucketClient { MockBuildBucketClient() { _i1.throwOnMissingStub(this); } @@ -1325,12 +1367,18 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { @override String get buildBucketBuildUri => (super.noSuchMethod( Invocation.getter(#buildBucketBuildUri), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#buildBucketBuildUri), + ), ) as String); @override String get buildBucketBuilderUri => (super.noSuchMethod( Invocation.getter(#buildBucketBuilderUri), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#buildBucketBuilderUri), + ), ) as String); @override _i2.Client get httpClient => (super.noSuchMethod( @@ -1341,7 +1389,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { ), ) as _i2.Client); @override - _i19.Future<_i8.Build> scheduleBuild( + _i20.Future<_i8.Build> scheduleBuild( _i8.ScheduleBuildRequest? request, { String? buildBucketUri = r'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds', }) => @@ -1351,7 +1399,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { [request], {#buildBucketUri: buildBucketUri}, ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #scheduleBuild, @@ -1359,9 +1407,9 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { {#buildBucketUri: buildBucketUri}, ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future<_i8.SearchBuildsResponse> searchBuilds( + _i20.Future<_i8.SearchBuildsResponse> searchBuilds( _i8.SearchBuildsRequest? request, { String? buildBucketUri = r'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds', }) => @@ -1371,7 +1419,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { [request], {#buildBucketUri: buildBucketUri}, ), - returnValue: _i19.Future<_i8.SearchBuildsResponse>.value(_FakeSearchBuildsResponse_8( + returnValue: _i20.Future<_i8.SearchBuildsResponse>.value(_FakeSearchBuildsResponse_8( this, Invocation.method( #searchBuilds, @@ -1379,9 +1427,9 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { {#buildBucketUri: buildBucketUri}, ), )), - ) as _i19.Future<_i8.SearchBuildsResponse>); + ) as _i20.Future<_i8.SearchBuildsResponse>); @override - _i19.Future<_i8.BatchResponse> batch( + _i20.Future<_i8.BatchResponse> batch( _i8.BatchRequest? request, { String? buildBucketUri = r'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds', }) => @@ -1391,7 +1439,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { [request], {#buildBucketUri: buildBucketUri}, ), - returnValue: _i19.Future<_i8.BatchResponse>.value(_FakeBatchResponse_9( + returnValue: _i20.Future<_i8.BatchResponse>.value(_FakeBatchResponse_9( this, Invocation.method( #batch, @@ -1399,9 +1447,9 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { {#buildBucketUri: buildBucketUri}, ), )), - ) as _i19.Future<_i8.BatchResponse>); + ) as _i20.Future<_i8.BatchResponse>); @override - _i19.Future<_i8.Build> cancelBuild( + _i20.Future<_i8.Build> cancelBuild( _i8.CancelBuildRequest? request, { String? buildBucketUri = r'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds', }) => @@ -1411,7 +1459,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { [request], {#buildBucketUri: buildBucketUri}, ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #cancelBuild, @@ -1419,9 +1467,9 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { {#buildBucketUri: buildBucketUri}, ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future<_i8.Build> getBuild( + _i20.Future<_i8.Build> getBuild( _i8.GetBuildRequest? request, { String? buildBucketUri = r'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builds', }) => @@ -1431,7 +1479,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { [request], {#buildBucketUri: buildBucketUri}, ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #getBuild, @@ -1439,9 +1487,9 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { {#buildBucketUri: buildBucketUri}, ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future<_i8.ListBuildersResponse> listBuilders( + _i20.Future<_i8.ListBuildersResponse> listBuilders( _i8.ListBuildersRequest? request, { String? buildBucketUri = r'https://cr-buildbucket.appspot.com/prpc/buildbucket.v2.Builders', }) => @@ -1451,7 +1499,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { [request], {#buildBucketUri: buildBucketUri}, ), - returnValue: _i19.Future<_i8.ListBuildersResponse>.value(_FakeListBuildersResponse_10( + returnValue: _i20.Future<_i8.ListBuildersResponse>.value(_FakeListBuildersResponse_10( this, Invocation.method( #listBuilders, @@ -1459,7 +1507,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { {#buildBucketUri: buildBucketUri}, ), )), - ) as _i19.Future<_i8.ListBuildersResponse>); + ) as _i20.Future<_i8.ListBuildersResponse>); @override void close() => super.noSuchMethod( Invocation.method( @@ -1473,7 +1521,7 @@ class MockBuildBucketClient extends _i1.Mock implements _i23.BuildBucketClient { /// A class which mocks [CommitService]. /// /// See the documentation for Mockito's code generation for more information. -class MockCommitService extends _i1.Mock implements _i28.CommitService { +class MockCommitService extends _i1.Mock implements _i29.CommitService { MockCommitService() { _i1.throwOnMissingStub(this); } @@ -1495,23 +1543,23 @@ class MockCommitService extends _i1.Mock implements _i28.CommitService { ), ) as _i9.DatastoreServiceProvider); @override - _i19.Future handleCreateGithubRequest(_i29.CreateEvent? createEvent) => (super.noSuchMethod( + _i20.Future handleCreateGithubRequest(_i30.CreateEvent? createEvent) => (super.noSuchMethod( Invocation.method( #handleCreateGithubRequest, [createEvent], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future handlePushGithubRequest(Map? pushEvent) => (super.noSuchMethod( + _i20.Future handlePushGithubRequest(Map? pushEvent) => (super.noSuchMethod( Invocation.method( #handlePushGithubRequest, [pushEvent], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); } /// A class which mocks [Config]. @@ -1535,7 +1583,10 @@ class MockConfig extends _i1.Mock implements _i3.Config { @override String get autosubmitBot => (super.noSuchMethod( Invocation.getter(#autosubmitBot), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#autosubmitBot), + ), ) as String); @override _i10.Logging get loggingService => (super.noSuchMethod( @@ -1546,34 +1597,49 @@ class MockConfig extends _i1.Mock implements _i3.Config { ), ) as _i10.Logging); @override - _i19.Future get githubPrivateKey => (super.noSuchMethod( + _i20.Future get githubPrivateKey => (super.noSuchMethod( Invocation.getter(#githubPrivateKey), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#githubPrivateKey), + )), + ) as _i20.Future); @override - _i19.Future get overrideTreeStatusLabel => (super.noSuchMethod( + _i20.Future get overrideTreeStatusLabel => (super.noSuchMethod( Invocation.getter(#overrideTreeStatusLabel), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#overrideTreeStatusLabel), + )), + ) as _i20.Future); @override - _i19.Future get githubPublicKey => (super.noSuchMethod( + _i20.Future get githubPublicKey => (super.noSuchMethod( Invocation.getter(#githubPublicKey), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#githubPublicKey), + )), + ) as _i20.Future); @override - _i19.Future get githubAppId => (super.noSuchMethod( + _i20.Future get githubAppId => (super.noSuchMethod( Invocation.getter(#githubAppId), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#githubAppId), + )), + ) as _i20.Future); @override - _i19.Future> get githubAppInstallations => (super.noSuchMethod( + _i20.Future> get githubAppInstallations => (super.noSuchMethod( Invocation.getter(#githubAppInstallations), - returnValue: _i19.Future>.value({}), - ) as _i19.Future>); + returnValue: _i20.Future>.value({}), + ) as _i20.Future>); @override String get defaultRecipeBundleRef => (super.noSuchMethod( Invocation.getter(#defaultRecipeBundleRef), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#defaultRecipeBundleRef), + ), ) as String); @override _i11.DatastoreDB get db => (super.noSuchMethod( @@ -1609,74 +1675,113 @@ class MockConfig extends _i1.Mock implements _i3.Config { returnValue: 0, ) as int); @override - _i19.Future> get releaseAccounts => (super.noSuchMethod( + _i20.Future> get releaseAccounts => (super.noSuchMethod( Invocation.getter(#releaseAccounts), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future get oauthClientId => (super.noSuchMethod( + _i20.Future get oauthClientId => (super.noSuchMethod( Invocation.getter(#oauthClientId), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#oauthClientId), + )), + ) as _i20.Future); @override - _i19.Future get frobWebhookKey => (super.noSuchMethod( + _i20.Future get frobWebhookKey => (super.noSuchMethod( Invocation.getter(#frobWebhookKey), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#frobWebhookKey), + )), + ) as _i20.Future); @override - _i19.Future get githubOAuthToken => (super.noSuchMethod( + _i20.Future get githubOAuthToken => (super.noSuchMethod( Invocation.getter(#githubOAuthToken), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#githubOAuthToken), + )), + ) as _i20.Future); @override String get wrongBaseBranchPullRequestMessage => (super.noSuchMethod( Invocation.getter(#wrongBaseBranchPullRequestMessage), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#wrongBaseBranchPullRequestMessage), + ), ) as String); @override String get releaseBranchPullRequestMessage => (super.noSuchMethod( Invocation.getter(#releaseBranchPullRequestMessage), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#releaseBranchPullRequestMessage), + ), ) as String); @override - _i19.Future get webhookKey => (super.noSuchMethod( + _i20.Future get webhookKey => (super.noSuchMethod( Invocation.getter(#webhookKey), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.getter(#webhookKey), + )), + ) as _i20.Future); @override String get mergeConflictPullRequestMessage => (super.noSuchMethod( Invocation.getter(#mergeConflictPullRequestMessage), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#mergeConflictPullRequestMessage), + ), ) as String); @override String get missingTestsPullRequestMessage => (super.noSuchMethod( Invocation.getter(#missingTestsPullRequestMessage), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#missingTestsPullRequestMessage), + ), ) as String); @override String get flutterGoldPending => (super.noSuchMethod( Invocation.getter(#flutterGoldPending), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterGoldPending), + ), ) as String); @override String get flutterGoldSuccess => (super.noSuchMethod( Invocation.getter(#flutterGoldSuccess), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterGoldSuccess), + ), ) as String); @override String get flutterGoldChanges => (super.noSuchMethod( Invocation.getter(#flutterGoldChanges), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterGoldChanges), + ), ) as String); @override String get flutterGoldStalePR => (super.noSuchMethod( Invocation.getter(#flutterGoldStalePR), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterGoldStalePR), + ), ) as String); @override String get flutterGoldDraftChange => (super.noSuchMethod( Invocation.getter(#flutterGoldDraftChange), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterGoldDraftChange), + ), ) as String); @override int get maxTaskRetries => (super.noSuchMethod( @@ -1717,17 +1822,26 @@ class MockConfig extends _i1.Mock implements _i3.Config { @override String get flutterBuild => (super.noSuchMethod( Invocation.getter(#flutterBuild), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterBuild), + ), ) as String); @override String get flutterBuildDescription => (super.noSuchMethod( Invocation.getter(#flutterBuildDescription), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#flutterBuildDescription), + ), ) as String); @override String get waitingForTreeToGoGreenLabelName => (super.noSuchMethod( Invocation.getter(#waitingForTreeToGoGreenLabelName), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#waitingForTreeToGoGreenLabelName), + ), ) as String); @override Set get rollerAccounts => (super.noSuchMethod( @@ -1735,20 +1849,26 @@ class MockConfig extends _i1.Mock implements _i3.Config { returnValue: {}, ) as Set); @override - _i19.Future> getBranches(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future> getBranches(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getBranches, [slug], ), - returnValue: _i19.Future>.value(<_i30.Branch>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i31.Branch>[]), + ) as _i20.Future>); @override String wrongHeadBranchPullRequestMessage(String? branch) => (super.noSuchMethod( Invocation.method( #wrongHeadBranchPullRequestMessage, [branch], ), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.method( + #wrongHeadBranchPullRequestMessage, + [branch], + ), + ), ) as String); @override String flutterGoldInitialAlert(String? url) => (super.noSuchMethod( @@ -1756,7 +1876,13 @@ class MockConfig extends _i1.Mock implements _i3.Config { #flutterGoldInitialAlert, [url], ), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.method( + #flutterGoldInitialAlert, + [url], + ), + ), ) as String); @override String flutterGoldFollowUpAlert(String? url) => (super.noSuchMethod( @@ -1764,7 +1890,13 @@ class MockConfig extends _i1.Mock implements _i3.Config { #flutterGoldFollowUpAlert, [url], ), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.method( + #flutterGoldFollowUpAlert, + [url], + ), + ), ) as String); @override String flutterGoldAlertConstant(_i13.RepositorySlug? slug) => (super.noSuchMethod( @@ -1772,7 +1904,13 @@ class MockConfig extends _i1.Mock implements _i3.Config { #flutterGoldAlertConstant, [slug], ), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.method( + #flutterGoldAlertConstant, + [slug], + ), + ), ) as String); @override String flutterGoldCommentID(_i13.PullRequest? pr) => (super.noSuchMethod( @@ -1780,26 +1918,44 @@ class MockConfig extends _i1.Mock implements _i3.Config { #flutterGoldCommentID, [pr], ), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.method( + #flutterGoldCommentID, + [pr], + ), + ), ) as String); @override - _i19.Future generateJsonWebToken() => (super.noSuchMethod( + _i20.Future generateJsonWebToken() => (super.noSuchMethod( Invocation.method( #generateJsonWebToken, [], ), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.method( + #generateJsonWebToken, + [], + ), + )), + ) as _i20.Future); @override - _i19.Future generateGithubToken(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future generateGithubToken(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #generateGithubToken, [slug], ), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.method( + #generateGithubToken, + [slug], + ), + )), + ) as _i20.Future); @override - _i19.Future<_i13.GitHub> createGitHubClient({ + _i20.Future<_i13.GitHub> createGitHubClient({ _i13.PullRequest? pullRequest, _i13.RepositorySlug? slug, }) => @@ -1812,7 +1968,7 @@ class MockConfig extends _i1.Mock implements _i3.Config { #slug: slug, }, ), - returnValue: _i19.Future<_i13.GitHub>.value(_FakeGitHub_16( + returnValue: _i20.Future<_i13.GitHub>.value(_FakeGitHub_16( this, Invocation.method( #createGitHubClient, @@ -1823,7 +1979,7 @@ class MockConfig extends _i1.Mock implements _i3.Config { }, ), )), - ) as _i19.Future<_i13.GitHub>); + ) as _i20.Future<_i13.GitHub>); @override _i13.GitHub createGitHubClientWithToken(String? token) => (super.noSuchMethod( Invocation.method( @@ -1839,89 +1995,103 @@ class MockConfig extends _i1.Mock implements _i3.Config { ), ) as _i13.GitHub); @override - _i19.Future<_i14.GraphQLClient> createGitHubGraphQLClient() => (super.noSuchMethod( + _i20.Future<_i14.GraphQLClient> createGitHubGraphQLClient() => (super.noSuchMethod( Invocation.method( #createGitHubGraphQLClient, [], ), - returnValue: _i19.Future<_i14.GraphQLClient>.value(_FakeGraphQLClient_17( + returnValue: _i20.Future<_i14.GraphQLClient>.value(_FakeGraphQLClient_17( this, Invocation.method( #createGitHubGraphQLClient, [], ), )), - ) as _i19.Future<_i14.GraphQLClient>); + ) as _i20.Future<_i14.GraphQLClient>); @override - _i19.Future<_i15.BigqueryService> createBigQueryService() => (super.noSuchMethod( + _i20.Future<_i15.FirestoreService> createFirestoreService() => (super.noSuchMethod( + Invocation.method( + #createFirestoreService, + [], + ), + returnValue: _i20.Future<_i15.FirestoreService>.value(_FakeFirestoreService_18( + this, + Invocation.method( + #createFirestoreService, + [], + ), + )), + ) as _i20.Future<_i15.FirestoreService>); + @override + _i20.Future<_i16.BigqueryService> createBigQueryService() => (super.noSuchMethod( Invocation.method( #createBigQueryService, [], ), - returnValue: _i19.Future<_i15.BigqueryService>.value(_FakeBigqueryService_18( + returnValue: _i20.Future<_i16.BigqueryService>.value(_FakeBigqueryService_19( this, Invocation.method( #createBigQueryService, [], ), )), - ) as _i19.Future<_i15.BigqueryService>); + ) as _i20.Future<_i16.BigqueryService>); @override - _i19.Future<_i6.TabledataResource> createTabledataResourceApi() => (super.noSuchMethod( + _i20.Future<_i6.TabledataResource> createTabledataResourceApi() => (super.noSuchMethod( Invocation.method( #createTabledataResourceApi, [], ), - returnValue: _i19.Future<_i6.TabledataResource>.value(_FakeTabledataResource_4( + returnValue: _i20.Future<_i6.TabledataResource>.value(_FakeTabledataResource_4( this, Invocation.method( #createTabledataResourceApi, [], ), )), - ) as _i19.Future<_i6.TabledataResource>); + ) as _i20.Future<_i6.TabledataResource>); @override - _i19.Future<_i16.GithubService> createDefaultGitHubService() => (super.noSuchMethod( + _i20.Future<_i17.GithubService> createDefaultGitHubService() => (super.noSuchMethod( Invocation.method( #createDefaultGitHubService, [], ), - returnValue: _i19.Future<_i16.GithubService>.value(_FakeGithubService_19( + returnValue: _i20.Future<_i17.GithubService>.value(_FakeGithubService_20( this, Invocation.method( #createDefaultGitHubService, [], ), )), - ) as _i19.Future<_i16.GithubService>); + ) as _i20.Future<_i17.GithubService>); @override - _i19.Future<_i16.GithubService> createGithubService(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i17.GithubService> createGithubService(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #createGithubService, [slug], ), - returnValue: _i19.Future<_i16.GithubService>.value(_FakeGithubService_19( + returnValue: _i20.Future<_i17.GithubService>.value(_FakeGithubService_20( this, Invocation.method( #createGithubService, [slug], ), )), - ) as _i19.Future<_i16.GithubService>); + ) as _i20.Future<_i17.GithubService>); @override - _i16.GithubService createGithubServiceWithToken(String? token) => (super.noSuchMethod( + _i17.GithubService createGithubServiceWithToken(String? token) => (super.noSuchMethod( Invocation.method( #createGithubServiceWithToken, [token], ), - returnValue: _FakeGithubService_19( + returnValue: _FakeGithubService_20( this, Invocation.method( #createGithubServiceWithToken, [token], ), ), - ) as _i16.GithubService); + ) as _i17.GithubService); } /// A class which mocks [DatastoreService]. @@ -1947,15 +2117,15 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { ), ) as _i11.DatastoreDB); @override - _i26.RetryOptions get retryOptions => (super.noSuchMethod( + _i27.RetryOptions get retryOptions => (super.noSuchMethod( Invocation.getter(#retryOptions), - returnValue: _i27.dummyValue<_i26.RetryOptions>( + returnValue: _i28.dummyValue<_i27.RetryOptions>( this, Invocation.getter(#retryOptions), ), - ) as _i26.RetryOptions); + ) as _i27.RetryOptions); @override - _i19.Stream<_i31.Commit> queryRecentCommits({ + _i20.Stream<_i32.Commit> queryRecentCommits({ int? limit = 100, int? timestamp, String? branch, @@ -1972,18 +2142,18 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { #slug: slug, }, ), - returnValue: _i19.Stream<_i31.Commit>.empty(), - ) as _i19.Stream<_i31.Commit>); + returnValue: _i20.Stream<_i32.Commit>.empty(), + ) as _i20.Stream<_i32.Commit>); @override - _i19.Stream<_i30.Branch> queryBranches() => (super.noSuchMethod( + _i20.Stream<_i31.Branch> queryBranches() => (super.noSuchMethod( Invocation.method( #queryBranches, [], ), - returnValue: _i19.Stream<_i30.Branch>.empty(), - ) as _i19.Stream<_i30.Branch>); + returnValue: _i20.Stream<_i31.Branch>.empty(), + ) as _i20.Stream<_i31.Branch>); @override - _i19.Stream<_i32.Task> queryRecentTasksByName({ + _i20.Stream<_i33.Task> queryRecentTasksByName({ int? limit = 100, required String? name, }) => @@ -1996,10 +2166,10 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { #name: name, }, ), - returnValue: _i19.Stream<_i32.Task>.empty(), - ) as _i19.Stream<_i32.Task>); + returnValue: _i20.Stream<_i33.Task>.empty(), + ) as _i20.Stream<_i33.Task>); @override - _i19.Stream<_i32.FullTask> queryRecentTasks({ + _i20.Stream<_i33.FullTask> queryRecentTasks({ String? taskName, int? commitLimit = 20, String? branch, @@ -2016,18 +2186,18 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { #slug: slug, }, ), - returnValue: _i19.Stream<_i32.FullTask>.empty(), - ) as _i19.Stream<_i32.FullTask>); + returnValue: _i20.Stream<_i33.FullTask>.empty(), + ) as _i20.Stream<_i33.FullTask>); @override - _i19.Future> queryTasksGroupedByStage(_i31.Commit? commit) => (super.noSuchMethod( + _i20.Future> queryTasksGroupedByStage(_i32.Commit? commit) => (super.noSuchMethod( Invocation.method( #queryTasksGroupedByStage, [commit], ), - returnValue: _i19.Future>.value(<_i33.Stage>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i34.Stage>[]), + ) as _i20.Future>); @override - _i19.Future<_i17.GithubBuildStatusUpdate> queryLastStatusUpdate( + _i20.Future<_i18.GithubBuildStatusUpdate> queryLastStatusUpdate( _i13.RepositorySlug? slug, _i13.PullRequest? pr, ) => @@ -2039,7 +2209,7 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { pr, ], ), - returnValue: _i19.Future<_i17.GithubBuildStatusUpdate>.value(_FakeGithubBuildStatusUpdate_20( + returnValue: _i20.Future<_i18.GithubBuildStatusUpdate>.value(_FakeGithubBuildStatusUpdate_21( this, Invocation.method( #queryLastStatusUpdate, @@ -2049,9 +2219,9 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { ], ), )), - ) as _i19.Future<_i17.GithubBuildStatusUpdate>); + ) as _i20.Future<_i18.GithubBuildStatusUpdate>); @override - _i19.Future<_i18.GithubGoldStatusUpdate> queryLastGoldUpdate( + _i20.Future<_i19.GithubGoldStatusUpdate> queryLastGoldUpdate( _i13.RepositorySlug? slug, _i13.PullRequest? pr, ) => @@ -2063,7 +2233,7 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { pr, ], ), - returnValue: _i19.Future<_i18.GithubGoldStatusUpdate>.value(_FakeGithubGoldStatusUpdate_21( + returnValue: _i20.Future<_i19.GithubGoldStatusUpdate>.value(_FakeGithubGoldStatusUpdate_22( this, Invocation.method( #queryLastGoldUpdate, @@ -2073,35 +2243,35 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { ], ), )), - ) as _i19.Future<_i18.GithubGoldStatusUpdate>); + ) as _i20.Future<_i19.GithubGoldStatusUpdate>); @override - _i19.Future>>> shard(List<_i11.Model>? rows) => (super.noSuchMethod( + _i20.Future>>> shard(List<_i11.Model>? rows) => (super.noSuchMethod( Invocation.method( #shard, [rows], ), - returnValue: _i19.Future>>>.value(>>[]), - ) as _i19.Future>>>); + returnValue: _i20.Future>>>.value(>>[]), + ) as _i20.Future>>>); @override - _i19.Future insert(List<_i11.Model>? rows) => (super.noSuchMethod( + _i20.Future insert(List<_i11.Model>? rows) => (super.noSuchMethod( Invocation.method( #insert, [rows], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future> lookupByKey>(List<_i11.Key>? keys) => + _i20.Future> lookupByKey>(List<_i11.Key>? keys) => (super.noSuchMethod( Invocation.method( #lookupByKey, [keys], ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future lookupByValue>( + _i20.Future lookupByValue>( _i11.Key? key, { T Function()? orElse, }) => @@ -2111,8 +2281,8 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { [key], {#orElse: orElse}, ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #lookupByValue, @@ -2120,9 +2290,9 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { {#orElse: orElse}, ), ), - (T v) => _i19.Future.value(v), + (T v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #lookupByValue, @@ -2130,17 +2300,17 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { {#orElse: orElse}, ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future withTransaction(_i19.Future Function(_i11.Transaction)? handler) => (super.noSuchMethod( + _i20.Future withTransaction(_i20.Future Function(_i11.Transaction)? handler) => (super.noSuchMethod( Invocation.method( #withTransaction, [handler], ), - returnValue: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future<_i32.Task?> getTaskFromBuildbucketBuild( + _i20.Future<_i33.Task?> getTaskFromBuildbucketBuild( _i8.Build? build, { String? customName, }) => @@ -2150,25 +2320,25 @@ class MockDatastoreService extends _i1.Mock implements _i9.DatastoreService { [build], {#customName: customName}, ), - returnValue: _i19.Future<_i32.Task?>.value(), - ) as _i19.Future<_i32.Task?>); + returnValue: _i20.Future<_i33.Task?>.value(), + ) as _i20.Future<_i33.Task?>); } /// A class which mocks [FakeEntry]. /// /// See the documentation for Mockito's code generation for more information. -class MockFakeEntry extends _i1.Mock implements _i34.FakeEntry { +class MockFakeEntry extends _i1.Mock implements _i35.FakeEntry { MockFakeEntry() { _i1.throwOnMissingStub(this); } @override - _i35.Uint8List get value => (super.noSuchMethod( + _i36.Uint8List get value => (super.noSuchMethod( Invocation.getter(#value), - returnValue: _i35.Uint8List(0), - ) as _i35.Uint8List); + returnValue: _i36.Uint8List(0), + ) as _i36.Uint8List); @override - set value(_i35.Uint8List? _value) => super.noSuchMethod( + set value(_i36.Uint8List? _value) => super.noSuchMethod( Invocation.setter( #value, _value, @@ -2176,8 +2346,8 @@ class MockFakeEntry extends _i1.Mock implements _i34.FakeEntry { returnValueForMissingStub: null, ); @override - _i19.Future<_i35.Uint8List> get([ - _i19.Future<_i35.Uint8List?> Function()? create, + _i20.Future<_i36.Uint8List> get([ + _i20.Future<_i36.Uint8List?> Function()? create, Duration? ttl, ]) => (super.noSuchMethod( @@ -2188,21 +2358,21 @@ class MockFakeEntry extends _i1.Mock implements _i34.FakeEntry { ttl, ], ), - returnValue: _i19.Future<_i35.Uint8List>.value(_i35.Uint8List(0)), - ) as _i19.Future<_i35.Uint8List>); + returnValue: _i20.Future<_i36.Uint8List>.value(_i36.Uint8List(0)), + ) as _i20.Future<_i36.Uint8List>); @override - _i19.Future purge({int? retries = 0}) => (super.noSuchMethod( + _i20.Future purge({int? retries = 0}) => (super.noSuchMethod( Invocation.method( #purge, [], {#retries: retries}, ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future<_i35.Uint8List?> set( - _i35.Uint8List? value, [ + _i20.Future<_i36.Uint8List?> set( + _i36.Uint8List? value, [ Duration? ttl, ]) => (super.noSuchMethod( @@ -2213,8 +2383,63 @@ class MockFakeEntry extends _i1.Mock implements _i34.FakeEntry { ttl, ], ), - returnValue: _i19.Future<_i35.Uint8List?>.value(), - ) as _i19.Future<_i35.Uint8List?>); + returnValue: _i20.Future<_i36.Uint8List?>.value(), + ) as _i20.Future<_i36.Uint8List?>); +} + +/// A class which mocks [FirestoreService]. +/// +/// See the documentation for Mockito's code generation for more information. +class MockFirestoreService extends _i1.Mock implements _i15.FirestoreService { + MockFirestoreService() { + _i1.throwOnMissingStub(this); + } + + @override + String get database => (super.noSuchMethod( + Invocation.getter(#database), + returnValue: _i28.dummyValue( + this, + Invocation.getter(#database), + ), + ) as String); + @override + _i5.AccessClientProvider get accessClientProvider => (super.noSuchMethod( + Invocation.getter(#accessClientProvider), + returnValue: _FakeAccessClientProvider_3( + this, + Invocation.getter(#accessClientProvider), + ), + ) as _i5.AccessClientProvider); + @override + _i20.Future<_i21.ProjectsDatabasesDocumentsResource> documentResource() => (super.noSuchMethod( + Invocation.method( + #documentResource, + [], + ), + returnValue: + _i20.Future<_i21.ProjectsDatabasesDocumentsResource>.value(_FakeProjectsDatabasesDocumentsResource_24( + this, + Invocation.method( + #documentResource, + [], + ), + )), + ) as _i20.Future<_i21.ProjectsDatabasesDocumentsResource>); + @override + _i20.Future<_i21.CommitResponse> writeViaTransaction(List<_i21.Write>? writes) => (super.noSuchMethod( + Invocation.method( + #writeViaTransaction, + [writes], + ), + returnValue: _i20.Future<_i21.CommitResponse>.value(_FakeCommitResponse_25( + this, + Invocation.method( + #writeViaTransaction, + [writes], + ), + )), + ) as _i20.Future<_i21.CommitResponse>); } /// A class which mocks [IssuesService]. @@ -2234,7 +2459,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ), ) as _i13.GitHub); @override - _i19.Stream<_i13.Issue> listAll({ + _i20.Stream<_i13.Issue> listAll({ int? milestoneNumber, String? state, String? direction, @@ -2257,10 +2482,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { #labels: labels, }, ), - returnValue: _i19.Stream<_i13.Issue>.empty(), - ) as _i19.Stream<_i13.Issue>); + returnValue: _i20.Stream<_i13.Issue>.empty(), + ) as _i20.Stream<_i13.Issue>); @override - _i19.Stream<_i13.Issue> listByUser({ + _i20.Stream<_i13.Issue> listByUser({ int? milestoneNumber, String? state, String? direction, @@ -2283,10 +2508,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { #labels: labels, }, ), - returnValue: _i19.Stream<_i13.Issue>.empty(), - ) as _i19.Stream<_i13.Issue>); + returnValue: _i20.Stream<_i13.Issue>.empty(), + ) as _i20.Stream<_i13.Issue>); @override - _i19.Stream<_i13.Issue> listByOrg( + _i20.Stream<_i13.Issue> listByOrg( String? org, { int? milestoneNumber, String? state, @@ -2310,10 +2535,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { #labels: labels, }, ), - returnValue: _i19.Stream<_i13.Issue>.empty(), - ) as _i19.Stream<_i13.Issue>); + returnValue: _i20.Stream<_i13.Issue>.empty(), + ) as _i20.Stream<_i13.Issue>); @override - _i19.Stream<_i13.Issue> listByRepo( + _i20.Stream<_i13.Issue> listByRepo( _i13.RepositorySlug? slug, { int? milestoneNumber, String? state, @@ -2337,10 +2562,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { #labels: labels, }, ), - returnValue: _i19.Stream<_i13.Issue>.empty(), - ) as _i19.Stream<_i13.Issue>); + returnValue: _i20.Stream<_i13.Issue>.empty(), + ) as _i20.Stream<_i13.Issue>); @override - _i19.Stream<_i13.Reaction> listReactions( + _i20.Stream<_i13.Reaction> listReactions( _i13.RepositorySlug? slug, int? issueNumber, { _i13.ReactionType? content, @@ -2354,10 +2579,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], {#content: content}, ), - returnValue: _i19.Stream<_i13.Reaction>.empty(), - ) as _i19.Stream<_i13.Reaction>); + returnValue: _i20.Stream<_i13.Reaction>.empty(), + ) as _i20.Stream<_i13.Reaction>); @override - _i19.Future<_i13.Issue> edit( + _i20.Future<_i13.Issue> edit( _i13.RepositorySlug? slug, int? issueNumber, _i13.IssueRequest? issue, @@ -2371,7 +2596,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issue, ], ), - returnValue: _i19.Future<_i13.Issue>.value(_FakeIssue_23( + returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_26( this, Invocation.method( #edit, @@ -2382,9 +2607,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.Issue>); + ) as _i20.Future<_i13.Issue>); @override - _i19.Future<_i13.Issue> get( + _i20.Future<_i13.Issue> get( _i13.RepositorySlug? slug, int? issueNumber, ) => @@ -2396,7 +2621,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issueNumber, ], ), - returnValue: _i19.Future<_i13.Issue>.value(_FakeIssue_23( + returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_26( this, Invocation.method( #get, @@ -2406,9 +2631,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.Issue>); + ) as _i20.Future<_i13.Issue>); @override - _i19.Future<_i13.Issue> create( + _i20.Future<_i13.Issue> create( _i13.RepositorySlug? slug, _i13.IssueRequest? issue, ) => @@ -2420,7 +2645,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issue, ], ), - returnValue: _i19.Future<_i13.Issue>.value(_FakeIssue_23( + returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_26( this, Invocation.method( #create, @@ -2430,17 +2655,17 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.Issue>); + ) as _i20.Future<_i13.Issue>); @override - _i19.Stream<_i13.User> listAssignees(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.User> listAssignees(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listAssignees, [slug], ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); @override - _i19.Future isAssignee( + _i20.Future isAssignee( _i13.RepositorySlug? slug, String? repoName, ) => @@ -2452,10 +2677,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { repoName, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.IssueComment> listCommentsByIssue( + _i20.Stream<_i13.IssueComment> listCommentsByIssue( _i13.RepositorySlug? slug, int? issueNumber, ) => @@ -2467,18 +2692,18 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issueNumber, ], ), - returnValue: _i19.Stream<_i13.IssueComment>.empty(), - ) as _i19.Stream<_i13.IssueComment>); + returnValue: _i20.Stream<_i13.IssueComment>.empty(), + ) as _i20.Stream<_i13.IssueComment>); @override - _i19.Stream<_i13.IssueComment> listCommentsByRepo(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.IssueComment> listCommentsByRepo(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listCommentsByRepo, [slug], ), - returnValue: _i19.Stream<_i13.IssueComment>.empty(), - ) as _i19.Stream<_i13.IssueComment>); + returnValue: _i20.Stream<_i13.IssueComment>.empty(), + ) as _i20.Stream<_i13.IssueComment>); @override - _i19.Future<_i13.IssueComment> getComment( + _i20.Future<_i13.IssueComment> getComment( _i13.RepositorySlug? slug, int? id, ) => @@ -2490,7 +2715,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { id, ], ), - returnValue: _i19.Future<_i13.IssueComment>.value(_FakeIssueComment_24( + returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_27( this, Invocation.method( #getComment, @@ -2500,9 +2725,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.IssueComment>); + ) as _i20.Future<_i13.IssueComment>); @override - _i19.Future<_i13.IssueComment> createComment( + _i20.Future<_i13.IssueComment> createComment( _i13.RepositorySlug? slug, int? issueNumber, String? body, @@ -2516,7 +2741,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { body, ], ), - returnValue: _i19.Future<_i13.IssueComment>.value(_FakeIssueComment_24( + returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_27( this, Invocation.method( #createComment, @@ -2527,9 +2752,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.IssueComment>); + ) as _i20.Future<_i13.IssueComment>); @override - _i19.Future<_i13.IssueComment> updateComment( + _i20.Future<_i13.IssueComment> updateComment( _i13.RepositorySlug? slug, int? id, String? body, @@ -2543,7 +2768,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { body, ], ), - returnValue: _i19.Future<_i13.IssueComment>.value(_FakeIssueComment_24( + returnValue: _i20.Future<_i13.IssueComment>.value(_FakeIssueComment_27( this, Invocation.method( #updateComment, @@ -2554,9 +2779,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.IssueComment>); + ) as _i20.Future<_i13.IssueComment>); @override - _i19.Future deleteComment( + _i20.Future deleteComment( _i13.RepositorySlug? slug, int? id, ) => @@ -2568,18 +2793,18 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { id, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.IssueLabel> listLabels(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.IssueLabel> listLabels(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listLabels, [slug], ), - returnValue: _i19.Stream<_i13.IssueLabel>.empty(), - ) as _i19.Stream<_i13.IssueLabel>); + returnValue: _i20.Stream<_i13.IssueLabel>.empty(), + ) as _i20.Stream<_i13.IssueLabel>); @override - _i19.Future<_i13.IssueLabel> getLabel( + _i20.Future<_i13.IssueLabel> getLabel( _i13.RepositorySlug? slug, String? name, ) => @@ -2591,7 +2816,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { name, ], ), - returnValue: _i19.Future<_i13.IssueLabel>.value(_FakeIssueLabel_25( + returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_28( this, Invocation.method( #getLabel, @@ -2601,9 +2826,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.IssueLabel>); + ) as _i20.Future<_i13.IssueLabel>); @override - _i19.Future<_i13.IssueLabel> createLabel( + _i20.Future<_i13.IssueLabel> createLabel( _i13.RepositorySlug? slug, String? name, { String? color, @@ -2621,7 +2846,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { #description: description, }, ), - returnValue: _i19.Future<_i13.IssueLabel>.value(_FakeIssueLabel_25( + returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_28( this, Invocation.method( #createLabel, @@ -2635,9 +2860,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { }, ), )), - ) as _i19.Future<_i13.IssueLabel>); + ) as _i20.Future<_i13.IssueLabel>); @override - _i19.Future<_i13.IssueLabel> editLabel( + _i20.Future<_i13.IssueLabel> editLabel( _i13.RepositorySlug? slug, String? name, String? color, @@ -2651,7 +2876,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { color, ], ), - returnValue: _i19.Future<_i13.IssueLabel>.value(_FakeIssueLabel_25( + returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_28( this, Invocation.method( #editLabel, @@ -2662,9 +2887,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.IssueLabel>); + ) as _i20.Future<_i13.IssueLabel>); @override - _i19.Future<_i13.IssueLabel> updateLabel( + _i20.Future<_i13.IssueLabel> updateLabel( _i13.RepositorySlug? slug, String? name, { String? newName, @@ -2684,7 +2909,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { #description: description, }, ), - returnValue: _i19.Future<_i13.IssueLabel>.value(_FakeIssueLabel_25( + returnValue: _i20.Future<_i13.IssueLabel>.value(_FakeIssueLabel_28( this, Invocation.method( #updateLabel, @@ -2699,9 +2924,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { }, ), )), - ) as _i19.Future<_i13.IssueLabel>); + ) as _i20.Future<_i13.IssueLabel>); @override - _i19.Future deleteLabel( + _i20.Future deleteLabel( _i13.RepositorySlug? slug, String? name, ) => @@ -2713,10 +2938,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { name, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.IssueLabel> listLabelsByIssue( + _i20.Stream<_i13.IssueLabel> listLabelsByIssue( _i13.RepositorySlug? slug, int? issueNumber, ) => @@ -2728,10 +2953,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issueNumber, ], ), - returnValue: _i19.Stream<_i13.IssueLabel>.empty(), - ) as _i19.Stream<_i13.IssueLabel>); + returnValue: _i20.Stream<_i13.IssueLabel>.empty(), + ) as _i20.Stream<_i13.IssueLabel>); @override - _i19.Future> addLabelsToIssue( + _i20.Future> addLabelsToIssue( _i13.RepositorySlug? slug, int? issueNumber, List? labels, @@ -2745,10 +2970,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { labels, ], ), - returnValue: _i19.Future>.value(<_i13.IssueLabel>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.IssueLabel>[]), + ) as _i20.Future>); @override - _i19.Future> replaceLabelsForIssue( + _i20.Future> replaceLabelsForIssue( _i13.RepositorySlug? slug, int? issueNumber, List? labels, @@ -2762,10 +2987,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { labels, ], ), - returnValue: _i19.Future>.value(<_i13.IssueLabel>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.IssueLabel>[]), + ) as _i20.Future>); @override - _i19.Future removeLabelForIssue( + _i20.Future removeLabelForIssue( _i13.RepositorySlug? slug, int? issueNumber, String? label, @@ -2779,10 +3004,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { label, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future removeAllLabelsForIssue( + _i20.Future removeAllLabelsForIssue( _i13.RepositorySlug? slug, int? issueNumber, ) => @@ -2794,18 +3019,18 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issueNumber, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.Milestone> listMilestones(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Milestone> listMilestones(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listMilestones, [slug], ), - returnValue: _i19.Stream<_i13.Milestone>.empty(), - ) as _i19.Stream<_i13.Milestone>); + returnValue: _i20.Stream<_i13.Milestone>.empty(), + ) as _i20.Stream<_i13.Milestone>); @override - _i19.Future<_i13.Milestone> createMilestone( + _i20.Future<_i13.Milestone> createMilestone( _i13.RepositorySlug? slug, _i13.CreateMilestone? request, ) => @@ -2817,7 +3042,7 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { request, ], ), - returnValue: _i19.Future<_i13.Milestone>.value(_FakeMilestone_26( + returnValue: _i20.Future<_i13.Milestone>.value(_FakeMilestone_29( this, Invocation.method( #createMilestone, @@ -2827,9 +3052,9 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], ), )), - ) as _i19.Future<_i13.Milestone>); + ) as _i20.Future<_i13.Milestone>); @override - _i19.Future deleteMilestone( + _i20.Future deleteMilestone( _i13.RepositorySlug? slug, int? number, ) => @@ -2841,10 +3066,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { number, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.TimelineEvent> listTimeline( + _i20.Stream<_i13.TimelineEvent> listTimeline( _i13.RepositorySlug? slug, int? issueNumber, ) => @@ -2856,10 +3081,10 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { issueNumber, ], ), - returnValue: _i19.Stream<_i13.TimelineEvent>.empty(), - ) as _i19.Stream<_i13.TimelineEvent>); + returnValue: _i20.Stream<_i13.TimelineEvent>.empty(), + ) as _i20.Stream<_i13.TimelineEvent>); @override - _i19.Future lock( + _i20.Future lock( _i13.RepositorySlug? slug, int? number, { String? lockReason, @@ -2873,11 +3098,11 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { ], {#lockReason: lockReason}, ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future unlock( + _i20.Future unlock( _i13.RepositorySlug? slug, int? number, ) => @@ -2889,15 +3114,15 @@ class MockIssuesService extends _i1.Mock implements _i13.IssuesService { number, ], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); } /// A class which mocks [GithubChecksService]. /// /// See the documentation for Mockito's code generation for more information. -class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksService { +class MockGithubChecksService extends _i1.Mock implements _i15.GithubChecksService { MockGithubChecksService() { _i1.throwOnMissingStub(this); } @@ -2919,15 +3144,15 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi returnValueForMissingStub: null, ); @override - _i20.GithubChecksUtil get githubChecksUtil => (super.noSuchMethod( + _i22.GithubChecksUtil get githubChecksUtil => (super.noSuchMethod( Invocation.getter(#githubChecksUtil), - returnValue: _FakeGithubChecksUtil_27( + returnValue: _FakeGithubChecksUtil_30( this, Invocation.getter(#githubChecksUtil), ), - ) as _i20.GithubChecksUtil); + ) as _i22.GithubChecksUtil); @override - set githubChecksUtil(_i20.GithubChecksUtil? _githubChecksUtil) => super.noSuchMethod( + set githubChecksUtil(_i22.GithubChecksUtil? _githubChecksUtil) => super.noSuchMethod( Invocation.setter( #githubChecksUtil, _githubChecksUtil, @@ -2935,10 +3160,10 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi returnValueForMissingStub: null, ); @override - _i19.Future handleCheckSuite( + _i20.Future handleCheckSuite( _i13.PullRequest? pullRequest, - _i29.CheckSuiteEvent? checkSuiteEvent, - _i23.Scheduler? scheduler, + _i30.CheckSuiteEvent? checkSuiteEvent, + _i15.Scheduler? scheduler, ) => (super.noSuchMethod( Invocation.method( @@ -2949,13 +3174,13 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi scheduler, ], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future updateCheckStatus( - _i36.BuildPushMessage? buildPushMessage, - _i23.LuciBuildService? luciBuildService, + _i20.Future updateCheckStatus( + _i37.BuildPushMessage? buildPushMessage, + _i15.LuciBuildService? luciBuildService, _i13.RepositorySlug? slug, { bool? rescheduled = false, }) => @@ -2969,10 +3194,10 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi ], {#rescheduled: rescheduled}, ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - bool taskFailed(_i36.BuildPushMessage? buildPushMessage) => (super.noSuchMethod( + bool taskFailed(_i37.BuildPushMessage? buildPushMessage) => (super.noSuchMethod( Invocation.method( #taskFailed, [buildPushMessage], @@ -2980,7 +3205,7 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi returnValue: false, ) as bool); @override - int currentAttempt(_i36.BuildPushMessage? buildPushMessage) => (super.noSuchMethod( + int currentAttempt(_i37.BuildPushMessage? buildPushMessage) => (super.noSuchMethod( Invocation.method( #currentAttempt, [buildPushMessage], @@ -2993,15 +3218,21 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi #getGithubSummary, [summary], ), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.method( + #getGithubSummary, + [summary], + ), + ), ) as String); @override - _i13.CheckRunConclusion conclusionForResult(_i36.Result? result) => (super.noSuchMethod( + _i13.CheckRunConclusion conclusionForResult(_i37.Result? result) => (super.noSuchMethod( Invocation.method( #conclusionForResult, [result], ), - returnValue: _FakeCheckRunConclusion_28( + returnValue: _FakeCheckRunConclusion_31( this, Invocation.method( #conclusionForResult, @@ -3010,12 +3241,12 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi ), ) as _i13.CheckRunConclusion); @override - _i13.CheckRunStatus statusForResult(_i36.Status? status) => (super.noSuchMethod( + _i13.CheckRunStatus statusForResult(_i37.Status? status) => (super.noSuchMethod( Invocation.method( #statusForResult, [status], ), - returnValue: _FakeCheckRunStatus_29( + returnValue: _FakeCheckRunStatus_32( this, Invocation.method( #statusForResult, @@ -3024,7 +3255,7 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi ), ) as _i13.CheckRunStatus); @override - _i19.Future<_i13.PullRequest?> findMatchingPullRequest( + _i20.Future<_i13.PullRequest?> findMatchingPullRequest( _i13.RepositorySlug? slug, String? headSha, int? checkSuiteId, @@ -3038,22 +3269,22 @@ class MockGithubChecksService extends _i1.Mock implements _i23.GithubChecksServi checkSuiteId, ], ), - returnValue: _i19.Future<_i13.PullRequest?>.value(), - ) as _i19.Future<_i13.PullRequest?>); + returnValue: _i20.Future<_i13.PullRequest?>.value(), + ) as _i20.Future<_i13.PullRequest?>); } /// A class which mocks [GithubChecksUtil]. /// /// See the documentation for Mockito's code generation for more information. -class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { +class MockGithubChecksUtil extends _i1.Mock implements _i22.GithubChecksUtil { MockGithubChecksUtil() { _i1.throwOnMissingStub(this); } @override - _i19.Future> allCheckRuns( + _i20.Future> allCheckRuns( _i13.GitHub? gitHubClient, - _i29.CheckSuiteEvent? checkSuiteEvent, + _i30.CheckSuiteEvent? checkSuiteEvent, ) => (super.noSuchMethod( Invocation.method( @@ -3063,10 +3294,10 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { checkSuiteEvent, ], ), - returnValue: _i19.Future>.value({}), - ) as _i19.Future>); + returnValue: _i20.Future>.value({}), + ) as _i20.Future>); @override - _i19.Future<_i13.CheckSuite> getCheckSuite( + _i20.Future<_i13.CheckSuite> getCheckSuite( _i13.GitHub? gitHubClient, _i13.RepositorySlug? slug, int? checkSuiteId, @@ -3080,7 +3311,7 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { checkSuiteId, ], ), - returnValue: _i19.Future<_i13.CheckSuite>.value(_FakeCheckSuite_30( + returnValue: _i20.Future<_i13.CheckSuite>.value(_FakeCheckSuite_33( this, Invocation.method( #getCheckSuite, @@ -3091,9 +3322,9 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { ], ), )), - ) as _i19.Future<_i13.CheckSuite>); + ) as _i20.Future<_i13.CheckSuite>); @override - _i19.Future> listCheckSuitesForRef( + _i20.Future> listCheckSuitesForRef( _i13.GitHub? gitHubClient, _i13.RepositorySlug? slug, { required String? ref, @@ -3113,10 +3344,10 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { #checkName: checkName, }, ), - returnValue: _i19.Future>.value(<_i13.CheckSuite>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.CheckSuite>[]), + ) as _i20.Future>); @override - _i19.Future updateCheckRun( + _i20.Future updateCheckRun( _i3.Config? config, _i13.RepositorySlug? slug, _i13.CheckRun? checkRun, { @@ -3140,11 +3371,11 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { #output: output, }, ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future<_i13.CheckRun> getCheckRun( + _i20.Future<_i13.CheckRun> getCheckRun( _i3.Config? config, _i13.RepositorySlug? slug, int? id, @@ -3158,7 +3389,7 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { id, ], ), - returnValue: _i19.Future<_i13.CheckRun>.value(_FakeCheckRun_31( + returnValue: _i20.Future<_i13.CheckRun>.value(_FakeCheckRun_34( this, Invocation.method( #getCheckRun, @@ -3169,9 +3400,9 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { ], ), )), - ) as _i19.Future<_i13.CheckRun>); + ) as _i20.Future<_i13.CheckRun>); @override - _i19.Future<_i13.CheckRun> createCheckRun( + _i20.Future<_i13.CheckRun> createCheckRun( _i3.Config? config, _i13.RepositorySlug? slug, String? sha, @@ -3189,7 +3420,7 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { ], {#output: output}, ), - returnValue: _i19.Future<_i13.CheckRun>.value(_FakeCheckRun_31( + returnValue: _i20.Future<_i13.CheckRun>.value(_FakeCheckRun_34( this, Invocation.method( #createCheckRun, @@ -3202,13 +3433,13 @@ class MockGithubChecksUtil extends _i1.Mock implements _i20.GithubChecksUtil { {#output: output}, ), )), - ) as _i19.Future<_i13.CheckRun>); + ) as _i20.Future<_i13.CheckRun>); } /// A class which mocks [GithubService]. /// /// See the documentation for Mockito's code generation for more information. -class MockGithubService extends _i1.Mock implements _i16.GithubService { +class MockGithubService extends _i1.Mock implements _i17.GithubService { MockGithubService() { _i1.throwOnMissingStub(this); } @@ -3222,7 +3453,7 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { ), ) as _i13.GitHub); @override - _i19.Future> listBranchedCommits( + _i20.Future> listBranchedCommits( _i13.RepositorySlug? slug, String? branch, int? lastCommitTimestampMills, @@ -3236,10 +3467,10 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { lastCommitTimestampMills, ], ), - returnValue: _i19.Future>.value(<_i13.RepositoryCommit>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.RepositoryCommit>[]), + ) as _i20.Future>); @override - _i19.Future> listPullRequests( + _i20.Future> listPullRequests( _i13.RepositorySlug? slug, String? branch, ) => @@ -3251,10 +3482,10 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { branch, ], ), - returnValue: _i19.Future>.value(<_i13.PullRequest>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.PullRequest>[]), + ) as _i20.Future>); @override - _i19.Future<_i13.PullRequest> createPullRequest( + _i20.Future<_i13.PullRequest> createPullRequest( _i13.RepositorySlug? slug, { required String? title, String? body, @@ -3274,7 +3505,7 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #entries: entries, }, ), - returnValue: _i19.Future<_i13.PullRequest>.value(_FakePullRequest_32( + returnValue: _i20.Future<_i13.PullRequest>.value(_FakePullRequest_35( this, Invocation.method( #createPullRequest, @@ -3288,9 +3519,9 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { }, ), )), - ) as _i19.Future<_i13.PullRequest>); + ) as _i20.Future<_i13.PullRequest>); @override - _i19.Future assignReviewer( + _i20.Future assignReviewer( _i13.RepositorySlug? slug, { int? pullRequestNumber, String? reviewer, @@ -3304,11 +3535,26 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #reviewer: reviewer, }, ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future> addIssueLabels( + _i20.Future> getIssueLabels( + _i13.RepositorySlug? slug, + int? issueNumber, + ) => + (super.noSuchMethod( + Invocation.method( + #getIssueLabels, + [ + slug, + issueNumber, + ], + ), + returnValue: _i20.Future>.value(<_i13.IssueLabel>[]), + ) as _i20.Future>); + @override + _i20.Future> addIssueLabels( _i13.RepositorySlug? slug, int? issueNumber, List? labels, @@ -3322,10 +3568,10 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { labels, ], ), - returnValue: _i19.Future>.value(<_i13.IssueLabel>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.IssueLabel>[]), + ) as _i20.Future>); @override - _i19.Future> listIssues( + _i20.Future> listIssues( _i13.RepositorySlug? slug, { List? labels, String? state = r'open', @@ -3339,10 +3585,10 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #state: state, }, ), - returnValue: _i19.Future>.value(<_i13.Issue>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.Issue>[]), + ) as _i20.Future>); @override - _i19.Future<_i13.Issue>? getIssue( + _i20.Future<_i13.Issue>? getIssue( _i13.RepositorySlug? slug, { required int? issueNumber, }) => @@ -3350,9 +3596,9 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #getIssue, [slug], {#issueNumber: issueNumber}, - )) as _i19.Future<_i13.Issue>?); + )) as _i20.Future<_i13.Issue>?); @override - _i19.Future assignIssue( + _i20.Future assignIssue( _i13.RepositorySlug? slug, { required int? issueNumber, required String? assignee, @@ -3366,11 +3612,11 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #assignee: assignee, }, ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future<_i13.Issue> createIssue( + _i20.Future<_i13.Issue> createIssue( _i13.RepositorySlug? slug, { String? title, String? body, @@ -3388,7 +3634,7 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #assignee: assignee, }, ), - returnValue: _i19.Future<_i13.Issue>.value(_FakeIssue_23( + returnValue: _i20.Future<_i13.Issue>.value(_FakeIssue_26( this, Invocation.method( #createIssue, @@ -3401,9 +3647,9 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { }, ), )), - ) as _i19.Future<_i13.Issue>); + ) as _i20.Future<_i13.Issue>); @override - _i19.Future<_i13.IssueComment?> createComment( + _i20.Future<_i13.IssueComment?> createComment( _i13.RepositorySlug? slug, { required int? issueNumber, required String? body, @@ -3417,10 +3663,10 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #body: body, }, ), - returnValue: _i19.Future<_i13.IssueComment?>.value(), - ) as _i19.Future<_i13.IssueComment?>); + returnValue: _i20.Future<_i13.IssueComment?>.value(), + ) as _i20.Future<_i13.IssueComment?>); @override - _i19.Future> replaceLabelsForIssue( + _i20.Future> replaceLabelsForIssue( _i13.RepositorySlug? slug, { required int? issueNumber, required List? labels, @@ -3434,18 +3680,18 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #labels: labels, }, ), - returnValue: _i19.Future>.value(<_i13.IssueLabel>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.IssueLabel>[]), + ) as _i20.Future>); @override - _i19.Future> listFiles(_i13.PullRequest? pullRequest) => (super.noSuchMethod( + _i20.Future> listFiles(_i13.PullRequest? pullRequest) => (super.noSuchMethod( Invocation.method( #listFiles, [pullRequest], ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future getFileContent( + _i20.Future getFileContent( _i13.RepositorySlug? slug, String? path, { String? ref, @@ -3459,10 +3705,20 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { ], {#ref: ref}, ), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.method( + #getFileContent, + [ + slug, + path, + ], + {#ref: ref}, + ), + )), + ) as _i20.Future); @override - _i19.Future<_i13.GitReference> getReference( + _i20.Future<_i13.GitReference> getReference( _i13.RepositorySlug? slug, String? ref, ) => @@ -3474,7 +3730,7 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { ref, ], ), - returnValue: _i19.Future<_i13.GitReference>.value(_FakeGitReference_33( + returnValue: _i20.Future<_i13.GitReference>.value(_FakeGitReference_36( this, Invocation.method( #getReference, @@ -3484,23 +3740,23 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { ], ), )), - ) as _i19.Future<_i13.GitReference>); + ) as _i20.Future<_i13.GitReference>); @override - _i19.Future<_i13.RateLimit> getRateLimit() => (super.noSuchMethod( + _i20.Future<_i13.RateLimit> getRateLimit() => (super.noSuchMethod( Invocation.method( #getRateLimit, [], ), - returnValue: _i19.Future<_i13.RateLimit>.value(_FakeRateLimit_34( + returnValue: _i20.Future<_i13.RateLimit>.value(_FakeRateLimit_37( this, Invocation.method( #getRateLimit, [], ), )), - ) as _i19.Future<_i13.RateLimit>); + ) as _i20.Future<_i13.RateLimit>); @override - _i19.Future> searchIssuesAndPRs( + _i20.Future> searchIssuesAndPRs( _i13.RepositorySlug? slug, String? query, { String? sort, @@ -3518,10 +3774,10 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { #pages: pages, }, ), - returnValue: _i19.Future>.value(<_i13.Issue>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.Issue>[]), + ) as _i20.Future>); @override - _i19.Future<_i13.PullRequest> getPullRequest( + _i20.Future<_i13.PullRequest> getPullRequest( _i13.RepositorySlug? slug, int? number, ) => @@ -3533,7 +3789,7 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { number, ], ), - returnValue: _i19.Future<_i13.PullRequest>.value(_FakePullRequest_32( + returnValue: _i20.Future<_i13.PullRequest>.value(_FakePullRequest_35( this, Invocation.method( #getPullRequest, @@ -3543,7 +3799,7 @@ class MockGithubService extends _i1.Mock implements _i16.GithubService { ], ), )), - ) as _i19.Future<_i13.PullRequest>); + ) as _i20.Future<_i13.PullRequest>); } /// A class which mocks [GitService]. @@ -3563,7 +3819,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ), ) as _i13.GitHub); @override - _i19.Future<_i13.GitBlob> getBlob( + _i20.Future<_i13.GitBlob> getBlob( _i13.RepositorySlug? slug, String? sha, ) => @@ -3575,7 +3831,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { sha, ], ), - returnValue: _i19.Future<_i13.GitBlob>.value(_FakeGitBlob_35( + returnValue: _i20.Future<_i13.GitBlob>.value(_FakeGitBlob_38( this, Invocation.method( #getBlob, @@ -3585,9 +3841,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitBlob>); + ) as _i20.Future<_i13.GitBlob>); @override - _i19.Future<_i13.GitBlob> createBlob( + _i20.Future<_i13.GitBlob> createBlob( _i13.RepositorySlug? slug, _i13.CreateGitBlob? blob, ) => @@ -3599,7 +3855,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { blob, ], ), - returnValue: _i19.Future<_i13.GitBlob>.value(_FakeGitBlob_35( + returnValue: _i20.Future<_i13.GitBlob>.value(_FakeGitBlob_38( this, Invocation.method( #createBlob, @@ -3609,9 +3865,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitBlob>); + ) as _i20.Future<_i13.GitBlob>); @override - _i19.Future<_i13.GitCommit> getCommit( + _i20.Future<_i13.GitCommit> getCommit( _i13.RepositorySlug? slug, String? sha, ) => @@ -3623,7 +3879,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { sha, ], ), - returnValue: _i19.Future<_i13.GitCommit>.value(_FakeGitCommit_36( + returnValue: _i20.Future<_i13.GitCommit>.value(_FakeGitCommit_39( this, Invocation.method( #getCommit, @@ -3633,9 +3889,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitCommit>); + ) as _i20.Future<_i13.GitCommit>); @override - _i19.Future<_i13.GitCommit> createCommit( + _i20.Future<_i13.GitCommit> createCommit( _i13.RepositorySlug? slug, _i13.CreateGitCommit? commit, ) => @@ -3647,7 +3903,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { commit, ], ), - returnValue: _i19.Future<_i13.GitCommit>.value(_FakeGitCommit_36( + returnValue: _i20.Future<_i13.GitCommit>.value(_FakeGitCommit_39( this, Invocation.method( #createCommit, @@ -3657,9 +3913,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitCommit>); + ) as _i20.Future<_i13.GitCommit>); @override - _i19.Future<_i13.GitReference> getReference( + _i20.Future<_i13.GitReference> getReference( _i13.RepositorySlug? slug, String? ref, ) => @@ -3671,7 +3927,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ref, ], ), - returnValue: _i19.Future<_i13.GitReference>.value(_FakeGitReference_33( + returnValue: _i20.Future<_i13.GitReference>.value(_FakeGitReference_36( this, Invocation.method( #getReference, @@ -3681,9 +3937,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitReference>); + ) as _i20.Future<_i13.GitReference>); @override - _i19.Stream<_i13.GitReference> listReferences( + _i20.Stream<_i13.GitReference> listReferences( _i13.RepositorySlug? slug, { String? type, }) => @@ -3693,10 +3949,10 @@ class MockGitService extends _i1.Mock implements _i13.GitService { [slug], {#type: type}, ), - returnValue: _i19.Stream<_i13.GitReference>.empty(), - ) as _i19.Stream<_i13.GitReference>); + returnValue: _i20.Stream<_i13.GitReference>.empty(), + ) as _i20.Stream<_i13.GitReference>); @override - _i19.Future<_i13.GitReference> createReference( + _i20.Future<_i13.GitReference> createReference( _i13.RepositorySlug? slug, String? ref, String? sha, @@ -3710,7 +3966,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { sha, ], ), - returnValue: _i19.Future<_i13.GitReference>.value(_FakeGitReference_33( + returnValue: _i20.Future<_i13.GitReference>.value(_FakeGitReference_36( this, Invocation.method( #createReference, @@ -3721,9 +3977,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitReference>); + ) as _i20.Future<_i13.GitReference>); @override - _i19.Future<_i13.GitReference> editReference( + _i20.Future<_i13.GitReference> editReference( _i13.RepositorySlug? slug, String? ref, String? sha, { @@ -3739,7 +3995,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], {#force: force}, ), - returnValue: _i19.Future<_i13.GitReference>.value(_FakeGitReference_33( + returnValue: _i20.Future<_i13.GitReference>.value(_FakeGitReference_36( this, Invocation.method( #editReference, @@ -3751,9 +4007,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { {#force: force}, ), )), - ) as _i19.Future<_i13.GitReference>); + ) as _i20.Future<_i13.GitReference>); @override - _i19.Future deleteReference( + _i20.Future deleteReference( _i13.RepositorySlug? slug, String? ref, ) => @@ -3765,10 +4021,10 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ref, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future<_i13.GitTag> getTag( + _i20.Future<_i13.GitTag> getTag( _i13.RepositorySlug? slug, String? sha, ) => @@ -3780,7 +4036,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { sha, ], ), - returnValue: _i19.Future<_i13.GitTag>.value(_FakeGitTag_37( + returnValue: _i20.Future<_i13.GitTag>.value(_FakeGitTag_40( this, Invocation.method( #getTag, @@ -3790,9 +4046,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitTag>); + ) as _i20.Future<_i13.GitTag>); @override - _i19.Future<_i13.GitTag> createTag( + _i20.Future<_i13.GitTag> createTag( _i13.RepositorySlug? slug, _i13.CreateGitTag? tag, ) => @@ -3804,7 +4060,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { tag, ], ), - returnValue: _i19.Future<_i13.GitTag>.value(_FakeGitTag_37( + returnValue: _i20.Future<_i13.GitTag>.value(_FakeGitTag_40( this, Invocation.method( #createTag, @@ -3814,9 +4070,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitTag>); + ) as _i20.Future<_i13.GitTag>); @override - _i19.Future<_i13.GitTree> getTree( + _i20.Future<_i13.GitTree> getTree( _i13.RepositorySlug? slug, String? sha, { bool? recursive = false, @@ -3830,7 +4086,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], {#recursive: recursive}, ), - returnValue: _i19.Future<_i13.GitTree>.value(_FakeGitTree_38( + returnValue: _i20.Future<_i13.GitTree>.value(_FakeGitTree_41( this, Invocation.method( #getTree, @@ -3841,9 +4097,9 @@ class MockGitService extends _i1.Mock implements _i13.GitService { {#recursive: recursive}, ), )), - ) as _i19.Future<_i13.GitTree>); + ) as _i20.Future<_i13.GitTree>); @override - _i19.Future<_i13.GitTree> createTree( + _i20.Future<_i13.GitTree> createTree( _i13.RepositorySlug? slug, _i13.CreateGitTree? tree, ) => @@ -3855,7 +4111,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { tree, ], ), - returnValue: _i19.Future<_i13.GitTree>.value(_FakeGitTree_38( + returnValue: _i20.Future<_i13.GitTree>.value(_FakeGitTree_41( this, Invocation.method( #createTree, @@ -3865,7 +4121,7 @@ class MockGitService extends _i1.Mock implements _i13.GitService { ], ), )), - ) as _i19.Future<_i13.GitTree>); + ) as _i20.Future<_i13.GitTree>); } /// A class which mocks [GraphQLClient]. @@ -3879,7 +4135,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { @override _i14.DefaultPolicies get defaultPolicies => (super.noSuchMethod( Invocation.getter(#defaultPolicies), - returnValue: _FakeDefaultPolicies_39( + returnValue: _FakeDefaultPolicies_42( this, Invocation.getter(#defaultPolicies), ), @@ -3895,7 +4151,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { @override _i14.Link get link => (super.noSuchMethod( Invocation.getter(#link), - returnValue: _FakeLink_40( + returnValue: _FakeLink_43( this, Invocation.getter(#link), ), @@ -3903,7 +4159,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { @override _i14.GraphQLCache get cache => (super.noSuchMethod( Invocation.getter(#cache), - returnValue: _FakeGraphQLCache_41( + returnValue: _FakeGraphQLCache_44( this, Invocation.getter(#cache), ), @@ -3911,7 +4167,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { @override _i14.QueryManager get queryManager => (super.noSuchMethod( Invocation.getter(#queryManager), - returnValue: _FakeQueryManager_42( + returnValue: _FakeQueryManager_45( this, Invocation.getter(#queryManager), ), @@ -3962,7 +4218,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { #watchQuery, [options], ), - returnValue: _FakeObservableQuery_43( + returnValue: _FakeObservableQuery_46( this, Invocation.method( #watchQuery, @@ -3976,7 +4232,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { #watchMutation, [options], ), - returnValue: _FakeObservableQuery_43( + returnValue: _FakeObservableQuery_46( this, Invocation.method( #watchMutation, @@ -3985,44 +4241,44 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { ), ) as _i14.ObservableQuery); @override - _i19.Future<_i14.QueryResult> query(_i14.QueryOptions? options) => (super.noSuchMethod( + _i20.Future<_i14.QueryResult> query(_i14.QueryOptions? options) => (super.noSuchMethod( Invocation.method( #query, [options], ), - returnValue: _i19.Future<_i14.QueryResult>.value(_FakeQueryResult_44( + returnValue: _i20.Future<_i14.QueryResult>.value(_FakeQueryResult_47( this, Invocation.method( #query, [options], ), )), - ) as _i19.Future<_i14.QueryResult>); + ) as _i20.Future<_i14.QueryResult>); @override - _i19.Future<_i14.QueryResult> mutate(_i14.MutationOptions? options) => (super.noSuchMethod( + _i20.Future<_i14.QueryResult> mutate(_i14.MutationOptions? options) => (super.noSuchMethod( Invocation.method( #mutate, [options], ), - returnValue: _i19.Future<_i14.QueryResult>.value(_FakeQueryResult_44( + returnValue: _i20.Future<_i14.QueryResult>.value(_FakeQueryResult_47( this, Invocation.method( #mutate, [options], ), )), - ) as _i19.Future<_i14.QueryResult>); + ) as _i20.Future<_i14.QueryResult>); @override - _i19.Stream<_i14.QueryResult> subscribe(_i14.SubscriptionOptions? options) => + _i20.Stream<_i14.QueryResult> subscribe(_i14.SubscriptionOptions? options) => (super.noSuchMethod( Invocation.method( #subscribe, [options], ), - returnValue: _i19.Stream<_i14.QueryResult>.empty(), - ) as _i19.Stream<_i14.QueryResult>); + returnValue: _i20.Stream<_i14.QueryResult>.empty(), + ) as _i20.Stream<_i14.QueryResult>); @override - _i19.Future<_i14.QueryResult> fetchMore( + _i20.Future<_i14.QueryResult> fetchMore( _i14.FetchMoreOptions? fetchMoreOptions, { required _i14.QueryOptions? originalOptions, required _i14.QueryResult? previousResult, @@ -4036,7 +4292,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { #previousResult: previousResult, }, ), - returnValue: _i19.Future<_i14.QueryResult>.value(_FakeQueryResult_44( + returnValue: _i20.Future<_i14.QueryResult>.value(_FakeQueryResult_47( this, Invocation.method( #fetchMore, @@ -4047,7 +4303,7 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { }, ), )), - ) as _i19.Future<_i14.QueryResult>); + ) as _i20.Future<_i14.QueryResult>); @override Map? readQuery( _i14.Request? request, { @@ -4103,18 +4359,18 @@ class MockGraphQLClient extends _i1.Mock implements _i14.GraphQLClient { returnValueForMissingStub: null, ); @override - _i19.Future?>>? resetStore({bool? refetchQueries = true}) => + _i20.Future?>>? resetStore({bool? refetchQueries = true}) => (super.noSuchMethod(Invocation.method( #resetStore, [], {#refetchQueries: refetchQueries}, - )) as _i19.Future?>>?); + )) as _i20.Future?>>?); } /// A class which mocks [HttpClient]. /// /// See the documentation for Mockito's code generation for more information. -class MockHttpClient extends _i1.Mock implements _i21.HttpClient { +class MockHttpClient extends _i1.Mock implements _i23.HttpClient { MockHttpClient() { _i1.throwOnMissingStub(this); } @@ -4174,7 +4430,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ); @override set authenticate( - _i19.Future Function( + _i20.Future Function( Uri, String, String?, @@ -4188,7 +4444,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ); @override set connectionFactory( - _i19.Future<_i21.ConnectionTask<_i21.Socket>> Function( + _i20.Future<_i23.ConnectionTask<_i23.Socket>> Function( Uri, String?, int?, @@ -4210,7 +4466,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ); @override set authenticateProxy( - _i19.Future Function( + _i20.Future Function( String, int, String, @@ -4226,7 +4482,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { @override set badCertificateCallback( bool Function( - _i21.X509Certificate, + _i23.X509Certificate, String, int, )? callback) => @@ -4246,7 +4502,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { returnValueForMissingStub: null, ); @override - _i19.Future<_i21.HttpClientRequest> open( + _i20.Future<_i23.HttpClientRequest> open( String? method, String? host, int? port, @@ -4262,7 +4518,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #open, @@ -4274,9 +4530,9 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> openUrl( + _i20.Future<_i23.HttpClientRequest> openUrl( String? method, Uri? url, ) => @@ -4288,7 +4544,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { url, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #openUrl, @@ -4298,9 +4554,9 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> get( + _i20.Future<_i23.HttpClientRequest> get( String? host, int? port, String? path, @@ -4314,7 +4570,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #get, @@ -4325,23 +4581,23 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> getUrl(Uri? url) => (super.noSuchMethod( + _i20.Future<_i23.HttpClientRequest> getUrl(Uri? url) => (super.noSuchMethod( Invocation.method( #getUrl, [url], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #getUrl, [url], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> post( + _i20.Future<_i23.HttpClientRequest> post( String? host, int? port, String? path, @@ -4355,7 +4611,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #post, @@ -4366,23 +4622,23 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> postUrl(Uri? url) => (super.noSuchMethod( + _i20.Future<_i23.HttpClientRequest> postUrl(Uri? url) => (super.noSuchMethod( Invocation.method( #postUrl, [url], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #postUrl, [url], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> put( + _i20.Future<_i23.HttpClientRequest> put( String? host, int? port, String? path, @@ -4396,7 +4652,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #put, @@ -4407,23 +4663,23 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> putUrl(Uri? url) => (super.noSuchMethod( + _i20.Future<_i23.HttpClientRequest> putUrl(Uri? url) => (super.noSuchMethod( Invocation.method( #putUrl, [url], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #putUrl, [url], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> delete( + _i20.Future<_i23.HttpClientRequest> delete( String? host, int? port, String? path, @@ -4437,7 +4693,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #delete, @@ -4448,23 +4704,23 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> deleteUrl(Uri? url) => (super.noSuchMethod( + _i20.Future<_i23.HttpClientRequest> deleteUrl(Uri? url) => (super.noSuchMethod( Invocation.method( #deleteUrl, [url], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #deleteUrl, [url], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> patch( + _i20.Future<_i23.HttpClientRequest> patch( String? host, int? port, String? path, @@ -4478,7 +4734,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #patch, @@ -4489,23 +4745,23 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> patchUrl(Uri? url) => (super.noSuchMethod( + _i20.Future<_i23.HttpClientRequest> patchUrl(Uri? url) => (super.noSuchMethod( Invocation.method( #patchUrl, [url], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #patchUrl, [url], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> head( + _i20.Future<_i23.HttpClientRequest> head( String? host, int? port, String? path, @@ -4519,7 +4775,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { path, ], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #head, @@ -4530,26 +4786,26 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { ], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override - _i19.Future<_i21.HttpClientRequest> headUrl(Uri? url) => (super.noSuchMethod( + _i20.Future<_i23.HttpClientRequest> headUrl(Uri? url) => (super.noSuchMethod( Invocation.method( #headUrl, [url], ), - returnValue: _i19.Future<_i21.HttpClientRequest>.value(_FakeHttpClientRequest_45( + returnValue: _i20.Future<_i23.HttpClientRequest>.value(_FakeHttpClientRequest_48( this, Invocation.method( #headUrl, [url], ), )), - ) as _i19.Future<_i21.HttpClientRequest>); + ) as _i20.Future<_i23.HttpClientRequest>); @override void addCredentials( Uri? url, String? realm, - _i21.HttpClientCredentials? credentials, + _i23.HttpClientCredentials? credentials, ) => super.noSuchMethod( Invocation.method( @@ -4567,7 +4823,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { String? host, int? port, String? realm, - _i21.HttpClientCredentials? credentials, + _i23.HttpClientCredentials? credentials, ) => super.noSuchMethod( Invocation.method( @@ -4595,7 +4851,7 @@ class MockHttpClient extends _i1.Mock implements _i21.HttpClient { /// A class which mocks [HttpClientRequest]. /// /// See the documentation for Mockito's code generation for more information. -class MockHttpClientRequest extends _i1.Mock implements _i21.HttpClientRequest { +class MockHttpClientRequest extends _i1.Mock implements _i23.HttpClientRequest { MockHttpClientRequest() { _i1.throwOnMissingStub(this); } @@ -4668,47 +4924,50 @@ class MockHttpClientRequest extends _i1.Mock implements _i21.HttpClientRequest { @override String get method => (super.noSuchMethod( Invocation.getter(#method), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#method), + ), ) as String); @override Uri get uri => (super.noSuchMethod( Invocation.getter(#uri), - returnValue: _FakeUri_46( + returnValue: _FakeUri_49( this, Invocation.getter(#uri), ), ) as Uri); @override - _i21.HttpHeaders get headers => (super.noSuchMethod( + _i23.HttpHeaders get headers => (super.noSuchMethod( Invocation.getter(#headers), - returnValue: _FakeHttpHeaders_47( + returnValue: _FakeHttpHeaders_50( this, Invocation.getter(#headers), ), - ) as _i21.HttpHeaders); + ) as _i23.HttpHeaders); @override - List<_i21.Cookie> get cookies => (super.noSuchMethod( + List<_i23.Cookie> get cookies => (super.noSuchMethod( Invocation.getter(#cookies), - returnValue: <_i21.Cookie>[], - ) as List<_i21.Cookie>); + returnValue: <_i23.Cookie>[], + ) as List<_i23.Cookie>); @override - _i19.Future<_i21.HttpClientResponse> get done => (super.noSuchMethod( + _i20.Future<_i23.HttpClientResponse> get done => (super.noSuchMethod( Invocation.getter(#done), - returnValue: _i19.Future<_i21.HttpClientResponse>.value(_FakeHttpClientResponse_48( + returnValue: _i20.Future<_i23.HttpClientResponse>.value(_FakeHttpClientResponse_51( this, Invocation.getter(#done), )), - ) as _i19.Future<_i21.HttpClientResponse>); + ) as _i20.Future<_i23.HttpClientResponse>); @override - _i22.Encoding get encoding => (super.noSuchMethod( + _i24.Encoding get encoding => (super.noSuchMethod( Invocation.getter(#encoding), - returnValue: _FakeEncoding_49( + returnValue: _FakeEncoding_52( this, Invocation.getter(#encoding), ), - ) as _i22.Encoding); + ) as _i24.Encoding); @override - set encoding(_i22.Encoding? _encoding) => super.noSuchMethod( + set encoding(_i24.Encoding? _encoding) => super.noSuchMethod( Invocation.setter( #encoding, _encoding, @@ -4716,19 +4975,19 @@ class MockHttpClientRequest extends _i1.Mock implements _i21.HttpClientRequest { returnValueForMissingStub: null, ); @override - _i19.Future<_i21.HttpClientResponse> close() => (super.noSuchMethod( + _i20.Future<_i23.HttpClientResponse> close() => (super.noSuchMethod( Invocation.method( #close, [], ), - returnValue: _i19.Future<_i21.HttpClientResponse>.value(_FakeHttpClientResponse_48( + returnValue: _i20.Future<_i23.HttpClientResponse>.value(_FakeHttpClientResponse_51( this, Invocation.method( #close, [], ), )), - ) as _i19.Future<_i21.HttpClientResponse>); + ) as _i20.Future<_i23.HttpClientResponse>); @override void abort([ Object? exception, @@ -4807,27 +5066,27 @@ class MockHttpClientRequest extends _i1.Mock implements _i21.HttpClientRequest { returnValueForMissingStub: null, ); @override - _i19.Future addStream(_i19.Stream>? stream) => (super.noSuchMethod( + _i20.Future addStream(_i20.Stream>? stream) => (super.noSuchMethod( Invocation.method( #addStream, [stream], ), - returnValue: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future flush() => (super.noSuchMethod( + _i20.Future flush() => (super.noSuchMethod( Invocation.method( #flush, [], ), - returnValue: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + ) as _i20.Future); } /// A class which mocks [HttpClientResponse]. /// /// See the documentation for Mockito's code generation for more information. -class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse { +class MockHttpClientResponse extends _i1.Mock implements _i23.HttpClientResponse { MockHttpClientResponse() { _i1.throwOnMissingStub(this); } @@ -4840,7 +5099,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse @override String get reasonPhrase => (super.noSuchMethod( Invocation.getter(#reasonPhrase), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#reasonPhrase), + ), ) as String); @override int get contentLength => (super.noSuchMethod( @@ -4848,10 +5110,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse returnValue: 0, ) as int); @override - _i21.HttpClientResponseCompressionState get compressionState => (super.noSuchMethod( + _i23.HttpClientResponseCompressionState get compressionState => (super.noSuchMethod( Invocation.getter(#compressionState), - returnValue: _i21.HttpClientResponseCompressionState.notCompressed, - ) as _i21.HttpClientResponseCompressionState); + returnValue: _i23.HttpClientResponseCompressionState.notCompressed, + ) as _i23.HttpClientResponseCompressionState); @override bool get persistentConnection => (super.noSuchMethod( Invocation.getter(#persistentConnection), @@ -4863,55 +5125,55 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse returnValue: false, ) as bool); @override - List<_i21.RedirectInfo> get redirects => (super.noSuchMethod( + List<_i23.RedirectInfo> get redirects => (super.noSuchMethod( Invocation.getter(#redirects), - returnValue: <_i21.RedirectInfo>[], - ) as List<_i21.RedirectInfo>); + returnValue: <_i23.RedirectInfo>[], + ) as List<_i23.RedirectInfo>); @override - _i21.HttpHeaders get headers => (super.noSuchMethod( + _i23.HttpHeaders get headers => (super.noSuchMethod( Invocation.getter(#headers), - returnValue: _FakeHttpHeaders_47( + returnValue: _FakeHttpHeaders_50( this, Invocation.getter(#headers), ), - ) as _i21.HttpHeaders); + ) as _i23.HttpHeaders); @override - List<_i21.Cookie> get cookies => (super.noSuchMethod( + List<_i23.Cookie> get cookies => (super.noSuchMethod( Invocation.getter(#cookies), - returnValue: <_i21.Cookie>[], - ) as List<_i21.Cookie>); + returnValue: <_i23.Cookie>[], + ) as List<_i23.Cookie>); @override bool get isBroadcast => (super.noSuchMethod( Invocation.getter(#isBroadcast), returnValue: false, ) as bool); @override - _i19.Future get length => (super.noSuchMethod( + _i20.Future get length => (super.noSuchMethod( Invocation.getter(#length), - returnValue: _i19.Future.value(0), - ) as _i19.Future); + returnValue: _i20.Future.value(0), + ) as _i20.Future); @override - _i19.Future get isEmpty => (super.noSuchMethod( + _i20.Future get isEmpty => (super.noSuchMethod( Invocation.getter(#isEmpty), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future> get first => (super.noSuchMethod( + _i20.Future> get first => (super.noSuchMethod( Invocation.getter(#first), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future> get last => (super.noSuchMethod( + _i20.Future> get last => (super.noSuchMethod( Invocation.getter(#last), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future> get single => (super.noSuchMethod( + _i20.Future> get single => (super.noSuchMethod( Invocation.getter(#single), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future<_i21.HttpClientResponse> redirect([ + _i20.Future<_i23.HttpClientResponse> redirect([ String? method, Uri? url, bool? followLoops, @@ -4925,7 +5187,7 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse followLoops, ], ), - returnValue: _i19.Future<_i21.HttpClientResponse>.value(_FakeHttpClientResponse_48( + returnValue: _i20.Future<_i23.HttpClientResponse>.value(_FakeHttpClientResponse_51( this, Invocation.method( #redirect, @@ -4936,25 +5198,25 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse ], ), )), - ) as _i19.Future<_i21.HttpClientResponse>); + ) as _i20.Future<_i23.HttpClientResponse>); @override - _i19.Future<_i21.Socket> detachSocket() => (super.noSuchMethod( + _i20.Future<_i23.Socket> detachSocket() => (super.noSuchMethod( Invocation.method( #detachSocket, [], ), - returnValue: _i19.Future<_i21.Socket>.value(_FakeSocket_50( + returnValue: _i20.Future<_i23.Socket>.value(_FakeSocket_53( this, Invocation.method( #detachSocket, [], ), )), - ) as _i19.Future<_i21.Socket>); + ) as _i20.Future<_i23.Socket>); @override - _i19.Stream> asBroadcastStream({ - void Function(_i19.StreamSubscription>)? onListen, - void Function(_i19.StreamSubscription>)? onCancel, + _i20.Stream> asBroadcastStream({ + void Function(_i20.StreamSubscription>)? onListen, + void Function(_i20.StreamSubscription>)? onCancel, }) => (super.noSuchMethod( Invocation.method( @@ -4965,10 +5227,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse #onCancel: onCancel, }, ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.StreamSubscription> listen( + _i20.StreamSubscription> listen( void Function(List)? onData, { Function? onError, void Function()? onDone, @@ -4984,7 +5246,7 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse #cancelOnError: cancelOnError, }, ), - returnValue: _FakeStreamSubscription_51>( + returnValue: _FakeStreamSubscription_54>( this, Invocation.method( #listen, @@ -4996,41 +5258,41 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse }, ), ), - ) as _i19.StreamSubscription>); + ) as _i20.StreamSubscription>); @override - _i19.Stream> where(bool Function(List)? test) => (super.noSuchMethod( + _i20.Stream> where(bool Function(List)? test) => (super.noSuchMethod( Invocation.method( #where, [test], ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Stream map(S Function(List)? convert) => (super.noSuchMethod( + _i20.Stream map(S Function(List)? convert) => (super.noSuchMethod( Invocation.method( #map, [convert], ), - returnValue: _i19.Stream.empty(), - ) as _i19.Stream); + returnValue: _i20.Stream.empty(), + ) as _i20.Stream); @override - _i19.Stream asyncMap(_i19.FutureOr Function(List)? convert) => (super.noSuchMethod( + _i20.Stream asyncMap(_i20.FutureOr Function(List)? convert) => (super.noSuchMethod( Invocation.method( #asyncMap, [convert], ), - returnValue: _i19.Stream.empty(), - ) as _i19.Stream); + returnValue: _i20.Stream.empty(), + ) as _i20.Stream); @override - _i19.Stream asyncExpand(_i19.Stream? Function(List)? convert) => (super.noSuchMethod( + _i20.Stream asyncExpand(_i20.Stream? Function(List)? convert) => (super.noSuchMethod( Invocation.method( #asyncExpand, [convert], ), - returnValue: _i19.Stream.empty(), - ) as _i19.Stream); + returnValue: _i20.Stream.empty(), + ) as _i20.Stream); @override - _i19.Stream> handleError( + _i20.Stream> handleError( Function? onError, { bool Function(dynamic)? test, }) => @@ -5040,34 +5302,34 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse [onError], {#test: test}, ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Stream expand(Iterable Function(List)? convert) => (super.noSuchMethod( + _i20.Stream expand(Iterable Function(List)? convert) => (super.noSuchMethod( Invocation.method( #expand, [convert], ), - returnValue: _i19.Stream.empty(), - ) as _i19.Stream); + returnValue: _i20.Stream.empty(), + ) as _i20.Stream); @override - _i19.Future pipe(_i19.StreamConsumer>? streamConsumer) => (super.noSuchMethod( + _i20.Future pipe(_i20.StreamConsumer>? streamConsumer) => (super.noSuchMethod( Invocation.method( #pipe, [streamConsumer], ), - returnValue: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Stream transform(_i19.StreamTransformer, S>? streamTransformer) => (super.noSuchMethod( + _i20.Stream transform(_i20.StreamTransformer, S>? streamTransformer) => (super.noSuchMethod( Invocation.method( #transform, [streamTransformer], ), - returnValue: _i19.Stream.empty(), - ) as _i19.Stream); + returnValue: _i20.Stream.empty(), + ) as _i20.Stream); @override - _i19.Future> reduce( + _i20.Future> reduce( List Function( List, List, @@ -5077,10 +5339,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse #reduce, [combine], ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future fold( + _i20.Future fold( S? initialValue, S Function( S, @@ -5095,8 +5357,8 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse combine, ], ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #fold, @@ -5106,9 +5368,9 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse ], ), ), - (S v) => _i19.Future.value(v), + (S v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #fold, @@ -5118,130 +5380,136 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse ], ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future join([String? separator = r'']) => (super.noSuchMethod( + _i20.Future join([String? separator = r'']) => (super.noSuchMethod( Invocation.method( #join, [separator], ), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.method( + #join, + [separator], + ), + )), + ) as _i20.Future); @override - _i19.Future contains(Object? needle) => (super.noSuchMethod( + _i20.Future contains(Object? needle) => (super.noSuchMethod( Invocation.method( #contains, [needle], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future forEach(void Function(List)? action) => (super.noSuchMethod( + _i20.Future forEach(void Function(List)? action) => (super.noSuchMethod( Invocation.method( #forEach, [action], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future every(bool Function(List)? test) => (super.noSuchMethod( + _i20.Future every(bool Function(List)? test) => (super.noSuchMethod( Invocation.method( #every, [test], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future any(bool Function(List)? test) => (super.noSuchMethod( + _i20.Future any(bool Function(List)? test) => (super.noSuchMethod( Invocation.method( #any, [test], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream cast() => (super.noSuchMethod( + _i20.Stream cast() => (super.noSuchMethod( Invocation.method( #cast, [], ), - returnValue: _i19.Stream.empty(), - ) as _i19.Stream); + returnValue: _i20.Stream.empty(), + ) as _i20.Stream); @override - _i19.Future>> toList() => (super.noSuchMethod( + _i20.Future>> toList() => (super.noSuchMethod( Invocation.method( #toList, [], ), - returnValue: _i19.Future>>.value(>[]), - ) as _i19.Future>>); + returnValue: _i20.Future>>.value(>[]), + ) as _i20.Future>>); @override - _i19.Future>> toSet() => (super.noSuchMethod( + _i20.Future>> toSet() => (super.noSuchMethod( Invocation.method( #toSet, [], ), - returnValue: _i19.Future>>.value(>{}), - ) as _i19.Future>>); + returnValue: _i20.Future>>.value(>{}), + ) as _i20.Future>>); @override - _i19.Future drain([E? futureValue]) => (super.noSuchMethod( + _i20.Future drain([E? futureValue]) => (super.noSuchMethod( Invocation.method( #drain, [futureValue], ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #drain, [futureValue], ), ), - (E v) => _i19.Future.value(v), + (E v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #drain, [futureValue], ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Stream> take(int? count) => (super.noSuchMethod( + _i20.Stream> take(int? count) => (super.noSuchMethod( Invocation.method( #take, [count], ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Stream> takeWhile(bool Function(List)? test) => (super.noSuchMethod( + _i20.Stream> takeWhile(bool Function(List)? test) => (super.noSuchMethod( Invocation.method( #takeWhile, [test], ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Stream> skip(int? count) => (super.noSuchMethod( + _i20.Stream> skip(int? count) => (super.noSuchMethod( Invocation.method( #skip, [count], ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Stream> skipWhile(bool Function(List)? test) => (super.noSuchMethod( + _i20.Stream> skipWhile(bool Function(List)? test) => (super.noSuchMethod( Invocation.method( #skipWhile, [test], ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Stream> distinct( + _i20.Stream> distinct( [bool Function( List, List, @@ -5251,10 +5519,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse #distinct, [equals], ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); @override - _i19.Future> firstWhere( + _i20.Future> firstWhere( bool Function(List)? test, { List Function()? orElse, }) => @@ -5264,10 +5532,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse [test], {#orElse: orElse}, ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future> lastWhere( + _i20.Future> lastWhere( bool Function(List)? test, { List Function()? orElse, }) => @@ -5277,10 +5545,10 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse [test], {#orElse: orElse}, ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future> singleWhere( + _i20.Future> singleWhere( bool Function(List)? test, { List Function()? orElse, }) => @@ -5290,20 +5558,20 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse [test], {#orElse: orElse}, ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Future> elementAt(int? index) => (super.noSuchMethod( + _i20.Future> elementAt(int? index) => (super.noSuchMethod( Invocation.method( #elementAt, [index], ), - returnValue: _i19.Future>.value([]), - ) as _i19.Future>); + returnValue: _i20.Future>.value([]), + ) as _i20.Future>); @override - _i19.Stream> timeout( + _i20.Stream> timeout( Duration? timeLimit, { - void Function(_i19.EventSink>)? onTimeout, + void Function(_i20.EventSink>)? onTimeout, }) => (super.noSuchMethod( Invocation.method( @@ -5311,8 +5579,8 @@ class MockHttpClientResponse extends _i1.Mock implements _i21.HttpClientResponse [timeLimit], {#onTimeout: onTimeout}, ), - returnValue: _i19.Stream>.empty(), - ) as _i19.Stream>); + returnValue: _i20.Stream>.empty(), + ) as _i20.Stream>); } /// A class which mocks [JobsResource]. @@ -5324,7 +5592,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { } @override - _i19.Future<_i6.JobCancelResponse> cancel( + _i20.Future<_i6.JobCancelResponse> cancel( String? projectId, String? jobId, { String? location, @@ -5342,7 +5610,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { #$fields: $fields, }, ), - returnValue: _i19.Future<_i6.JobCancelResponse>.value(_FakeJobCancelResponse_52( + returnValue: _i20.Future<_i6.JobCancelResponse>.value(_FakeJobCancelResponse_55( this, Invocation.method( #cancel, @@ -5356,9 +5624,9 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { }, ), )), - ) as _i19.Future<_i6.JobCancelResponse>); + ) as _i20.Future<_i6.JobCancelResponse>); @override - _i19.Future delete( + _i20.Future delete( String? projectId, String? jobId, { String? location, @@ -5376,11 +5644,11 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { #$fields: $fields, }, ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future<_i6.Job> get( + _i20.Future<_i6.Job> get( String? projectId, String? jobId, { String? location, @@ -5398,7 +5666,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { #$fields: $fields, }, ), - returnValue: _i19.Future<_i6.Job>.value(_FakeJob_53( + returnValue: _i20.Future<_i6.Job>.value(_FakeJob_56( this, Invocation.method( #get, @@ -5412,9 +5680,9 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { }, ), )), - ) as _i19.Future<_i6.Job>); + ) as _i20.Future<_i6.Job>); @override - _i19.Future<_i6.GetQueryResultsResponse> getQueryResults( + _i20.Future<_i6.GetQueryResultsResponse> getQueryResults( String? projectId, String? jobId, { String? location, @@ -5440,7 +5708,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { #$fields: $fields, }, ), - returnValue: _i19.Future<_i6.GetQueryResultsResponse>.value(_FakeGetQueryResultsResponse_54( + returnValue: _i20.Future<_i6.GetQueryResultsResponse>.value(_FakeGetQueryResultsResponse_57( this, Invocation.method( #getQueryResults, @@ -5458,9 +5726,9 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { }, ), )), - ) as _i19.Future<_i6.GetQueryResultsResponse>); + ) as _i20.Future<_i6.GetQueryResultsResponse>); @override - _i19.Future<_i6.Job> insert( + _i20.Future<_i6.Job> insert( _i6.Job? request, String? projectId, { String? $fields, @@ -5480,7 +5748,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { #uploadMedia: uploadMedia, }, ), - returnValue: _i19.Future<_i6.Job>.value(_FakeJob_53( + returnValue: _i20.Future<_i6.Job>.value(_FakeJob_56( this, Invocation.method( #insert, @@ -5495,9 +5763,9 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { }, ), )), - ) as _i19.Future<_i6.Job>); + ) as _i20.Future<_i6.Job>); @override - _i19.Future<_i6.JobList> list( + _i20.Future<_i6.JobList> list( String? projectId, { bool? allUsers, String? maxCreationTime, @@ -5525,7 +5793,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { #$fields: $fields, }, ), - returnValue: _i19.Future<_i6.JobList>.value(_FakeJobList_55( + returnValue: _i20.Future<_i6.JobList>.value(_FakeJobList_58( this, Invocation.method( #list, @@ -5543,9 +5811,9 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { }, ), )), - ) as _i19.Future<_i6.JobList>); + ) as _i20.Future<_i6.JobList>); @override - _i19.Future<_i6.QueryResponse> query( + _i20.Future<_i6.QueryResponse> query( _i6.QueryRequest? request, String? projectId, { String? $fields, @@ -5559,7 +5827,7 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { ], {#$fields: $fields}, ), - returnValue: _i19.Future<_i6.QueryResponse>.value(_FakeQueryResponse_56( + returnValue: _i20.Future<_i6.QueryResponse>.value(_FakeQueryResponse_59( this, Invocation.method( #query, @@ -5570,27 +5838,27 @@ class MockJobsResource extends _i1.Mock implements _i6.JobsResource { {#$fields: $fields}, ), )), - ) as _i19.Future<_i6.QueryResponse>); + ) as _i20.Future<_i6.QueryResponse>); } /// A class which mocks [LuciBuildService]. /// /// See the documentation for Mockito's code generation for more information. -class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { +class MockLuciBuildService extends _i1.Mock implements _i15.LuciBuildService { MockLuciBuildService() { _i1.throwOnMissingStub(this); } @override - _i23.BuildBucketClient get buildBucketClient => (super.noSuchMethod( + _i15.BuildBucketClient get buildBucketClient => (super.noSuchMethod( Invocation.getter(#buildBucketClient), - returnValue: _FakeBuildBucketClient_57( + returnValue: _FakeBuildBucketClient_60( this, Invocation.getter(#buildBucketClient), ), - ) as _i23.BuildBucketClient); + ) as _i15.BuildBucketClient); @override - set buildBucketClient(_i23.BuildBucketClient? _buildBucketClient) => super.noSuchMethod( + set buildBucketClient(_i15.BuildBucketClient? _buildBucketClient) => super.noSuchMethod( Invocation.setter( #buildBucketClient, _buildBucketClient, @@ -5598,13 +5866,13 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { returnValueForMissingStub: null, ); @override - _i23.CacheService get cache => (super.noSuchMethod( + _i15.CacheService get cache => (super.noSuchMethod( Invocation.getter(#cache), - returnValue: _FakeCacheService_58( + returnValue: _FakeCacheService_61( this, Invocation.getter(#cache), ), - ) as _i23.CacheService); + ) as _i15.CacheService); @override _i3.Config get config => (super.noSuchMethod( Invocation.getter(#config), @@ -5622,15 +5890,15 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { returnValueForMissingStub: null, ); @override - _i20.GithubChecksUtil get githubChecksUtil => (super.noSuchMethod( + _i22.GithubChecksUtil get githubChecksUtil => (super.noSuchMethod( Invocation.getter(#githubChecksUtil), - returnValue: _FakeGithubChecksUtil_27( + returnValue: _FakeGithubChecksUtil_30( this, Invocation.getter(#githubChecksUtil), ), - ) as _i20.GithubChecksUtil); + ) as _i22.GithubChecksUtil); @override - set githubChecksUtil(_i20.GithubChecksUtil? _githubChecksUtil) => super.noSuchMethod( + set githubChecksUtil(_i22.GithubChecksUtil? _githubChecksUtil) => super.noSuchMethod( Invocation.setter( #githubChecksUtil, _githubChecksUtil, @@ -5654,15 +5922,15 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { returnValueForMissingStub: null, ); @override - _i23.PubSub get pubsub => (super.noSuchMethod( + _i15.PubSub get pubsub => (super.noSuchMethod( Invocation.getter(#pubsub), - returnValue: _FakePubSub_59( + returnValue: _FakePubSub_62( this, Invocation.getter(#pubsub), ), - ) as _i23.PubSub); + ) as _i15.PubSub); @override - _i19.Future>> shard( + _i20.Future>> shard( List<_i8.Request>? requests, int? max, ) => @@ -5674,10 +5942,10 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { max, ], ), - returnValue: _i19.Future>>.value(>[]), - ) as _i19.Future>>); + returnValue: _i20.Future>>.value(>[]), + ) as _i20.Future>>); @override - _i19.Future> getTryBuilds( + _i20.Future> getTryBuilds( _i13.RepositorySlug? slug, String? sha, String? builderName, @@ -5691,18 +5959,18 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { builderName, ], ), - returnValue: _i19.Future>.value(<_i8.Build>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i8.Build>[]), + ) as _i20.Future>); @override - _i19.Future> getTryBuildsByPullRequest(_i13.PullRequest? pullRequest) => (super.noSuchMethod( + _i20.Future> getTryBuildsByPullRequest(_i13.PullRequest? pullRequest) => (super.noSuchMethod( Invocation.method( #getTryBuildsByPullRequest, [pullRequest], ), - returnValue: _i19.Future>.value(<_i8.Build>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i8.Build>[]), + ) as _i20.Future>); @override - _i19.Future> getProdBuilds( + _i20.Future> getProdBuilds( _i13.RepositorySlug? slug, String? commitSha, String? builderName, @@ -5716,10 +5984,10 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { builderName, ], ), - returnValue: _i19.Future>.value(<_i8.Build>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i8.Build>[]), + ) as _i20.Future>); @override - _i19.Future> getBuilds( + _i20.Future> getBuilds( _i13.RepositorySlug? slug, String? commitSha, String? builderName, @@ -5737,13 +6005,13 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { tags, ], ), - returnValue: _i19.Future>.value(<_i8.Build>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i8.Build>[]), + ) as _i20.Future>); @override - _i19.Future> scheduleTryBuilds({ - required List<_i37.Target>? targets, + _i20.Future> scheduleTryBuilds({ + required List<_i38.Target>? targets, required _i13.PullRequest? pullRequest, - _i29.CheckSuiteEvent? checkSuiteEvent, + _i30.CheckSuiteEvent? checkSuiteEvent, }) => (super.noSuchMethod( Invocation.method( @@ -5755,10 +6023,10 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { #checkSuiteEvent: checkSuiteEvent, }, ), - returnValue: _i19.Future>.value(<_i37.Target>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i38.Target>[]), + ) as _i20.Future>); @override - _i19.Future cancelBuilds( + _i20.Future cancelBuilds( _i13.PullRequest? pullRequest, String? reason, ) => @@ -5770,13 +6038,13 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { reason, ], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future> failedBuilds( + _i20.Future> failedBuilds( _i13.PullRequest? pullRequest, - List<_i37.Target>? targets, + List<_i38.Target>? targets, ) => (super.noSuchMethod( Invocation.method( @@ -5786,12 +6054,12 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { targets, ], ), - returnValue: _i19.Future>.value(<_i8.Build?>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i8.Build?>[]), + ) as _i20.Future>); @override - _i19.Future<_i8.Build> rescheduleBuild({ + _i20.Future<_i8.Build> rescheduleBuild({ required String? builderName, - required _i36.BuildPushMessage? buildPushMessage, + required _i37.BuildPushMessage? buildPushMessage, required int? rescheduleAttempt, }) => (super.noSuchMethod( @@ -5804,7 +6072,7 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { #rescheduleAttempt: rescheduleAttempt, }, ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #rescheduleBuild, @@ -5816,28 +6084,40 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { }, ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future<_i8.Build> reschedulePresubmitBuildUsingCheckRunEvent(_i38.CheckRunEvent? checkRunEvent) => + _i20.Future<_i8.Build> reschedulePresubmitBuildUsingCheckRunEvent(_i39.CheckRunEvent? checkRunEvent) => (super.noSuchMethod( Invocation.method( #reschedulePresubmitBuildUsingCheckRunEvent, [checkRunEvent], ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #reschedulePresubmitBuildUsingCheckRunEvent, [checkRunEvent], ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future<_i8.Build> reschedulePostsubmitBuildUsingCheckRunEvent( - _i38.CheckRunEvent? checkRunEvent, { - required _i31.Commit? commit, - required _i32.Task? task, - required _i37.Target? target, + List? extractPrefixedLabels( + List<_i13.IssueLabel>? issueLabels, + String? prefix, + ) => + (super.noSuchMethod(Invocation.method( + #extractPrefixedLabels, + [ + issueLabels, + prefix, + ], + )) as List?); + @override + _i20.Future<_i8.Build> reschedulePostsubmitBuildUsingCheckRunEvent( + _i39.CheckRunEvent? checkRunEvent, { + required _i32.Commit? commit, + required _i33.Task? task, + required _i38.Target? target, }) => (super.noSuchMethod( Invocation.method( @@ -5849,7 +6129,7 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { #target: target, }, ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #reschedulePostsubmitBuildUsingCheckRunEvent, @@ -5861,9 +6141,9 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { }, ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future<_i8.Build> getBuildById( + _i20.Future<_i8.Build> getBuildById( String? id, { String? fields, }) => @@ -5873,7 +6153,7 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { [id], {#fields: fields}, ), - returnValue: _i19.Future<_i8.Build>.value(_FakeBuild_7( + returnValue: _i20.Future<_i8.Build>.value(_FakeBuild_7( this, Invocation.method( #getBuildById, @@ -5881,9 +6161,9 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { {#fields: fields}, ), )), - ) as _i19.Future<_i8.Build>); + ) as _i20.Future<_i8.Build>); @override - _i19.Future> getAvailableBuilderSet({ + _i20.Future> getAvailableBuilderSet({ String? project = r'flutter', String? bucket = r'prod', }) => @@ -5896,12 +6176,12 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { #bucket: bucket, }, ), - returnValue: _i19.Future>.value({}), - ) as _i19.Future>); + returnValue: _i20.Future>.value({}), + ) as _i20.Future>); @override - _i19.Future>> schedulePostsubmitBuilds({ - required _i31.Commit? commit, - required List<_i23.Tuple<_i37.Target, _i32.Task, int>>? toBeScheduled, + _i20.Future>> schedulePostsubmitBuilds({ + required _i32.Commit? commit, + required List<_i15.Tuple<_i38.Target, _i33.Task, int>>? toBeScheduled, }) => (super.noSuchMethod( Invocation.method( @@ -5912,13 +6192,13 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { #toBeScheduled: toBeScheduled, }, ), - returnValue: _i19.Future>>.value( - <_i23.Tuple<_i37.Target, _i32.Task, int>>[]), - ) as _i19.Future>>); + returnValue: _i20.Future>>.value( + <_i15.Tuple<_i38.Target, _i33.Task, int>>[]), + ) as _i20.Future>>); @override - _i19.Future createPostsubmitCheckRun( - _i31.Commit? commit, - _i37.Target? target, + _i20.Future createPostsubmitCheckRun( + _i32.Commit? commit, + _i38.Target? target, Map? rawUserData, ) => (super.noSuchMethod( @@ -5930,14 +6210,14 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { rawUserData, ], ), - returnValue: _i19.Future.value(), - returnValueForMissingStub: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + returnValueForMissingStub: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Future checkRerunBuilder({ - required _i31.Commit? commit, - required _i37.Target? target, - required _i32.Task? task, + _i20.Future checkRerunBuilder({ + required _i32.Commit? commit, + required _i38.Target? target, + required _i33.Task? task, required _i9.DatastoreService? datastore, Map>? tags, bool? ignoreChecks = false, @@ -5955,26 +6235,26 @@ class MockLuciBuildService extends _i1.Mock implements _i23.LuciBuildService { #ignoreChecks: ignoreChecks, }, ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); } /// A class which mocks [ProcessManager]. /// /// See the documentation for Mockito's code generation for more information. -class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { +class MockProcessManager extends _i1.Mock implements _i40.ProcessManager { MockProcessManager() { _i1.throwOnMissingStub(this); } @override - _i19.Future<_i21.Process> start( + _i20.Future<_i23.Process> start( List? command, { String? workingDirectory, Map? environment, bool? includeParentEnvironment = true, bool? runInShell = false, - _i21.ProcessStartMode? mode = _i21.ProcessStartMode.normal, + _i23.ProcessStartMode? mode = _i23.ProcessStartMode.normal, }) => (super.noSuchMethod( Invocation.method( @@ -5988,7 +6268,7 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { #mode: mode, }, ), - returnValue: _i19.Future<_i21.Process>.value(_FakeProcess_60( + returnValue: _i20.Future<_i23.Process>.value(_FakeProcess_63( this, Invocation.method( #start, @@ -6002,16 +6282,16 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { }, ), )), - ) as _i19.Future<_i21.Process>); + ) as _i20.Future<_i23.Process>); @override - _i19.Future<_i21.ProcessResult> run( + _i20.Future<_i23.ProcessResult> run( List? command, { String? workingDirectory, Map? environment, bool? includeParentEnvironment = true, bool? runInShell = false, - _i22.Encoding? stdoutEncoding = const _i21.SystemEncoding(), - _i22.Encoding? stderrEncoding = const _i21.SystemEncoding(), + _i24.Encoding? stdoutEncoding = const _i23.SystemEncoding(), + _i24.Encoding? stderrEncoding = const _i23.SystemEncoding(), }) => (super.noSuchMethod( Invocation.method( @@ -6026,7 +6306,7 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { #stderrEncoding: stderrEncoding, }, ), - returnValue: _i19.Future<_i21.ProcessResult>.value(_i27.dummyValue<_i21.ProcessResult>( + returnValue: _i20.Future<_i23.ProcessResult>.value(_i28.dummyValue<_i23.ProcessResult>( this, Invocation.method( #run, @@ -6041,16 +6321,16 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { }, ), )), - ) as _i19.Future<_i21.ProcessResult>); + ) as _i20.Future<_i23.ProcessResult>); @override - _i21.ProcessResult runSync( + _i23.ProcessResult runSync( List? command, { String? workingDirectory, Map? environment, bool? includeParentEnvironment = true, bool? runInShell = false, - _i22.Encoding? stdoutEncoding = const _i21.SystemEncoding(), - _i22.Encoding? stderrEncoding = const _i21.SystemEncoding(), + _i24.Encoding? stdoutEncoding = const _i23.SystemEncoding(), + _i24.Encoding? stderrEncoding = const _i23.SystemEncoding(), }) => (super.noSuchMethod( Invocation.method( @@ -6065,7 +6345,7 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { #stderrEncoding: stderrEncoding, }, ), - returnValue: _i27.dummyValue<_i21.ProcessResult>( + returnValue: _i28.dummyValue<_i23.ProcessResult>( this, Invocation.method( #runSync, @@ -6080,7 +6360,7 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { }, ), ), - ) as _i21.ProcessResult); + ) as _i23.ProcessResult); @override bool canRun( dynamic executable, { @@ -6097,7 +6377,7 @@ class MockProcessManager extends _i1.Mock implements _i39.ProcessManager { @override bool killPid( int? pid, [ - _i21.ProcessSignal? signal = _i21.ProcessSignal.sigterm, + _i23.ProcessSignal? signal = _i23.ProcessSignal.sigterm, ]) => (super.noSuchMethod( Invocation.method( @@ -6128,7 +6408,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi ), ) as _i13.GitHub); @override - _i19.Stream<_i13.PullRequest> list( + _i20.Stream<_i13.PullRequest> list( _i13.RepositorySlug? slug, { int? pages, String? base, @@ -6150,10 +6430,10 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi #state: state, }, ), - returnValue: _i19.Stream<_i13.PullRequest>.empty(), - ) as _i19.Stream<_i13.PullRequest>); + returnValue: _i20.Stream<_i13.PullRequest>.empty(), + ) as _i20.Stream<_i13.PullRequest>); @override - _i19.Future<_i13.PullRequest> get( + _i20.Future<_i13.PullRequest> get( _i13.RepositorySlug? slug, int? number, ) => @@ -6165,7 +6445,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi number, ], ), - returnValue: _i19.Future<_i13.PullRequest>.value(_FakePullRequest_32( + returnValue: _i20.Future<_i13.PullRequest>.value(_FakePullRequest_35( this, Invocation.method( #get, @@ -6175,9 +6455,9 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi ], ), )), - ) as _i19.Future<_i13.PullRequest>); + ) as _i20.Future<_i13.PullRequest>); @override - _i19.Future<_i13.PullRequest> create( + _i20.Future<_i13.PullRequest> create( _i13.RepositorySlug? slug, _i13.CreatePullRequest? request, ) => @@ -6189,7 +6469,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi request, ], ), - returnValue: _i19.Future<_i13.PullRequest>.value(_FakePullRequest_32( + returnValue: _i20.Future<_i13.PullRequest>.value(_FakePullRequest_35( this, Invocation.method( #create, @@ -6199,9 +6479,9 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi ], ), )), - ) as _i19.Future<_i13.PullRequest>); + ) as _i20.Future<_i13.PullRequest>); @override - _i19.Future<_i13.PullRequest> edit( + _i20.Future<_i13.PullRequest> edit( _i13.RepositorySlug? slug, int? number, { String? title, @@ -6223,7 +6503,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi #base: base, }, ), - returnValue: _i19.Future<_i13.PullRequest>.value(_FakePullRequest_32( + returnValue: _i20.Future<_i13.PullRequest>.value(_FakePullRequest_35( this, Invocation.method( #edit, @@ -6239,9 +6519,9 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi }, ), )), - ) as _i19.Future<_i13.PullRequest>); + ) as _i20.Future<_i13.PullRequest>); @override - _i19.Stream<_i13.RepositoryCommit> listCommits( + _i20.Stream<_i13.RepositoryCommit> listCommits( _i13.RepositorySlug? slug, int? number, ) => @@ -6253,10 +6533,10 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi number, ], ), - returnValue: _i19.Stream<_i13.RepositoryCommit>.empty(), - ) as _i19.Stream<_i13.RepositoryCommit>); + returnValue: _i20.Stream<_i13.RepositoryCommit>.empty(), + ) as _i20.Stream<_i13.RepositoryCommit>); @override - _i19.Stream<_i13.PullRequestFile> listFiles( + _i20.Stream<_i13.PullRequestFile> listFiles( _i13.RepositorySlug? slug, int? number, ) => @@ -6268,10 +6548,10 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi number, ], ), - returnValue: _i19.Stream<_i13.PullRequestFile>.empty(), - ) as _i19.Stream<_i13.PullRequestFile>); + returnValue: _i20.Stream<_i13.PullRequestFile>.empty(), + ) as _i20.Stream<_i13.PullRequestFile>); @override - _i19.Stream<_i13.PullRequestReview> listReviews( + _i20.Stream<_i13.PullRequestReview> listReviews( _i13.RepositorySlug? slug, int? number, ) => @@ -6283,10 +6563,10 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi number, ], ), - returnValue: _i19.Stream<_i13.PullRequestReview>.empty(), - ) as _i19.Stream<_i13.PullRequestReview>); + returnValue: _i20.Stream<_i13.PullRequestReview>.empty(), + ) as _i20.Stream<_i13.PullRequestReview>); @override - _i19.Future isMerged( + _i20.Future isMerged( _i13.RepositorySlug? slug, int? number, ) => @@ -6298,10 +6578,10 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi number, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future<_i13.PullRequestMerge> merge( + _i20.Future<_i13.PullRequestMerge> merge( _i13.RepositorySlug? slug, int? number, { String? message, @@ -6321,7 +6601,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi #requestSha: requestSha, }, ), - returnValue: _i19.Future<_i13.PullRequestMerge>.value(_FakePullRequestMerge_61( + returnValue: _i20.Future<_i13.PullRequestMerge>.value(_FakePullRequestMerge_64( this, Invocation.method( #merge, @@ -6336,9 +6616,9 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi }, ), )), - ) as _i19.Future<_i13.PullRequestMerge>); + ) as _i20.Future<_i13.PullRequestMerge>); @override - _i19.Stream<_i13.PullRequestComment> listCommentsByPullRequest( + _i20.Stream<_i13.PullRequestComment> listCommentsByPullRequest( _i13.RepositorySlug? slug, int? number, ) => @@ -6350,18 +6630,18 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi number, ], ), - returnValue: _i19.Stream<_i13.PullRequestComment>.empty(), - ) as _i19.Stream<_i13.PullRequestComment>); + returnValue: _i20.Stream<_i13.PullRequestComment>.empty(), + ) as _i20.Stream<_i13.PullRequestComment>); @override - _i19.Stream<_i13.PullRequestComment> listComments(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.PullRequestComment> listComments(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listComments, [slug], ), - returnValue: _i19.Stream<_i13.PullRequestComment>.empty(), - ) as _i19.Stream<_i13.PullRequestComment>); + returnValue: _i20.Stream<_i13.PullRequestComment>.empty(), + ) as _i20.Stream<_i13.PullRequestComment>); @override - _i19.Future<_i13.PullRequestComment> createComment( + _i20.Future<_i13.PullRequestComment> createComment( _i13.RepositorySlug? slug, int? number, _i13.CreatePullRequestComment? comment, @@ -6375,7 +6655,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi comment, ], ), - returnValue: _i19.Future<_i13.PullRequestComment>.value(_FakePullRequestComment_62( + returnValue: _i20.Future<_i13.PullRequestComment>.value(_FakePullRequestComment_65( this, Invocation.method( #createComment, @@ -6386,9 +6666,9 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi ], ), )), - ) as _i19.Future<_i13.PullRequestComment>); + ) as _i20.Future<_i13.PullRequestComment>); @override - _i19.Future<_i13.PullRequestReview> createReview( + _i20.Future<_i13.PullRequestReview> createReview( _i13.RepositorySlug? slug, _i13.CreatePullRequestReview? review, ) => @@ -6400,7 +6680,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi review, ], ), - returnValue: _i19.Future<_i13.PullRequestReview>.value(_FakePullRequestReview_63( + returnValue: _i20.Future<_i13.PullRequestReview>.value(_FakePullRequestReview_66( this, Invocation.method( #createReview, @@ -6410,7 +6690,7 @@ class MockPullRequestsService extends _i1.Mock implements _i13.PullRequestsServi ], ), )), - ) as _i19.Future<_i13.PullRequestReview>); + ) as _i20.Future<_i13.PullRequestReview>); } /// A class which mocks [RepositoriesService]. @@ -6430,7 +6710,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ), ) as _i13.GitHub); @override - _i19.Stream<_i13.Repository> listRepositories({ + _i20.Stream<_i13.Repository> listRepositories({ String? type = r'owner', String? sort = r'full_name', String? direction = r'asc', @@ -6445,10 +6725,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #direction: direction, }, ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Stream<_i13.Repository> listUserRepositories( + _i20.Stream<_i13.Repository> listUserRepositories( String? user, { String? type = r'owner', String? sort = r'full_name', @@ -6464,10 +6744,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #direction: direction, }, ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Stream<_i13.Repository> listOrganizationRepositories( + _i20.Stream<_i13.Repository> listOrganizationRepositories( String? org, { String? type = r'all', }) => @@ -6477,10 +6757,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [org], {#type: type}, ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Stream<_i13.Repository> listPublicRepositories({ + _i20.Stream<_i13.Repository> listPublicRepositories({ int? limit = 50, DateTime? since, }) => @@ -6493,10 +6773,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #since: since, }, ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Future<_i13.Repository> createRepository( + _i20.Future<_i13.Repository> createRepository( _i13.CreateRepository? repository, { String? org, }) => @@ -6506,7 +6786,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [repository], {#org: org}, ), - returnValue: _i19.Future<_i13.Repository>.value(_FakeRepository_64( + returnValue: _i20.Future<_i13.Repository>.value(_FakeRepository_67( this, Invocation.method( #createRepository, @@ -6514,45 +6794,45 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#org: org}, ), )), - ) as _i19.Future<_i13.Repository>); + ) as _i20.Future<_i13.Repository>); @override - _i19.Future<_i13.LicenseDetails> getLicense(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.LicenseDetails> getLicense(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getLicense, [slug], ), - returnValue: _i19.Future<_i13.LicenseDetails>.value(_FakeLicenseDetails_65( + returnValue: _i20.Future<_i13.LicenseDetails>.value(_FakeLicenseDetails_68( this, Invocation.method( #getLicense, [slug], ), )), - ) as _i19.Future<_i13.LicenseDetails>); + ) as _i20.Future<_i13.LicenseDetails>); @override - _i19.Future<_i13.Repository> getRepository(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.Repository> getRepository(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getRepository, [slug], ), - returnValue: _i19.Future<_i13.Repository>.value(_FakeRepository_64( + returnValue: _i20.Future<_i13.Repository>.value(_FakeRepository_67( this, Invocation.method( #getRepository, [slug], ), )), - ) as _i19.Future<_i13.Repository>); + ) as _i20.Future<_i13.Repository>); @override - _i19.Stream<_i13.Repository> getRepositories(List<_i13.RepositorySlug>? slugs) => (super.noSuchMethod( + _i20.Stream<_i13.Repository> getRepositories(List<_i13.RepositorySlug>? slugs) => (super.noSuchMethod( Invocation.method( #getRepositories, [slugs], ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Future<_i13.Repository> editRepository( + _i20.Future<_i13.Repository> editRepository( _i13.RepositorySlug? slug, { String? name, String? description, @@ -6576,7 +6856,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #hasDownloads: hasDownloads, }, ), - returnValue: _i19.Future<_i13.Repository>.value(_FakeRepository_64( + returnValue: _i20.Future<_i13.Repository>.value(_FakeRepository_67( this, Invocation.method( #editRepository, @@ -6592,17 +6872,17 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi }, ), )), - ) as _i19.Future<_i13.Repository>); + ) as _i20.Future<_i13.Repository>); @override - _i19.Future deleteRepository(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future deleteRepository(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #deleteRepository, [slug], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.Contributor> listContributors( + _i20.Stream<_i13.Contributor> listContributors( _i13.RepositorySlug? slug, { bool? anon = false, }) => @@ -6612,32 +6892,32 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [slug], {#anon: anon}, ), - returnValue: _i19.Stream<_i13.Contributor>.empty(), - ) as _i19.Stream<_i13.Contributor>); + returnValue: _i20.Stream<_i13.Contributor>.empty(), + ) as _i20.Stream<_i13.Contributor>); @override - _i19.Stream<_i13.Team> listTeams(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Team> listTeams(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listTeams, [slug], ), - returnValue: _i19.Stream<_i13.Team>.empty(), - ) as _i19.Stream<_i13.Team>); + returnValue: _i20.Stream<_i13.Team>.empty(), + ) as _i20.Stream<_i13.Team>); @override - _i19.Future<_i13.LanguageBreakdown> listLanguages(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.LanguageBreakdown> listLanguages(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listLanguages, [slug], ), - returnValue: _i19.Future<_i13.LanguageBreakdown>.value(_FakeLanguageBreakdown_66( + returnValue: _i20.Future<_i13.LanguageBreakdown>.value(_FakeLanguageBreakdown_69( this, Invocation.method( #listLanguages, [slug], ), )), - ) as _i19.Future<_i13.LanguageBreakdown>); + ) as _i20.Future<_i13.LanguageBreakdown>); @override - _i19.Stream<_i13.Tag> listTags( + _i20.Stream<_i13.Tag> listTags( _i13.RepositorySlug? slug, { int? page = 1, int? pages, @@ -6653,18 +6933,18 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #perPage: perPage, }, ), - returnValue: _i19.Stream<_i13.Tag>.empty(), - ) as _i19.Stream<_i13.Tag>); + returnValue: _i20.Stream<_i13.Tag>.empty(), + ) as _i20.Stream<_i13.Tag>); @override - _i19.Stream<_i13.Branch> listBranches(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Branch> listBranches(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listBranches, [slug], ), - returnValue: _i19.Stream<_i13.Branch>.empty(), - ) as _i19.Stream<_i13.Branch>); + returnValue: _i20.Stream<_i13.Branch>.empty(), + ) as _i20.Stream<_i13.Branch>); @override - _i19.Future<_i13.Branch> getBranch( + _i20.Future<_i13.Branch> getBranch( _i13.RepositorySlug? slug, String? branch, ) => @@ -6676,7 +6956,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi branch, ], ), - returnValue: _i19.Future<_i13.Branch>.value(_FakeBranch_67( + returnValue: _i20.Future<_i13.Branch>.value(_FakeBranch_70( this, Invocation.method( #getBranch, @@ -6686,17 +6966,17 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.Branch>); + ) as _i20.Future<_i13.Branch>); @override - _i19.Stream<_i13.Collaborator> listCollaborators(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Collaborator> listCollaborators(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listCollaborators, [slug], ), - returnValue: _i19.Stream<_i13.Collaborator>.empty(), - ) as _i19.Stream<_i13.Collaborator>); + returnValue: _i20.Stream<_i13.Collaborator>.empty(), + ) as _i20.Stream<_i13.Collaborator>); @override - _i19.Future isCollaborator( + _i20.Future isCollaborator( _i13.RepositorySlug? slug, String? user, ) => @@ -6708,10 +6988,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi user, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future addCollaborator( + _i20.Future addCollaborator( _i13.RepositorySlug? slug, String? user, ) => @@ -6723,10 +7003,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi user, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future removeCollaborator( + _i20.Future removeCollaborator( _i13.RepositorySlug? slug, String? user, ) => @@ -6738,10 +7018,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi user, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.CommitComment> listSingleCommitComments( + _i20.Stream<_i13.CommitComment> listSingleCommitComments( _i13.RepositorySlug? slug, _i13.RepositoryCommit? commit, ) => @@ -6753,18 +7033,18 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi commit, ], ), - returnValue: _i19.Stream<_i13.CommitComment>.empty(), - ) as _i19.Stream<_i13.CommitComment>); + returnValue: _i20.Stream<_i13.CommitComment>.empty(), + ) as _i20.Stream<_i13.CommitComment>); @override - _i19.Stream<_i13.CommitComment> listCommitComments(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.CommitComment> listCommitComments(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listCommitComments, [slug], ), - returnValue: _i19.Stream<_i13.CommitComment>.empty(), - ) as _i19.Stream<_i13.CommitComment>); + returnValue: _i20.Stream<_i13.CommitComment>.empty(), + ) as _i20.Stream<_i13.CommitComment>); @override - _i19.Future<_i13.CommitComment> createCommitComment( + _i20.Future<_i13.CommitComment> createCommitComment( _i13.RepositorySlug? slug, _i13.RepositoryCommit? commit, { required String? body, @@ -6786,7 +7066,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #line: line, }, ), - returnValue: _i19.Future<_i13.CommitComment>.value(_FakeCommitComment_68( + returnValue: _i20.Future<_i13.CommitComment>.value(_FakeCommitComment_71( this, Invocation.method( #createCommitComment, @@ -6802,9 +7082,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi }, ), )), - ) as _i19.Future<_i13.CommitComment>); + ) as _i20.Future<_i13.CommitComment>); @override - _i19.Future<_i13.CommitComment> getCommitComment( + _i20.Future<_i13.CommitComment> getCommitComment( _i13.RepositorySlug? slug, { required int? id, }) => @@ -6814,7 +7094,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [slug], {#id: id}, ), - returnValue: _i19.Future<_i13.CommitComment>.value(_FakeCommitComment_68( + returnValue: _i20.Future<_i13.CommitComment>.value(_FakeCommitComment_71( this, Invocation.method( #getCommitComment, @@ -6822,9 +7102,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#id: id}, ), )), - ) as _i19.Future<_i13.CommitComment>); + ) as _i20.Future<_i13.CommitComment>); @override - _i19.Future<_i13.CommitComment> updateCommitComment( + _i20.Future<_i13.CommitComment> updateCommitComment( _i13.RepositorySlug? slug, { required int? id, required String? body, @@ -6838,7 +7118,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #body: body, }, ), - returnValue: _i19.Future<_i13.CommitComment>.value(_FakeCommitComment_68( + returnValue: _i20.Future<_i13.CommitComment>.value(_FakeCommitComment_71( this, Invocation.method( #updateCommitComment, @@ -6849,9 +7129,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi }, ), )), - ) as _i19.Future<_i13.CommitComment>); + ) as _i20.Future<_i13.CommitComment>); @override - _i19.Future deleteCommitComment( + _i20.Future deleteCommitComment( _i13.RepositorySlug? slug, { required int? id, }) => @@ -6861,10 +7141,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [slug], {#id: id}, ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.RepositoryCommit> listCommits( + _i20.Stream<_i13.RepositoryCommit> listCommits( _i13.RepositorySlug? slug, { String? sha, String? path, @@ -6886,10 +7166,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #until: until, }, ), - returnValue: _i19.Stream<_i13.RepositoryCommit>.empty(), - ) as _i19.Stream<_i13.RepositoryCommit>); + returnValue: _i20.Stream<_i13.RepositoryCommit>.empty(), + ) as _i20.Stream<_i13.RepositoryCommit>); @override - _i19.Future<_i13.RepositoryCommit> getCommit( + _i20.Future<_i13.RepositoryCommit> getCommit( _i13.RepositorySlug? slug, String? sha, ) => @@ -6901,7 +7181,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi sha, ], ), - returnValue: _i19.Future<_i13.RepositoryCommit>.value(_FakeRepositoryCommit_69( + returnValue: _i20.Future<_i13.RepositoryCommit>.value(_FakeRepositoryCommit_72( this, Invocation.method( #getCommit, @@ -6911,9 +7191,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.RepositoryCommit>); + ) as _i20.Future<_i13.RepositoryCommit>); @override - _i19.Future getCommitDiff( + _i20.Future getCommitDiff( _i13.RepositorySlug? slug, String? sha, ) => @@ -6925,10 +7205,19 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi sha, ], ), - returnValue: _i19.Future.value(''), - ) as _i19.Future); + returnValue: _i20.Future.value(_i28.dummyValue( + this, + Invocation.method( + #getCommitDiff, + [ + slug, + sha, + ], + ), + )), + ) as _i20.Future); @override - _i19.Future<_i13.GitHubComparison> compareCommits( + _i20.Future<_i13.GitHubComparison> compareCommits( _i13.RepositorySlug? slug, String? refBase, String? refHead, @@ -6942,7 +7231,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi refHead, ], ), - returnValue: _i19.Future<_i13.GitHubComparison>.value(_FakeGitHubComparison_70( + returnValue: _i20.Future<_i13.GitHubComparison>.value(_FakeGitHubComparison_73( this, Invocation.method( #compareCommits, @@ -6953,9 +7242,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.GitHubComparison>); + ) as _i20.Future<_i13.GitHubComparison>); @override - _i19.Future<_i13.GitHubFile> getReadme( + _i20.Future<_i13.GitHubFile> getReadme( _i13.RepositorySlug? slug, { String? ref, }) => @@ -6965,7 +7254,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [slug], {#ref: ref}, ), - returnValue: _i19.Future<_i13.GitHubFile>.value(_FakeGitHubFile_71( + returnValue: _i20.Future<_i13.GitHubFile>.value(_FakeGitHubFile_74( this, Invocation.method( #getReadme, @@ -6973,9 +7262,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#ref: ref}, ), )), - ) as _i19.Future<_i13.GitHubFile>); + ) as _i20.Future<_i13.GitHubFile>); @override - _i19.Future<_i13.RepositoryContents> getContents( + _i20.Future<_i13.RepositoryContents> getContents( _i13.RepositorySlug? slug, String? path, { String? ref, @@ -6989,7 +7278,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], {#ref: ref}, ), - returnValue: _i19.Future<_i13.RepositoryContents>.value(_FakeRepositoryContents_72( + returnValue: _i20.Future<_i13.RepositoryContents>.value(_FakeRepositoryContents_75( this, Invocation.method( #getContents, @@ -7000,9 +7289,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#ref: ref}, ), )), - ) as _i19.Future<_i13.RepositoryContents>); + ) as _i20.Future<_i13.RepositoryContents>); @override - _i19.Future<_i13.ContentCreation> createFile( + _i20.Future<_i13.ContentCreation> createFile( _i13.RepositorySlug? slug, _i13.CreateFile? file, ) => @@ -7014,7 +7303,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi file, ], ), - returnValue: _i19.Future<_i13.ContentCreation>.value(_FakeContentCreation_73( + returnValue: _i20.Future<_i13.ContentCreation>.value(_FakeContentCreation_76( this, Invocation.method( #createFile, @@ -7024,9 +7313,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.ContentCreation>); + ) as _i20.Future<_i13.ContentCreation>); @override - _i19.Future<_i13.ContentCreation> updateFile( + _i20.Future<_i13.ContentCreation> updateFile( _i13.RepositorySlug? slug, String? path, String? message, @@ -7046,7 +7335,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], {#branch: branch}, ), - returnValue: _i19.Future<_i13.ContentCreation>.value(_FakeContentCreation_73( + returnValue: _i20.Future<_i13.ContentCreation>.value(_FakeContentCreation_76( this, Invocation.method( #updateFile, @@ -7060,9 +7349,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#branch: branch}, ), )), - ) as _i19.Future<_i13.ContentCreation>); + ) as _i20.Future<_i13.ContentCreation>); @override - _i19.Future<_i13.ContentCreation> deleteFile( + _i20.Future<_i13.ContentCreation> deleteFile( _i13.RepositorySlug? slug, String? path, String? message, @@ -7080,7 +7369,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi branch, ], ), - returnValue: _i19.Future<_i13.ContentCreation>.value(_FakeContentCreation_73( + returnValue: _i20.Future<_i13.ContentCreation>.value(_FakeContentCreation_76( this, Invocation.method( #deleteFile, @@ -7093,9 +7382,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.ContentCreation>); + ) as _i20.Future<_i13.ContentCreation>); @override - _i19.Future getArchiveLink( + _i20.Future getArchiveLink( _i13.RepositorySlug? slug, String? ref, { String? format = r'tarball', @@ -7109,18 +7398,18 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], {#format: format}, ), - returnValue: _i19.Future.value(), - ) as _i19.Future); + returnValue: _i20.Future.value(), + ) as _i20.Future); @override - _i19.Stream<_i13.Repository> listForks(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Repository> listForks(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listForks, [slug], ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Future<_i13.Repository> createFork( + _i20.Future<_i13.Repository> createFork( _i13.RepositorySlug? slug, [ _i13.CreateFork? fork, ]) => @@ -7132,7 +7421,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi fork, ], ), - returnValue: _i19.Future<_i13.Repository>.value(_FakeRepository_64( + returnValue: _i20.Future<_i13.Repository>.value(_FakeRepository_67( this, Invocation.method( #createFork, @@ -7142,17 +7431,17 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.Repository>); + ) as _i20.Future<_i13.Repository>); @override - _i19.Stream<_i13.Hook> listHooks(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Hook> listHooks(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listHooks, [slug], ), - returnValue: _i19.Stream<_i13.Hook>.empty(), - ) as _i19.Stream<_i13.Hook>); + returnValue: _i20.Stream<_i13.Hook>.empty(), + ) as _i20.Stream<_i13.Hook>); @override - _i19.Future<_i13.Hook> getHook( + _i20.Future<_i13.Hook> getHook( _i13.RepositorySlug? slug, int? id, ) => @@ -7164,7 +7453,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi id, ], ), - returnValue: _i19.Future<_i13.Hook>.value(_FakeHook_74( + returnValue: _i20.Future<_i13.Hook>.value(_FakeHook_77( this, Invocation.method( #getHook, @@ -7174,9 +7463,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.Hook>); + ) as _i20.Future<_i13.Hook>); @override - _i19.Future<_i13.Hook> createHook( + _i20.Future<_i13.Hook> createHook( _i13.RepositorySlug? slug, _i13.CreateHook? hook, ) => @@ -7188,7 +7477,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi hook, ], ), - returnValue: _i19.Future<_i13.Hook>.value(_FakeHook_74( + returnValue: _i20.Future<_i13.Hook>.value(_FakeHook_77( this, Invocation.method( #createHook, @@ -7198,9 +7487,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.Hook>); + ) as _i20.Future<_i13.Hook>); @override - _i19.Future<_i13.Hook> editHook( + _i20.Future<_i13.Hook> editHook( _i13.RepositorySlug? slug, _i13.Hook? hookToEdit, { String? configUrl, @@ -7230,7 +7519,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #active: active, }, ), - returnValue: _i19.Future<_i13.Hook>.value(_FakeHook_74( + returnValue: _i20.Future<_i13.Hook>.value(_FakeHook_77( this, Invocation.method( #editHook, @@ -7250,9 +7539,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi }, ), )), - ) as _i19.Future<_i13.Hook>); + ) as _i20.Future<_i13.Hook>); @override - _i19.Future testPushHook( + _i20.Future testPushHook( _i13.RepositorySlug? slug, int? id, ) => @@ -7264,10 +7553,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi id, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future pingHook( + _i20.Future pingHook( _i13.RepositorySlug? slug, int? id, ) => @@ -7279,10 +7568,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi id, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future deleteHook( + _i20.Future deleteHook( _i13.RepositorySlug? slug, int? id, ) => @@ -7294,18 +7583,18 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi id, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.PublicKey> listDeployKeys(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.PublicKey> listDeployKeys(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listDeployKeys, [slug], ), - returnValue: _i19.Stream<_i13.PublicKey>.empty(), - ) as _i19.Stream<_i13.PublicKey>); + returnValue: _i20.Stream<_i13.PublicKey>.empty(), + ) as _i20.Stream<_i13.PublicKey>); @override - _i19.Future<_i13.PublicKey> getDeployKey( + _i20.Future<_i13.PublicKey> getDeployKey( _i13.RepositorySlug? slug, { required int? id, }) => @@ -7315,7 +7604,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi [slug], {#id: id}, ), - returnValue: _i19.Future<_i13.PublicKey>.value(_FakePublicKey_75( + returnValue: _i20.Future<_i13.PublicKey>.value(_FakePublicKey_78( this, Invocation.method( #getDeployKey, @@ -7323,9 +7612,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#id: id}, ), )), - ) as _i19.Future<_i13.PublicKey>); + ) as _i20.Future<_i13.PublicKey>); @override - _i19.Future<_i13.PublicKey> createDeployKey( + _i20.Future<_i13.PublicKey> createDeployKey( _i13.RepositorySlug? slug, _i13.CreatePublicKey? key, ) => @@ -7337,7 +7626,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi key, ], ), - returnValue: _i19.Future<_i13.PublicKey>.value(_FakePublicKey_75( + returnValue: _i20.Future<_i13.PublicKey>.value(_FakePublicKey_78( this, Invocation.method( #createDeployKey, @@ -7347,9 +7636,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.PublicKey>); + ) as _i20.Future<_i13.PublicKey>); @override - _i19.Future deleteDeployKey({ + _i20.Future deleteDeployKey({ required _i13.RepositorySlug? slug, required _i13.PublicKey? key, }) => @@ -7362,10 +7651,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #key: key, }, ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future<_i13.RepositoryCommit> merge( + _i20.Future<_i13.RepositoryCommit> merge( _i13.RepositorySlug? slug, _i13.CreateMerge? merge, ) => @@ -7377,7 +7666,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi merge, ], ), - returnValue: _i19.Future<_i13.RepositoryCommit>.value(_FakeRepositoryCommit_69( + returnValue: _i20.Future<_i13.RepositoryCommit>.value(_FakeRepositoryCommit_72( this, Invocation.method( #merge, @@ -7387,67 +7676,67 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.RepositoryCommit>); + ) as _i20.Future<_i13.RepositoryCommit>); @override - _i19.Future<_i13.RepositoryPages> getPagesInfo(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.RepositoryPages> getPagesInfo(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getPagesInfo, [slug], ), - returnValue: _i19.Future<_i13.RepositoryPages>.value(_FakeRepositoryPages_76( + returnValue: _i20.Future<_i13.RepositoryPages>.value(_FakeRepositoryPages_79( this, Invocation.method( #getPagesInfo, [slug], ), )), - ) as _i19.Future<_i13.RepositoryPages>); + ) as _i20.Future<_i13.RepositoryPages>); @override - _i19.Stream<_i13.PageBuild> listPagesBuilds(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.PageBuild> listPagesBuilds(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listPagesBuilds, [slug], ), - returnValue: _i19.Stream<_i13.PageBuild>.empty(), - ) as _i19.Stream<_i13.PageBuild>); + returnValue: _i20.Stream<_i13.PageBuild>.empty(), + ) as _i20.Stream<_i13.PageBuild>); @override - _i19.Future<_i13.PageBuild> getLatestPagesBuild(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.PageBuild> getLatestPagesBuild(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getLatestPagesBuild, [slug], ), - returnValue: _i19.Future<_i13.PageBuild>.value(_FakePageBuild_77( + returnValue: _i20.Future<_i13.PageBuild>.value(_FakePageBuild_80( this, Invocation.method( #getLatestPagesBuild, [slug], ), )), - ) as _i19.Future<_i13.PageBuild>); + ) as _i20.Future<_i13.PageBuild>); @override - _i19.Stream<_i13.Release> listReleases(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.Release> listReleases(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listReleases, [slug], ), - returnValue: _i19.Stream<_i13.Release>.empty(), - ) as _i19.Stream<_i13.Release>); + returnValue: _i20.Stream<_i13.Release>.empty(), + ) as _i20.Stream<_i13.Release>); @override - _i19.Future<_i13.Release> getLatestRelease(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.Release> getLatestRelease(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getLatestRelease, [slug], ), - returnValue: _i19.Future<_i13.Release>.value(_FakeRelease_78( + returnValue: _i20.Future<_i13.Release>.value(_FakeRelease_81( this, Invocation.method( #getLatestRelease, [slug], ), )), - ) as _i19.Future<_i13.Release>); + ) as _i20.Future<_i13.Release>); @override - _i19.Future<_i13.Release> getReleaseById( + _i20.Future<_i13.Release> getReleaseById( _i13.RepositorySlug? slug, int? id, ) => @@ -7459,7 +7748,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi id, ], ), - returnValue: _i19.Future<_i13.Release>.value(_FakeRelease_78( + returnValue: _i20.Future<_i13.Release>.value(_FakeRelease_81( this, Invocation.method( #getReleaseById, @@ -7469,9 +7758,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.Release>); + ) as _i20.Future<_i13.Release>); @override - _i19.Future<_i13.Release> getReleaseByTagName( + _i20.Future<_i13.Release> getReleaseByTagName( _i13.RepositorySlug? slug, String? tagName, ) => @@ -7483,7 +7772,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi tagName, ], ), - returnValue: _i19.Future<_i13.Release>.value(_FakeRelease_78( + returnValue: _i20.Future<_i13.Release>.value(_FakeRelease_81( this, Invocation.method( #getReleaseByTagName, @@ -7493,9 +7782,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.Release>); + ) as _i20.Future<_i13.Release>); @override - _i19.Future<_i13.Release> createRelease( + _i20.Future<_i13.Release> createRelease( _i13.RepositorySlug? slug, _i13.CreateRelease? createRelease, { bool? getIfExists = true, @@ -7509,7 +7798,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], {#getIfExists: getIfExists}, ), - returnValue: _i19.Future<_i13.Release>.value(_FakeRelease_78( + returnValue: _i20.Future<_i13.Release>.value(_FakeRelease_81( this, Invocation.method( #createRelease, @@ -7520,9 +7809,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#getIfExists: getIfExists}, ), )), - ) as _i19.Future<_i13.Release>); + ) as _i20.Future<_i13.Release>); @override - _i19.Future<_i13.Release> editRelease( + _i20.Future<_i13.Release> editRelease( _i13.RepositorySlug? slug, _i13.Release? releaseToEdit, { String? tagName, @@ -7548,7 +7837,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #preRelease: preRelease, }, ), - returnValue: _i19.Future<_i13.Release>.value(_FakeRelease_78( + returnValue: _i20.Future<_i13.Release>.value(_FakeRelease_81( this, Invocation.method( #editRelease, @@ -7566,9 +7855,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi }, ), )), - ) as _i19.Future<_i13.Release>); + ) as _i20.Future<_i13.Release>); @override - _i19.Future deleteRelease( + _i20.Future deleteRelease( _i13.RepositorySlug? slug, _i13.Release? release, ) => @@ -7580,10 +7869,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi release, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.ReleaseAsset> listReleaseAssets( + _i20.Stream<_i13.ReleaseAsset> listReleaseAssets( _i13.RepositorySlug? slug, _i13.Release? release, ) => @@ -7595,10 +7884,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi release, ], ), - returnValue: _i19.Stream<_i13.ReleaseAsset>.empty(), - ) as _i19.Stream<_i13.ReleaseAsset>); + returnValue: _i20.Stream<_i13.ReleaseAsset>.empty(), + ) as _i20.Stream<_i13.ReleaseAsset>); @override - _i19.Future<_i13.ReleaseAsset> getReleaseAsset( + _i20.Future<_i13.ReleaseAsset> getReleaseAsset( _i13.RepositorySlug? slug, _i13.Release? release, { required int? assetId, @@ -7612,7 +7901,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], {#assetId: assetId}, ), - returnValue: _i19.Future<_i13.ReleaseAsset>.value(_FakeReleaseAsset_79( + returnValue: _i20.Future<_i13.ReleaseAsset>.value(_FakeReleaseAsset_82( this, Invocation.method( #getReleaseAsset, @@ -7623,9 +7912,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi {#assetId: assetId}, ), )), - ) as _i19.Future<_i13.ReleaseAsset>); + ) as _i20.Future<_i13.ReleaseAsset>); @override - _i19.Future<_i13.ReleaseAsset> editReleaseAsset( + _i20.Future<_i13.ReleaseAsset> editReleaseAsset( _i13.RepositorySlug? slug, _i13.ReleaseAsset? assetToEdit, { String? name, @@ -7643,7 +7932,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi #label: label, }, ), - returnValue: _i19.Future<_i13.ReleaseAsset>.value(_FakeReleaseAsset_79( + returnValue: _i20.Future<_i13.ReleaseAsset>.value(_FakeReleaseAsset_82( this, Invocation.method( #editReleaseAsset, @@ -7657,9 +7946,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi }, ), )), - ) as _i19.Future<_i13.ReleaseAsset>); + ) as _i20.Future<_i13.ReleaseAsset>); @override - _i19.Future deleteReleaseAsset( + _i20.Future deleteReleaseAsset( _i13.RepositorySlug? slug, _i13.ReleaseAsset? asset, ) => @@ -7671,10 +7960,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi asset, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future> uploadReleaseAssets( + _i20.Future> uploadReleaseAssets( _i13.Release? release, Iterable<_i13.CreateReleaseAsset>? createReleaseAssets, ) => @@ -7686,56 +7975,56 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi createReleaseAssets, ], ), - returnValue: _i19.Future>.value(<_i13.ReleaseAsset>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.ReleaseAsset>[]), + ) as _i20.Future>); @override - _i19.Future> listContributorStats(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future> listContributorStats(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listContributorStats, [slug], ), - returnValue: _i19.Future>.value(<_i13.ContributorStatistics>[]), - ) as _i19.Future>); + returnValue: _i20.Future>.value(<_i13.ContributorStatistics>[]), + ) as _i20.Future>); @override - _i19.Stream<_i13.YearCommitCountWeek> listCommitActivity(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.YearCommitCountWeek> listCommitActivity(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listCommitActivity, [slug], ), - returnValue: _i19.Stream<_i13.YearCommitCountWeek>.empty(), - ) as _i19.Stream<_i13.YearCommitCountWeek>); + returnValue: _i20.Stream<_i13.YearCommitCountWeek>.empty(), + ) as _i20.Stream<_i13.YearCommitCountWeek>); @override - _i19.Stream<_i13.WeeklyChangesCount> listCodeFrequency(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.WeeklyChangesCount> listCodeFrequency(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listCodeFrequency, [slug], ), - returnValue: _i19.Stream<_i13.WeeklyChangesCount>.empty(), - ) as _i19.Stream<_i13.WeeklyChangesCount>); + returnValue: _i20.Stream<_i13.WeeklyChangesCount>.empty(), + ) as _i20.Stream<_i13.WeeklyChangesCount>); @override - _i19.Future<_i13.ContributorParticipation> getParticipation(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Future<_i13.ContributorParticipation> getParticipation(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #getParticipation, [slug], ), - returnValue: _i19.Future<_i13.ContributorParticipation>.value(_FakeContributorParticipation_80( + returnValue: _i20.Future<_i13.ContributorParticipation>.value(_FakeContributorParticipation_83( this, Invocation.method( #getParticipation, [slug], ), )), - ) as _i19.Future<_i13.ContributorParticipation>); + ) as _i20.Future<_i13.ContributorParticipation>); @override - _i19.Stream<_i13.PunchcardEntry> listPunchcard(_i13.RepositorySlug? slug) => (super.noSuchMethod( + _i20.Stream<_i13.PunchcardEntry> listPunchcard(_i13.RepositorySlug? slug) => (super.noSuchMethod( Invocation.method( #listPunchcard, [slug], ), - returnValue: _i19.Stream<_i13.PunchcardEntry>.empty(), - ) as _i19.Stream<_i13.PunchcardEntry>); + returnValue: _i20.Stream<_i13.PunchcardEntry>.empty(), + ) as _i20.Stream<_i13.PunchcardEntry>); @override - _i19.Stream<_i13.RepositoryStatus> listStatuses( + _i20.Stream<_i13.RepositoryStatus> listStatuses( _i13.RepositorySlug? slug, String? ref, ) => @@ -7747,10 +8036,10 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ref, ], ), - returnValue: _i19.Stream<_i13.RepositoryStatus>.empty(), - ) as _i19.Stream<_i13.RepositoryStatus>); + returnValue: _i20.Stream<_i13.RepositoryStatus>.empty(), + ) as _i20.Stream<_i13.RepositoryStatus>); @override - _i19.Future<_i13.RepositoryStatus> createStatus( + _i20.Future<_i13.RepositoryStatus> createStatus( _i13.RepositorySlug? slug, String? ref, _i13.CreateStatus? request, @@ -7764,7 +8053,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi request, ], ), - returnValue: _i19.Future<_i13.RepositoryStatus>.value(_FakeRepositoryStatus_81( + returnValue: _i20.Future<_i13.RepositoryStatus>.value(_FakeRepositoryStatus_84( this, Invocation.method( #createStatus, @@ -7775,9 +8064,9 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.RepositoryStatus>); + ) as _i20.Future<_i13.RepositoryStatus>); @override - _i19.Future<_i13.CombinedRepositoryStatus> getCombinedStatus( + _i20.Future<_i13.CombinedRepositoryStatus> getCombinedStatus( _i13.RepositorySlug? slug, String? ref, ) => @@ -7789,7 +8078,7 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ref, ], ), - returnValue: _i19.Future<_i13.CombinedRepositoryStatus>.value(_FakeCombinedRepositoryStatus_82( + returnValue: _i20.Future<_i13.CombinedRepositoryStatus>.value(_FakeCombinedRepositoryStatus_85( this, Invocation.method( #getCombinedStatus, @@ -7799,21 +8088,21 @@ class MockRepositoriesService extends _i1.Mock implements _i13.RepositoriesServi ], ), )), - ) as _i19.Future<_i13.CombinedRepositoryStatus>); + ) as _i20.Future<_i13.CombinedRepositoryStatus>); @override - _i19.Future<_i13.ReleaseNotes> generateReleaseNotes(_i13.CreateReleaseNotes? crn) => (super.noSuchMethod( + _i20.Future<_i13.ReleaseNotes> generateReleaseNotes(_i13.CreateReleaseNotes? crn) => (super.noSuchMethod( Invocation.method( #generateReleaseNotes, [crn], ), - returnValue: _i19.Future<_i13.ReleaseNotes>.value(_FakeReleaseNotes_83( + returnValue: _i20.Future<_i13.ReleaseNotes>.value(_FakeReleaseNotes_86( this, Invocation.method( #generateReleaseNotes, [crn], ), )), - ) as _i19.Future<_i13.ReleaseNotes>); + ) as _i20.Future<_i13.ReleaseNotes>); } /// A class which mocks [SearchService]. @@ -7833,7 +8122,7 @@ class MockSearchService extends _i1.Mock implements _i13.SearchService { ), ) as _i13.GitHub); @override - _i19.Stream<_i13.Repository> repositories( + _i20.Stream<_i13.Repository> repositories( String? query, { String? sort, int? pages = 2, @@ -7847,10 +8136,10 @@ class MockSearchService extends _i1.Mock implements _i13.SearchService { #pages: pages, }, ), - returnValue: _i19.Stream<_i13.Repository>.empty(), - ) as _i19.Stream<_i13.Repository>); + returnValue: _i20.Stream<_i13.Repository>.empty(), + ) as _i20.Stream<_i13.Repository>); @override - _i19.Stream<_i13.CodeSearchResults> code( + _i20.Stream<_i13.CodeSearchResults> code( String? query, { int? pages, int? perPage, @@ -7886,10 +8175,10 @@ class MockSearchService extends _i1.Mock implements _i13.SearchService { #inPath: inPath, }, ), - returnValue: _i19.Stream<_i13.CodeSearchResults>.empty(), - ) as _i19.Stream<_i13.CodeSearchResults>); + returnValue: _i20.Stream<_i13.CodeSearchResults>.empty(), + ) as _i20.Stream<_i13.CodeSearchResults>); @override - _i19.Stream<_i13.Issue> issues( + _i20.Stream<_i13.Issue> issues( String? query, { String? sort, int? pages = 2, @@ -7903,10 +8192,10 @@ class MockSearchService extends _i1.Mock implements _i13.SearchService { #pages: pages, }, ), - returnValue: _i19.Stream<_i13.Issue>.empty(), - ) as _i19.Stream<_i13.Issue>); + returnValue: _i20.Stream<_i13.Issue>.empty(), + ) as _i20.Stream<_i13.Issue>); @override - _i19.Stream<_i13.User> users( + _i20.Stream<_i13.User> users( String? query, { String? sort, int? pages = 2, @@ -7922,8 +8211,8 @@ class MockSearchService extends _i1.Mock implements _i13.SearchService { #perPage: perPage, }, ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); } /// A class which mocks [TabledataResource]. @@ -7935,7 +8224,7 @@ class MockTabledataResource extends _i1.Mock implements _i6.TabledataResource { } @override - _i19.Future<_i6.TableDataInsertAllResponse> insertAll( + _i20.Future<_i6.TableDataInsertAllResponse> insertAll( _i6.TableDataInsertAllRequest? request, String? projectId, String? datasetId, @@ -7953,7 +8242,7 @@ class MockTabledataResource extends _i1.Mock implements _i6.TabledataResource { ], {#$fields: $fields}, ), - returnValue: _i19.Future<_i6.TableDataInsertAllResponse>.value(_FakeTableDataInsertAllResponse_84( + returnValue: _i20.Future<_i6.TableDataInsertAllResponse>.value(_FakeTableDataInsertAllResponse_87( this, Invocation.method( #insertAll, @@ -7966,9 +8255,9 @@ class MockTabledataResource extends _i1.Mock implements _i6.TabledataResource { {#$fields: $fields}, ), )), - ) as _i19.Future<_i6.TableDataInsertAllResponse>); + ) as _i20.Future<_i6.TableDataInsertAllResponse>); @override - _i19.Future<_i6.TableDataList> list( + _i20.Future<_i6.TableDataList> list( String? projectId, String? datasetId, String? tableId, { @@ -7994,7 +8283,7 @@ class MockTabledataResource extends _i1.Mock implements _i6.TabledataResource { #$fields: $fields, }, ), - returnValue: _i19.Future<_i6.TableDataList>.value(_FakeTableDataList_85( + returnValue: _i20.Future<_i6.TableDataList>.value(_FakeTableDataList_88( this, Invocation.method( #list, @@ -8012,7 +8301,7 @@ class MockTabledataResource extends _i1.Mock implements _i6.TabledataResource { }, ), )), - ) as _i19.Future<_i6.TableDataList>); + ) as _i20.Future<_i6.TableDataList>); } /// A class which mocks [UsersService]. @@ -8032,21 +8321,21 @@ class MockUsersService extends _i1.Mock implements _i13.UsersService { ), ) as _i13.GitHub); @override - _i19.Future<_i13.User> getUser(String? name) => (super.noSuchMethod( + _i20.Future<_i13.User> getUser(String? name) => (super.noSuchMethod( Invocation.method( #getUser, [name], ), - returnValue: _i19.Future<_i13.User>.value(_FakeUser_86( + returnValue: _i20.Future<_i13.User>.value(_FakeUser_89( this, Invocation.method( #getUser, [name], ), )), - ) as _i19.Future<_i13.User>); + ) as _i20.Future<_i13.User>); @override - _i19.Future<_i13.CurrentUser> editCurrentUser({ + _i20.Future<_i13.CurrentUser> editCurrentUser({ String? name, String? email, String? blog, @@ -8069,7 +8358,7 @@ class MockUsersService extends _i1.Mock implements _i13.UsersService { #bio: bio, }, ), - returnValue: _i19.Future<_i13.CurrentUser>.value(_FakeCurrentUser_87( + returnValue: _i20.Future<_i13.CurrentUser>.value(_FakeCurrentUser_90( this, Invocation.method( #editCurrentUser, @@ -8085,9 +8374,9 @@ class MockUsersService extends _i1.Mock implements _i13.UsersService { }, ), )), - ) as _i19.Future<_i13.CurrentUser>); + ) as _i20.Future<_i13.CurrentUser>); @override - _i19.Stream<_i13.User> getUsers( + _i20.Stream<_i13.User> getUsers( List? names, { int? pages, }) => @@ -8097,32 +8386,32 @@ class MockUsersService extends _i1.Mock implements _i13.UsersService { [names], {#pages: pages}, ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); @override - _i19.Future<_i13.CurrentUser> getCurrentUser() => (super.noSuchMethod( + _i20.Future<_i13.CurrentUser> getCurrentUser() => (super.noSuchMethod( Invocation.method( #getCurrentUser, [], ), - returnValue: _i19.Future<_i13.CurrentUser>.value(_FakeCurrentUser_87( + returnValue: _i20.Future<_i13.CurrentUser>.value(_FakeCurrentUser_90( this, Invocation.method( #getCurrentUser, [], ), )), - ) as _i19.Future<_i13.CurrentUser>); + ) as _i20.Future<_i13.CurrentUser>); @override - _i19.Future isUser(String? name) => (super.noSuchMethod( + _i20.Future isUser(String? name) => (super.noSuchMethod( Invocation.method( #isUser, [name], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.User> listUsers({ + _i20.Stream<_i13.User> listUsers({ int? pages, int? since, }) => @@ -8135,50 +8424,50 @@ class MockUsersService extends _i1.Mock implements _i13.UsersService { #since: since, }, ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); @override - _i19.Stream<_i13.UserEmail> listEmails() => (super.noSuchMethod( + _i20.Stream<_i13.UserEmail> listEmails() => (super.noSuchMethod( Invocation.method( #listEmails, [], ), - returnValue: _i19.Stream<_i13.UserEmail>.empty(), - ) as _i19.Stream<_i13.UserEmail>); + returnValue: _i20.Stream<_i13.UserEmail>.empty(), + ) as _i20.Stream<_i13.UserEmail>); @override - _i19.Stream<_i13.UserEmail> addEmails(List? emails) => (super.noSuchMethod( + _i20.Stream<_i13.UserEmail> addEmails(List? emails) => (super.noSuchMethod( Invocation.method( #addEmails, [emails], ), - returnValue: _i19.Stream<_i13.UserEmail>.empty(), - ) as _i19.Stream<_i13.UserEmail>); + returnValue: _i20.Stream<_i13.UserEmail>.empty(), + ) as _i20.Stream<_i13.UserEmail>); @override - _i19.Future deleteEmails(List? emails) => (super.noSuchMethod( + _i20.Future deleteEmails(List? emails) => (super.noSuchMethod( Invocation.method( #deleteEmails, [emails], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.User> listUserFollowers(String? user) => (super.noSuchMethod( + _i20.Stream<_i13.User> listUserFollowers(String? user) => (super.noSuchMethod( Invocation.method( #listUserFollowers, [user], ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); @override - _i19.Future isFollowingUser(String? user) => (super.noSuchMethod( + _i20.Future isFollowingUser(String? user) => (super.noSuchMethod( Invocation.method( #isFollowingUser, [user], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future isUserFollowing( + _i20.Future isUserFollowing( String? user, String? target, ) => @@ -8190,128 +8479,128 @@ class MockUsersService extends _i1.Mock implements _i13.UsersService { target, ], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future followUser(String? user) => (super.noSuchMethod( + _i20.Future followUser(String? user) => (super.noSuchMethod( Invocation.method( #followUser, [user], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Future unfollowUser(String? user) => (super.noSuchMethod( + _i20.Future unfollowUser(String? user) => (super.noSuchMethod( Invocation.method( #unfollowUser, [user], ), - returnValue: _i19.Future.value(false), - ) as _i19.Future); + returnValue: _i20.Future.value(false), + ) as _i20.Future); @override - _i19.Stream<_i13.User> listCurrentUserFollowers() => (super.noSuchMethod( + _i20.Stream<_i13.User> listCurrentUserFollowers() => (super.noSuchMethod( Invocation.method( #listCurrentUserFollowers, [], ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); @override - _i19.Stream<_i13.User> listCurrentUserFollowing() => (super.noSuchMethod( + _i20.Stream<_i13.User> listCurrentUserFollowing() => (super.noSuchMethod( Invocation.method( #listCurrentUserFollowing, [], ), - returnValue: _i19.Stream<_i13.User>.empty(), - ) as _i19.Stream<_i13.User>); + returnValue: _i20.Stream<_i13.User>.empty(), + ) as _i20.Stream<_i13.User>); @override - _i19.Stream<_i13.PublicKey> listPublicKeys([String? userLogin]) => (super.noSuchMethod( + _i20.Stream<_i13.PublicKey> listPublicKeys([String? userLogin]) => (super.noSuchMethod( Invocation.method( #listPublicKeys, [userLogin], ), - returnValue: _i19.Stream<_i13.PublicKey>.empty(), - ) as _i19.Stream<_i13.PublicKey>); + returnValue: _i20.Stream<_i13.PublicKey>.empty(), + ) as _i20.Stream<_i13.PublicKey>); @override - _i19.Future<_i13.PublicKey> createPublicKey(_i13.CreatePublicKey? key) => (super.noSuchMethod( + _i20.Future<_i13.PublicKey> createPublicKey(_i13.CreatePublicKey? key) => (super.noSuchMethod( Invocation.method( #createPublicKey, [key], ), - returnValue: _i19.Future<_i13.PublicKey>.value(_FakePublicKey_75( + returnValue: _i20.Future<_i13.PublicKey>.value(_FakePublicKey_78( this, Invocation.method( #createPublicKey, [key], ), )), - ) as _i19.Future<_i13.PublicKey>); + ) as _i20.Future<_i13.PublicKey>); } /// A class which mocks [Cache]. /// /// See the documentation for Mockito's code generation for more information. -class MockCache extends _i1.Mock implements _i24.Cache<_i35.Uint8List> { +class MockCache extends _i1.Mock implements _i25.Cache<_i36.Uint8List> { MockCache() { _i1.throwOnMissingStub(this); } @override - _i24.Entry<_i35.Uint8List> operator [](String? key) => (super.noSuchMethod( + _i25.Entry<_i36.Uint8List> operator [](String? key) => (super.noSuchMethod( Invocation.method( #[], [key], ), - returnValue: _FakeEntry_88<_i35.Uint8List>( + returnValue: _FakeEntry_91<_i36.Uint8List>( this, Invocation.method( #[], [key], ), ), - ) as _i24.Entry<_i35.Uint8List>); + ) as _i25.Entry<_i36.Uint8List>); @override - _i24.Cache<_i35.Uint8List> withPrefix(String? prefix) => (super.noSuchMethod( + _i25.Cache<_i36.Uint8List> withPrefix(String? prefix) => (super.noSuchMethod( Invocation.method( #withPrefix, [prefix], ), - returnValue: _FakeCache_89<_i35.Uint8List>( + returnValue: _FakeCache_92<_i36.Uint8List>( this, Invocation.method( #withPrefix, [prefix], ), ), - ) as _i24.Cache<_i35.Uint8List>); + ) as _i25.Cache<_i36.Uint8List>); @override - _i24.Cache withCodec(_i22.Codec? codec) => (super.noSuchMethod( + _i25.Cache withCodec(_i24.Codec? codec) => (super.noSuchMethod( Invocation.method( #withCodec, [codec], ), - returnValue: _FakeCache_89( + returnValue: _FakeCache_92( this, Invocation.method( #withCodec, [codec], ), ), - ) as _i24.Cache); + ) as _i25.Cache); @override - _i24.Cache<_i35.Uint8List> withTTL(Duration? ttl) => (super.noSuchMethod( + _i25.Cache<_i36.Uint8List> withTTL(Duration? ttl) => (super.noSuchMethod( Invocation.method( #withTTL, [ttl], ), - returnValue: _FakeCache_89<_i35.Uint8List>( + returnValue: _FakeCache_92<_i36.Uint8List>( this, Invocation.method( #withTTL, [ttl], ), ), - ) as _i24.Cache<_i35.Uint8List>); + ) as _i25.Cache<_i36.Uint8List>); } /// A class which mocks [GitHub]. @@ -8325,7 +8614,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.Authentication get auth => (super.noSuchMethod( Invocation.getter(#auth), - returnValue: _FakeAuthentication_90( + returnValue: _FakeAuthentication_93( this, Invocation.getter(#auth), ), @@ -8341,12 +8630,18 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override String get endpoint => (super.noSuchMethod( Invocation.getter(#endpoint), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#endpoint), + ), ) as String); @override String get version => (super.noSuchMethod( Invocation.getter(#version), - returnValue: '', + returnValue: _i28.dummyValue( + this, + Invocation.getter(#version), + ), ) as String); @override _i2.Client get client => (super.noSuchMethod( @@ -8359,7 +8654,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.ActivityService get activity => (super.noSuchMethod( Invocation.getter(#activity), - returnValue: _FakeActivityService_91( + returnValue: _FakeActivityService_94( this, Invocation.getter(#activity), ), @@ -8367,7 +8662,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.AuthorizationsService get authorizations => (super.noSuchMethod( Invocation.getter(#authorizations), - returnValue: _FakeAuthorizationsService_92( + returnValue: _FakeAuthorizationsService_95( this, Invocation.getter(#authorizations), ), @@ -8375,7 +8670,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.GistsService get gists => (super.noSuchMethod( Invocation.getter(#gists), - returnValue: _FakeGistsService_93( + returnValue: _FakeGistsService_96( this, Invocation.getter(#gists), ), @@ -8383,7 +8678,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.GitService get git => (super.noSuchMethod( Invocation.getter(#git), - returnValue: _FakeGitService_94( + returnValue: _FakeGitService_97( this, Invocation.getter(#git), ), @@ -8391,7 +8686,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.IssuesService get issues => (super.noSuchMethod( Invocation.getter(#issues), - returnValue: _FakeIssuesService_95( + returnValue: _FakeIssuesService_98( this, Invocation.getter(#issues), ), @@ -8399,7 +8694,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.MiscService get misc => (super.noSuchMethod( Invocation.getter(#misc), - returnValue: _FakeMiscService_96( + returnValue: _FakeMiscService_99( this, Invocation.getter(#misc), ), @@ -8407,7 +8702,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.OrganizationsService get organizations => (super.noSuchMethod( Invocation.getter(#organizations), - returnValue: _FakeOrganizationsService_97( + returnValue: _FakeOrganizationsService_100( this, Invocation.getter(#organizations), ), @@ -8415,7 +8710,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.PullRequestsService get pullRequests => (super.noSuchMethod( Invocation.getter(#pullRequests), - returnValue: _FakePullRequestsService_98( + returnValue: _FakePullRequestsService_101( this, Invocation.getter(#pullRequests), ), @@ -8423,7 +8718,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.RepositoriesService get repositories => (super.noSuchMethod( Invocation.getter(#repositories), - returnValue: _FakeRepositoriesService_99( + returnValue: _FakeRepositoriesService_102( this, Invocation.getter(#repositories), ), @@ -8431,7 +8726,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.SearchService get search => (super.noSuchMethod( Invocation.getter(#search), - returnValue: _FakeSearchService_100( + returnValue: _FakeSearchService_103( this, Invocation.getter(#search), ), @@ -8439,7 +8734,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.UrlShortenerService get urlShortener => (super.noSuchMethod( Invocation.getter(#urlShortener), - returnValue: _FakeUrlShortenerService_101( + returnValue: _FakeUrlShortenerService_104( this, Invocation.getter(#urlShortener), ), @@ -8447,7 +8742,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.UsersService get users => (super.noSuchMethod( Invocation.getter(#users), - returnValue: _FakeUsersService_102( + returnValue: _FakeUsersService_105( this, Invocation.getter(#users), ), @@ -8455,13 +8750,13 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { @override _i13.ChecksService get checks => (super.noSuchMethod( Invocation.getter(#checks), - returnValue: _FakeChecksService_103( + returnValue: _FakeChecksService_106( this, Invocation.getter(#checks), ), ) as _i13.ChecksService); @override - _i19.Future getJSON( + _i20.Future getJSON( String? path, { int? statusCode, void Function(_i2.Response)? fail, @@ -8483,8 +8778,8 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { #preview: preview, }, ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #getJSON, @@ -8499,9 +8794,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - (T v) => _i19.Future.value(v), + (T v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #getJSON, @@ -8516,9 +8811,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future postJSON( + _i20.Future postJSON( String? path, { int? statusCode, void Function(_i2.Response)? fail, @@ -8542,7 +8837,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { #preview: preview, }, ), - returnValue: _i40.postJsonShim( + returnValue: _i41.postJsonShim( path, statusCode: statusCode, fail: fail, @@ -8552,9 +8847,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { body: body, preview: preview, ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future putJSON( + _i20.Future putJSON( String? path, { int? statusCode, void Function(_i2.Response)? fail, @@ -8578,8 +8873,8 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { #preview: preview, }, ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #putJSON, @@ -8595,9 +8890,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - (T v) => _i19.Future.value(v), + (T v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #putJSON, @@ -8613,9 +8908,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future patchJSON( + _i20.Future patchJSON( String? path, { int? statusCode, void Function(_i2.Response)? fail, @@ -8639,8 +8934,8 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { #preview: preview, }, ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #patchJSON, @@ -8656,9 +8951,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - (T v) => _i19.Future.value(v), + (T v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #patchJSON, @@ -8674,9 +8969,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future requestJson( + _i20.Future requestJson( String? method, String? path, { int? statusCode, @@ -8704,8 +8999,8 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { #preview: preview, }, ), - returnValue: _i27.ifNotNull( - _i27.dummyValueOrNull( + returnValue: _i28.ifNotNull( + _i28.dummyValueOrNull( this, Invocation.method( #requestJson, @@ -8724,9 +9019,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - (T v) => _i19.Future.value(v), + (T v) => _i20.Future.value(v), ) ?? - _FakeFuture_22( + _FakeFuture_23( this, Invocation.method( #requestJson, @@ -8745,9 +9040,9 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), ), - ) as _i19.Future); + ) as _i20.Future); @override - _i19.Future<_i2.Response> request( + _i20.Future<_i2.Response> request( String? method, String? path, { Map? headers, @@ -8773,7 +9068,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { #preview: preview, }, ), - returnValue: _i19.Future<_i2.Response>.value(_FakeResponse_104( + returnValue: _i20.Future<_i2.Response>.value(_FakeResponse_107( this, Invocation.method( #request, @@ -8791,7 +9086,7 @@ class MockGitHub extends _i1.Mock implements _i13.GitHub { }, ), )), - ) as _i19.Future<_i2.Response>); + ) as _i20.Future<_i2.Response>); @override Never handleStatusCode(_i2.Response? response) => (super.noSuchMethod( Invocation.method( diff --git a/gh_actions/third_party/no-response/package-lock.json b/gh_actions/third_party/no-response/package-lock.json index 9fb2ed981..0bef9821a 100644 --- a/gh_actions/third_party/no-response/package-lock.json +++ b/gh_actions/third_party/no-response/package-lock.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@octokit/webhooks-types": "^7.3.2", - "@types/jest": "^29.5.11", + "@types/jest": "^29.5.12", "@types/node": "^20.11.16", "@typescript-eslint/parser": "^6.20.0", "@vercel/ncc": "^0.38.1", @@ -1532,9 +1532,9 @@ } }, "node_modules/@types/jest": { - "version": "29.5.11", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz", - "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==", + "version": "29.5.12", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", + "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", "dev": true, "dependencies": { "expect": "^29.0.0", @@ -8508,9 +8508,9 @@ } }, "@types/jest": { - "version": "29.5.11", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz", - "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==", + "version": "29.5.12", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", + "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", "dev": true, "requires": { "expect": "^29.0.0", diff --git a/gh_actions/third_party/no-response/package.json b/gh_actions/third_party/no-response/package.json index 471d32557..df1cc7f53 100644 --- a/gh_actions/third_party/no-response/package.json +++ b/gh_actions/third_party/no-response/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@octokit/webhooks-types": "^7.3.2", - "@types/jest": "^29.5.11", + "@types/jest": "^29.5.12", "@types/node": "^20.11.16", "@typescript-eslint/parser": "^6.20.0", "@vercel/ncc": "^0.38.1",