mirror of https://github.com/grpc/grpc-dart.git
Merge pull request #1 from open-runtime/aot_monorepo_compat
Merging AOT Monorepo Compat into our Main Branch
This commit is contained in:
commit
774bf81c73
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,4 @@
|
||||||
|
# melos_managed_dependency_overrides: grpc
|
||||||
|
dependency_overrides:
|
||||||
|
grpc:
|
||||||
|
path: ../..
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,4 @@
|
||||||
|
# melos_managed_dependency_overrides: grpc
|
||||||
|
dependency_overrides:
|
||||||
|
grpc:
|
||||||
|
path: ../..
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,4 @@
|
||||||
|
# melos_managed_dependency_overrides: grpc
|
||||||
|
dependency_overrides:
|
||||||
|
grpc:
|
||||||
|
path: ../..
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,4 @@
|
||||||
|
# melos_managed_dependency_overrides: grpc
|
||||||
|
dependency_overrides:
|
||||||
|
grpc:
|
||||||
|
path: ../..
|
|
@ -0,0 +1,4 @@
|
||||||
|
# melos_managed_dependency_overrides: grpc
|
||||||
|
dependency_overrides:
|
||||||
|
grpc:
|
||||||
|
path: ../..
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/example" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/interop" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/build" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||||
|
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -3,15 +3,15 @@ description: Dart gRPC interoperability test suite.
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.0.0
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
args: ^2.0.0
|
args: ^2.5.0
|
||||||
async: ^2.2.0
|
async: ^2.11.0
|
||||||
collection: ^1.14.11
|
collection: ^1.18.0
|
||||||
grpc:
|
grpc:
|
||||||
path: ../
|
path: ../
|
||||||
protobuf: ^3.0.0
|
protobuf: ^3.1.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
test: ^1.16.0
|
test: ^1.25.3
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# melos_managed_dependency_overrides: grpc
|
||||||
|
dependency_overrides:
|
||||||
|
grpc:
|
||||||
|
path: ..
|
31
pubspec.yaml
31
pubspec.yaml
|
@ -3,31 +3,30 @@ description: Dart implementation of gRPC, a high performance, open-source univer
|
||||||
version: 3.2.4
|
version: 3.2.4
|
||||||
|
|
||||||
repository: https://github.com/grpc/grpc-dart
|
repository: https://github.com/grpc/grpc-dart
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.0.0
|
sdk: '>=3.3.0 <4.5.0'
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
archive: ^3.0.0
|
archive: ^3.4.10
|
||||||
async: ^2.5.0
|
async: ^2.11.0
|
||||||
crypto: ^3.0.0
|
crypto: ^3.0.3
|
||||||
fixnum: ^1.0.0
|
fixnum: ^1.1.0
|
||||||
googleapis_auth: ^1.1.0
|
googleapis_auth: ^1.6.0
|
||||||
meta: ^1.3.0
|
meta: ">=1.11.0 <2.0.0"
|
||||||
http: '>=0.13.0 <2.0.0'
|
http: '>=0.13.0 <2.0.0'
|
||||||
http2: ^2.2.0
|
http2: ^2.3.0
|
||||||
protobuf: '>=2.0.0 <4.0.0'
|
protobuf: '>=2.0.0 <4.0.0'
|
||||||
clock: ^1.1.1
|
clock: ^1.1.1
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner: ^2.0.0
|
build_runner: ^2.4.9
|
||||||
build_test: ^2.0.0
|
build_test: ^2.2.2
|
||||||
lints: ">=2.0.0 <4.0.0"
|
lints: ">=2.0.0 <4.0.0"
|
||||||
mockito: ^5.0.0
|
mockito: ^5.4.4
|
||||||
path: ^1.8.0
|
path: ^1.9.0
|
||||||
test: ^1.16.0
|
test: ^1.25.3
|
||||||
stream_channel: ^2.1.0
|
stream_channel: ^2.1.2
|
||||||
stream_transform: ^2.0.0
|
stream_transform: ^2.1.0
|
||||||
vm_service: ">=11.6.0 <15.0.0"
|
vm_service: ">=11.6.0 <15.0.0"
|
||||||
fake_async: ^1.3.1
|
fake_async: ^1.3.1
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
// Mocks generated by Mockito 5.4.1 from annotations
|
// Mocks generated by Mockito 5.4.4 from annotations
|
||||||
// in grpc/test/client_tests/client_keepalive_manager_test.dart.
|
// in grpc/test/client_tests/client_keepalive_manager_test.dart.
|
||||||
// Do not manually edit this file.
|
// Do not manually edit this file.
|
||||||
|
|
||||||
// @dart=2.19
|
|
||||||
|
|
||||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||||
import 'package:mockito/mockito.dart' as _i1;
|
import 'package:mockito/mockito.dart' as _i1;
|
||||||
|
|
||||||
|
@ -13,6 +11,8 @@ import 'client_keepalive_manager_test.dart' as _i2;
|
||||||
// ignore_for_file: avoid_redundant_argument_values
|
// ignore_for_file: avoid_redundant_argument_values
|
||||||
// ignore_for_file: avoid_setters_without_getters
|
// ignore_for_file: avoid_setters_without_getters
|
||||||
// ignore_for_file: comment_references
|
// 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: implementation_imports
|
||||||
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
||||||
// ignore_for_file: prefer_const_constructors
|
// ignore_for_file: prefer_const_constructors
|
||||||
|
@ -32,6 +32,7 @@ class MockPinger extends _i1.Mock implements _i2.Pinger {
|
||||||
),
|
),
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void onPingTimeout() => super.noSuchMethod(
|
void onPingTimeout() => super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
|
|
@ -289,7 +289,7 @@ void main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
GrpcError? interceptor(call, method) {
|
GrpcError? interceptor(call, method) {
|
||||||
if (method.name == 'Unary') {
|
if (method.identifier == 'Unary') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return GrpcError.unauthenticated('Request is unauthenticated');
|
return GrpcError.unauthenticated('Request is unauthenticated');
|
||||||
|
@ -311,7 +311,7 @@ void main() {
|
||||||
|
|
||||||
group('returns error if interceptor blocks request', () {
|
group('returns error if interceptor blocks request', () {
|
||||||
GrpcError? interceptor(call, method) {
|
GrpcError? interceptor(call, method) {
|
||||||
if (method.name == 'Unary') {
|
if (method.identifier == 'Unary') {
|
||||||
return GrpcError.unauthenticated('Request is unauthenticated');
|
return GrpcError.unauthenticated('Request is unauthenticated');
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -303,7 +303,7 @@ void main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
GrpcError? interceptor(call, method) {
|
GrpcError? interceptor(call, method) {
|
||||||
if (method.name == 'Unary') {
|
if (method.identifier == 'Unary') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return GrpcError.unauthenticated('Request is unauthenticated');
|
return GrpcError.unauthenticated('Request is unauthenticated');
|
||||||
|
@ -325,7 +325,7 @@ void main() {
|
||||||
|
|
||||||
group('returns error if interceptor blocks request', () {
|
group('returns error if interceptor blocks request', () {
|
||||||
GrpcError? interceptor(call, method) {
|
GrpcError? interceptor(call, method) {
|
||||||
if (method.name == 'Unary') {
|
if (method.identifier == 'Unary') {
|
||||||
return GrpcError.unauthenticated('Request is unauthenticated');
|
return GrpcError.unauthenticated('Request is unauthenticated');
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
// Mocks generated by Mockito 5.4.1 from annotations
|
// Mocks generated by Mockito 5.4.4 from annotations
|
||||||
// in grpc/test/src/client_utils.dart.
|
// in grpc/test/src/client_utils.dart.
|
||||||
// Do not manually edit this file.
|
// Do not manually edit this file.
|
||||||
|
|
||||||
// @dart=2.19
|
|
||||||
|
|
||||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||||
import 'dart:async' as _i3;
|
import 'dart:async' as _i3;
|
||||||
|
|
||||||
|
@ -15,6 +13,8 @@ import 'package:mockito/mockito.dart' as _i1;
|
||||||
// ignore_for_file: avoid_redundant_argument_values
|
// ignore_for_file: avoid_redundant_argument_values
|
||||||
// ignore_for_file: avoid_setters_without_getters
|
// ignore_for_file: avoid_setters_without_getters
|
||||||
// ignore_for_file: comment_references
|
// 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: implementation_imports
|
||||||
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
// ignore_for_file: invalid_use_of_visible_for_testing_member
|
||||||
// ignore_for_file: prefer_const_constructors
|
// ignore_for_file: prefer_const_constructors
|
||||||
|
@ -57,6 +57,7 @@ class MockClientTransportConnection extends _i1.Mock
|
||||||
Invocation.getter(#isOpen),
|
Invocation.getter(#isOpen),
|
||||||
returnValue: false,
|
returnValue: false,
|
||||||
) as bool);
|
) as bool);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
set onActiveStateChanged(_i2.ActiveStateHandler? callback) =>
|
set onActiveStateChanged(_i2.ActiveStateHandler? callback) =>
|
||||||
super.noSuchMethod(
|
super.noSuchMethod(
|
||||||
|
@ -66,21 +67,25 @@ class MockClientTransportConnection extends _i1.Mock
|
||||||
),
|
),
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Future<void> get onInitialPeerSettingsReceived => (super.noSuchMethod(
|
_i3.Future<void> get onInitialPeerSettingsReceived => (super.noSuchMethod(
|
||||||
Invocation.getter(#onInitialPeerSettingsReceived),
|
Invocation.getter(#onInitialPeerSettingsReceived),
|
||||||
returnValue: _i3.Future<void>.value(),
|
returnValue: _i3.Future<void>.value(),
|
||||||
) as _i3.Future<void>);
|
) as _i3.Future<void>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Stream<int> get onPingReceived => (super.noSuchMethod(
|
_i3.Stream<int> get onPingReceived => (super.noSuchMethod(
|
||||||
Invocation.getter(#onPingReceived),
|
Invocation.getter(#onPingReceived),
|
||||||
returnValue: _i3.Stream<int>.empty(),
|
returnValue: _i3.Stream<int>.empty(),
|
||||||
) as _i3.Stream<int>);
|
) as _i3.Stream<int>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Stream<void> get onFrameReceived => (super.noSuchMethod(
|
_i3.Stream<void> get onFrameReceived => (super.noSuchMethod(
|
||||||
Invocation.getter(#onFrameReceived),
|
Invocation.getter(#onFrameReceived),
|
||||||
returnValue: _i3.Stream<void>.empty(),
|
returnValue: _i3.Stream<void>.empty(),
|
||||||
) as _i3.Stream<void>);
|
) as _i3.Stream<void>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i2.ClientTransportStream makeRequest(
|
_i2.ClientTransportStream makeRequest(
|
||||||
List<_i4.Header>? headers, {
|
List<_i4.Header>? headers, {
|
||||||
|
@ -101,6 +106,7 @@ class MockClientTransportConnection extends _i1.Mock
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
) as _i2.ClientTransportStream);
|
) as _i2.ClientTransportStream);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Future<dynamic> ping() => (super.noSuchMethod(
|
_i3.Future<dynamic> ping() => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -109,6 +115,7 @@ class MockClientTransportConnection extends _i1.Mock
|
||||||
),
|
),
|
||||||
returnValue: _i3.Future<dynamic>.value(),
|
returnValue: _i3.Future<dynamic>.value(),
|
||||||
) as _i3.Future<dynamic>);
|
) as _i3.Future<dynamic>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Future<dynamic> finish() => (super.noSuchMethod(
|
_i3.Future<dynamic> finish() => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -117,6 +124,7 @@ class MockClientTransportConnection extends _i1.Mock
|
||||||
),
|
),
|
||||||
returnValue: _i3.Future<dynamic>.value(),
|
returnValue: _i3.Future<dynamic>.value(),
|
||||||
) as _i3.Future<dynamic>);
|
) as _i3.Future<dynamic>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Future<dynamic> terminate([int? errorCode]) => (super.noSuchMethod(
|
_i3.Future<dynamic> terminate([int? errorCode]) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -141,16 +149,19 @@ class MockClientTransportStream extends _i1.Mock
|
||||||
Invocation.getter(#peerPushes),
|
Invocation.getter(#peerPushes),
|
||||||
returnValue: _i3.Stream<_i2.TransportStreamPush>.empty(),
|
returnValue: _i3.Stream<_i2.TransportStreamPush>.empty(),
|
||||||
) as _i3.Stream<_i2.TransportStreamPush>);
|
) as _i3.Stream<_i2.TransportStreamPush>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get id => (super.noSuchMethod(
|
int get id => (super.noSuchMethod(
|
||||||
Invocation.getter(#id),
|
Invocation.getter(#id),
|
||||||
returnValue: 0,
|
returnValue: 0,
|
||||||
) as int);
|
) as int);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.Stream<_i2.StreamMessage> get incomingMessages => (super.noSuchMethod(
|
_i3.Stream<_i2.StreamMessage> get incomingMessages => (super.noSuchMethod(
|
||||||
Invocation.getter(#incomingMessages),
|
Invocation.getter(#incomingMessages),
|
||||||
returnValue: _i3.Stream<_i2.StreamMessage>.empty(),
|
returnValue: _i3.Stream<_i2.StreamMessage>.empty(),
|
||||||
) as _i3.Stream<_i2.StreamMessage>);
|
) as _i3.Stream<_i2.StreamMessage>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
_i3.StreamSink<_i2.StreamMessage> get outgoingMessages => (super.noSuchMethod(
|
_i3.StreamSink<_i2.StreamMessage> get outgoingMessages => (super.noSuchMethod(
|
||||||
Invocation.getter(#outgoingMessages),
|
Invocation.getter(#outgoingMessages),
|
||||||
|
@ -159,6 +170,7 @@ class MockClientTransportStream extends _i1.Mock
|
||||||
Invocation.getter(#outgoingMessages),
|
Invocation.getter(#outgoingMessages),
|
||||||
),
|
),
|
||||||
) as _i3.StreamSink<_i2.StreamMessage>);
|
) as _i3.StreamSink<_i2.StreamMessage>);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
set onTerminated(void Function(int?)? value) => super.noSuchMethod(
|
set onTerminated(void Function(int?)? value) => super.noSuchMethod(
|
||||||
Invocation.setter(
|
Invocation.setter(
|
||||||
|
@ -167,6 +179,7 @@ class MockClientTransportStream extends _i1.Mock
|
||||||
),
|
),
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void terminate() => super.noSuchMethod(
|
void terminate() => super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
|
@ -175,6 +188,7 @@ class MockClientTransportStream extends _i1.Mock
|
||||||
),
|
),
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void sendHeaders(
|
void sendHeaders(
|
||||||
List<_i4.Header>? headers, {
|
List<_i4.Header>? headers, {
|
||||||
|
@ -188,6 +202,7 @@ class MockClientTransportStream extends _i1.Mock
|
||||||
),
|
),
|
||||||
returnValueForMissingStub: null,
|
returnValueForMissingStub: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void sendData(
|
void sendData(
|
||||||
List<int>? bytes, {
|
List<int>? bytes, {
|
||||||
|
|
Loading…
Reference in New Issue