You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

90 lines
2.8 KiB

  1. // Mocks generated by Mockito 5.4.4 from annotations
  2. // in url_launcher_ios/test/url_launcher_ios_test.dart.
  3. // Do not manually edit this file.
  4. // ignore_for_file: no_leading_underscores_for_library_prefixes
  5. import 'dart:async' as _i4;
  6. import 'package:mockito/mockito.dart' as _i1;
  7. import 'package:mockito/src/dummies.dart' as _i3;
  8. import 'package:url_launcher_ios/src/messages.g.dart' as _i2;
  9. // ignore_for_file: type=lint
  10. // ignore_for_file: avoid_redundant_argument_values
  11. // ignore_for_file: avoid_setters_without_getters
  12. // ignore_for_file: comment_references
  13. // ignore_for_file: deprecated_member_use
  14. // ignore_for_file: deprecated_member_use_from_same_package
  15. // ignore_for_file: implementation_imports
  16. // ignore_for_file: invalid_use_of_visible_for_testing_member
  17. // ignore_for_file: prefer_const_constructors
  18. // ignore_for_file: unnecessary_parenthesis
  19. // ignore_for_file: camel_case_types
  20. // ignore_for_file: subtype_of_sealed_class
  21. /// A class which mocks [UrlLauncherApi].
  22. ///
  23. /// See the documentation for Mockito's code generation for more information.
  24. class MockUrlLauncherApi extends _i1.Mock implements _i2.UrlLauncherApi {
  25. MockUrlLauncherApi() {
  26. _i1.throwOnMissingStub(this);
  27. }
  28. @override
  29. String get pigeonVar_messageChannelSuffix => (super.noSuchMethod(
  30. Invocation.getter(#pigeonVar_messageChannelSuffix),
  31. returnValue: _i3.dummyValue<String>(
  32. this,
  33. Invocation.getter(#pigeonVar_messageChannelSuffix),
  34. ),
  35. ) as String);
  36. @override
  37. _i4.Future<_i2.LaunchResult> canLaunchUrl(String? url) => (super.noSuchMethod(
  38. Invocation.method(
  39. #canLaunchUrl,
  40. [url],
  41. ),
  42. returnValue:
  43. _i4.Future<_i2.LaunchResult>.value(_i2.LaunchResult.success),
  44. ) as _i4.Future<_i2.LaunchResult>);
  45. @override
  46. _i4.Future<_i2.LaunchResult> launchUrl(
  47. String? url,
  48. bool? universalLinksOnly,
  49. ) =>
  50. (super.noSuchMethod(
  51. Invocation.method(
  52. #launchUrl,
  53. [
  54. url,
  55. universalLinksOnly,
  56. ],
  57. ),
  58. returnValue:
  59. _i4.Future<_i2.LaunchResult>.value(_i2.LaunchResult.success),
  60. ) as _i4.Future<_i2.LaunchResult>);
  61. @override
  62. _i4.Future<_i2.InAppLoadResult> openUrlInSafariViewController(String? url) =>
  63. (super.noSuchMethod(
  64. Invocation.method(
  65. #openUrlInSafariViewController,
  66. [url],
  67. ),
  68. returnValue:
  69. _i4.Future<_i2.InAppLoadResult>.value(_i2.InAppLoadResult.success),
  70. ) as _i4.Future<_i2.InAppLoadResult>);
  71. @override
  72. _i4.Future<void> closeSafariViewController() => (super.noSuchMethod(
  73. Invocation.method(
  74. #closeSafariViewController,
  75. [],
  76. ),
  77. returnValue: _i4.Future<void>.value(),
  78. returnValueForMissingStub: _i4.Future<void>.value(),
  79. ) as _i4.Future<void>);
  80. }