LCOV - code coverage report
Current view: top level - test-doubles/platform/mocks - platform_test_doubles.mocks.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 28 0.0 %
Date: 2022-03-03 12:15:14 Functions: 0 0 -

          Line data    Source code
       1             : // Mocks generated by Mockito 5.0.16 from annotations
       2             : // in redfire_test/src/test-doubles/platform/mocks/platform_test_doubles.dart.
       3             : // Do not manually edit this file.
       4             : 
       5             : import 'dart:async' as _i4;
       6             : import 'dart:ui' as _i5;
       7             : 
       8             : import 'package:mockito/mockito.dart' as _i1;
       9             : import 'package:redfire/src/platform/plugins/wrappers/platform_wrapper.dart'
      10             :     as _i2;
      11             : import 'package:redfire/src/platform/plugins/wrappers/url_launcher_wrapper.dart'
      12             :     as _i3;
      13             : 
      14             : // ignore_for_file: avoid_redundant_argument_values
      15             : // ignore_for_file: avoid_setters_without_getters
      16             : // ignore_for_file: comment_references
      17             : // ignore_for_file: implementation_imports
      18             : // ignore_for_file: invalid_use_of_visible_for_testing_member
      19             : // ignore_for_file: prefer_const_constructors
      20             : // ignore_for_file: unnecessary_parenthesis
      21             : // ignore_for_file: camel_case_types
      22             : 
      23             : /// A class which mocks [PlatformWrapper].
      24             : ///
      25             : /// See the documentation for Mockito's code generation for more information.
      26             : class MockPlatformWrapper extends _i1.Mock implements _i2.PlatformWrapper {
      27           0 :   MockPlatformWrapper() {
      28           0 :     _i1.throwOnMissingStub(this);
      29             :   }
      30             : 
      31           0 :   @override
      32             :   bool get isIOS =>
      33           0 :       (super.noSuchMethod(Invocation.getter(#isIOS), returnValue: false)
      34             :           as bool);
      35           0 :   @override
      36             :   bool get isAndroid =>
      37           0 :       (super.noSuchMethod(Invocation.getter(#isAndroid), returnValue: false)
      38             :           as bool);
      39           0 :   @override
      40             :   bool get isMacOS =>
      41           0 :       (super.noSuchMethod(Invocation.getter(#isMacOS), returnValue: false)
      42             :           as bool);
      43           0 :   @override
      44             :   bool get isFuchsia =>
      45           0 :       (super.noSuchMethod(Invocation.getter(#isFuchsia), returnValue: false)
      46             :           as bool);
      47           0 :   @override
      48             :   bool get isLinux =>
      49           0 :       (super.noSuchMethod(Invocation.getter(#isLinux), returnValue: false)
      50             :           as bool);
      51           0 :   @override
      52             :   bool get isWindows =>
      53           0 :       (super.noSuchMethod(Invocation.getter(#isWindows), returnValue: false)
      54             :           as bool);
      55           0 :   @override
      56           0 :   String toString() => super.toString();
      57             : }
      58             : 
      59             : /// A class which mocks [UrlLauncherWrapper].
      60             : ///
      61             : /// See the documentation for Mockito's code generation for more information.
      62             : class MockUrlLauncherWrapper extends _i1.Mock
      63             :     implements _i3.UrlLauncherWrapper {
      64           0 :   MockUrlLauncherWrapper() {
      65           0 :     _i1.throwOnMissingStub(this);
      66             :   }
      67             : 
      68           0 :   @override
      69             :   _i4.Future<bool> launch(String? urlString,
      70             :           {bool? forceSafariVC,
      71             :           bool? forceWebView = false,
      72             :           bool? enableJavaScript = false,
      73             :           bool? enableDomStorage = false,
      74             :           bool? universalLinksOnly = false,
      75             :           Map<String, String>? headers = const {},
      76             :           _i5.Brightness? statusBarBrightness,
      77             :           String? webOnlyWindowName}) =>
      78           0 :       (super.noSuchMethod(
      79           0 :           Invocation.method(#launch, [
      80             :             urlString
      81           0 :           ], {
      82             :             #forceSafariVC: forceSafariVC,
      83             :             #forceWebView: forceWebView,
      84             :             #enableJavaScript: enableJavaScript,
      85             :             #enableDomStorage: enableDomStorage,
      86             :             #universalLinksOnly: universalLinksOnly,
      87             :             #headers: headers,
      88             :             #statusBarBrightness: statusBarBrightness,
      89             :             #webOnlyWindowName: webOnlyWindowName
      90             :           }),
      91           0 :           returnValue: Future<bool>.value(false)) as _i4.Future<bool>);
      92           0 :   @override
      93             :   _i4.Future<bool> canLaunch(String? urlString) =>
      94           0 :       (super.noSuchMethod(Invocation.method(#canLaunch, [urlString]),
      95           0 :           returnValue: Future<bool>.value(false)) as _i4.Future<bool>);
      96           0 :   @override
      97           0 :   String toString() => super.toString();
      98             : }

Generated by: LCOV version 1.13