// Mocks generated by Mockito 5.4.6 from annotations // in video_player_android/test/android_video_player_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i4; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i3; import 'package:video_player_android/src/messages.g.dart' as _i2; // 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: must_be_immutable // ignore_for_file: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class class _FakeTexturePlayerIds_0 extends _i1.SmartFake implements _i2.TexturePlayerIds { _FakeTexturePlayerIds_0(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } class _FakeNativeAudioTrackData_1 extends _i1.SmartFake implements _i2.NativeAudioTrackData { _FakeNativeAudioTrackData_1(Object parent, Invocation parentInvocation) : super(parent, parentInvocation); } /// A class which mocks [AndroidVideoPlayerApi]. /// /// See the documentation for Mockito's code generation for more information. class MockAndroidVideoPlayerApi extends _i1.Mock implements _i2.AndroidVideoPlayerApi { @override String get pigeonVar_messageChannelSuffix => (super.noSuchMethod( Invocation.getter(#pigeonVar_messageChannelSuffix), returnValue: _i3.dummyValue( this, Invocation.getter(#pigeonVar_messageChannelSuffix), ), returnValueForMissingStub: _i3.dummyValue( this, Invocation.getter(#pigeonVar_messageChannelSuffix), ), ) as String); @override _i4.Future initialize() => (super.noSuchMethod( Invocation.method(#initialize, []), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future createForPlatformView(_i2.CreationOptions? options) => (super.noSuchMethod( Invocation.method(#createForPlatformView, [options]), returnValue: _i4.Future.value(0), returnValueForMissingStub: _i4.Future.value(0), ) as _i4.Future); @override _i4.Future<_i2.TexturePlayerIds> createForTextureView( _i2.CreationOptions? options, ) => (super.noSuchMethod( Invocation.method(#createForTextureView, [options]), returnValue: _i4.Future<_i2.TexturePlayerIds>.value( _FakeTexturePlayerIds_0( this, Invocation.method(#createForTextureView, [options]), ), ), returnValueForMissingStub: _i4.Future<_i2.TexturePlayerIds>.value( _FakeTexturePlayerIds_0( this, Invocation.method(#createForTextureView, [options]), ), ), ) as _i4.Future<_i2.TexturePlayerIds>); @override _i4.Future dispose(int? playerId) => (super.noSuchMethod( Invocation.method(#dispose, [playerId]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future setMixWithOthers(bool? mixWithOthers) => (super.noSuchMethod( Invocation.method(#setMixWithOthers, [mixWithOthers]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future getLookupKeyForAsset(String? asset, String? packageName) => (super.noSuchMethod( Invocation.method(#getLookupKeyForAsset, [asset, packageName]), returnValue: _i4.Future.value( _i3.dummyValue( this, Invocation.method(#getLookupKeyForAsset, [asset, packageName]), ), ), returnValueForMissingStub: _i4.Future.value( _i3.dummyValue( this, Invocation.method(#getLookupKeyForAsset, [asset, packageName]), ), ), ) as _i4.Future); } /// A class which mocks [VideoPlayerInstanceApi]. /// /// See the documentation for Mockito's code generation for more information. class MockVideoPlayerInstanceApi extends _i1.Mock implements _i2.VideoPlayerInstanceApi { @override String get pigeonVar_messageChannelSuffix => (super.noSuchMethod( Invocation.getter(#pigeonVar_messageChannelSuffix), returnValue: _i3.dummyValue( this, Invocation.getter(#pigeonVar_messageChannelSuffix), ), returnValueForMissingStub: _i3.dummyValue( this, Invocation.getter(#pigeonVar_messageChannelSuffix), ), ) as String); @override _i4.Future setLooping(bool? looping) => (super.noSuchMethod( Invocation.method(#setLooping, [looping]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future setVolume(double? volume) => (super.noSuchMethod( Invocation.method(#setVolume, [volume]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future setPlaybackSpeed(double? speed) => (super.noSuchMethod( Invocation.method(#setPlaybackSpeed, [speed]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future play() => (super.noSuchMethod( Invocation.method(#play, []), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future pause() => (super.noSuchMethod( Invocation.method(#pause, []), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future seekTo(int? position) => (super.noSuchMethod( Invocation.method(#seekTo, [position]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); @override _i4.Future getCurrentPosition() => (super.noSuchMethod( Invocation.method(#getCurrentPosition, []), returnValue: _i4.Future.value(0), returnValueForMissingStub: _i4.Future.value(0), ) as _i4.Future); @override _i4.Future getBufferedPosition() => (super.noSuchMethod( Invocation.method(#getBufferedPosition, []), returnValue: _i4.Future.value(0), returnValueForMissingStub: _i4.Future.value(0), ) as _i4.Future); @override _i4.Future<_i2.NativeAudioTrackData> getAudioTracks() => (super.noSuchMethod( Invocation.method(#getAudioTracks, []), returnValue: _i4.Future<_i2.NativeAudioTrackData>.value( _FakeNativeAudioTrackData_1( this, Invocation.method(#getAudioTracks, []), ), ), returnValueForMissingStub: _i4.Future<_i2.NativeAudioTrackData>.value( _FakeNativeAudioTrackData_1( this, Invocation.method(#getAudioTracks, []), ), ), ) as _i4.Future<_i2.NativeAudioTrackData>); @override _i4.Future selectAudioTrack(int? groupIndex, int? trackIndex) => (super.noSuchMethod( Invocation.method(#selectAudioTrack, [groupIndex, trackIndex]), returnValue: _i4.Future.value(), returnValueForMissingStub: _i4.Future.value(), ) as _i4.Future); }