256 lines
8.7 KiB
Dart
256 lines
8.7 KiB
Dart
// 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<String>(
|
|
this,
|
|
Invocation.getter(#pigeonVar_messageChannelSuffix),
|
|
),
|
|
returnValueForMissingStub: _i3.dummyValue<String>(
|
|
this,
|
|
Invocation.getter(#pigeonVar_messageChannelSuffix),
|
|
),
|
|
)
|
|
as String);
|
|
|
|
@override
|
|
_i4.Future<void> initialize() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#initialize, []),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<int> createForPlatformView(_i2.CreationOptions? options) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#createForPlatformView, [options]),
|
|
returnValue: _i4.Future<int>.value(0),
|
|
returnValueForMissingStub: _i4.Future<int>.value(0),
|
|
)
|
|
as _i4.Future<int>);
|
|
|
|
@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<void> dispose(int? playerId) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#dispose, [playerId]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<void> setMixWithOthers(bool? mixWithOthers) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#setMixWithOthers, [mixWithOthers]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<String> getLookupKeyForAsset(String? asset, String? packageName) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#getLookupKeyForAsset, [asset, packageName]),
|
|
returnValue: _i4.Future<String>.value(
|
|
_i3.dummyValue<String>(
|
|
this,
|
|
Invocation.method(#getLookupKeyForAsset, [asset, packageName]),
|
|
),
|
|
),
|
|
returnValueForMissingStub: _i4.Future<String>.value(
|
|
_i3.dummyValue<String>(
|
|
this,
|
|
Invocation.method(#getLookupKeyForAsset, [asset, packageName]),
|
|
),
|
|
),
|
|
)
|
|
as _i4.Future<String>);
|
|
}
|
|
|
|
/// 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<String>(
|
|
this,
|
|
Invocation.getter(#pigeonVar_messageChannelSuffix),
|
|
),
|
|
returnValueForMissingStub: _i3.dummyValue<String>(
|
|
this,
|
|
Invocation.getter(#pigeonVar_messageChannelSuffix),
|
|
),
|
|
)
|
|
as String);
|
|
|
|
@override
|
|
_i4.Future<void> setLooping(bool? looping) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#setLooping, [looping]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<void> setVolume(double? volume) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#setVolume, [volume]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<void> setPlaybackSpeed(double? speed) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#setPlaybackSpeed, [speed]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<void> play() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#play, []),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<void> pause() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#pause, []),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<void> seekTo(int? position) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#seekTo, [position]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
|
|
@override
|
|
_i4.Future<int> getCurrentPosition() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#getCurrentPosition, []),
|
|
returnValue: _i4.Future<int>.value(0),
|
|
returnValueForMissingStub: _i4.Future<int>.value(0),
|
|
)
|
|
as _i4.Future<int>);
|
|
|
|
@override
|
|
_i4.Future<int> getBufferedPosition() =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#getBufferedPosition, []),
|
|
returnValue: _i4.Future<int>.value(0),
|
|
returnValueForMissingStub: _i4.Future<int>.value(0),
|
|
)
|
|
as _i4.Future<int>);
|
|
|
|
@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<void> selectAudioTrack(int? groupIndex, int? trackIndex) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(#selectAudioTrack, [groupIndex, trackIndex]),
|
|
returnValue: _i4.Future<void>.value(),
|
|
returnValueForMissingStub: _i4.Future<void>.value(),
|
|
)
|
|
as _i4.Future<void>);
|
|
}
|