|
| 1 | +// Mocks generated by Mockito 5.4.5 from annotations |
| 2 | +// in parse_server_sdk/test/src/network/parse_query_test.dart. |
| 3 | +// Do not manually edit this file. |
| 4 | + |
| 5 | +// ignore_for_file: no_leading_underscores_for_library_prefixes |
| 6 | +import 'dart:async' as _i3; |
| 7 | + |
| 8 | +import 'package:mockito/mockito.dart' as _i1; |
| 9 | +import 'package:parse_server_sdk/parse_server_sdk.dart' as _i2; |
| 10 | + |
| 11 | +// ignore_for_file: type=lint |
| 12 | +// ignore_for_file: avoid_redundant_argument_values |
| 13 | +// ignore_for_file: avoid_setters_without_getters |
| 14 | +// ignore_for_file: comment_references |
| 15 | +// ignore_for_file: deprecated_member_use |
| 16 | +// ignore_for_file: deprecated_member_use_from_same_package |
| 17 | +// ignore_for_file: implementation_imports |
| 18 | +// ignore_for_file: invalid_use_of_visible_for_testing_member |
| 19 | +// ignore_for_file: must_be_immutable |
| 20 | +// ignore_for_file: prefer_const_constructors |
| 21 | +// ignore_for_file: unnecessary_parenthesis |
| 22 | +// ignore_for_file: camel_case_types |
| 23 | +// ignore_for_file: subtype_of_sealed_class |
| 24 | + |
| 25 | +class _FakeParseCoreData_0 extends _i1.SmartFake implements _i2.ParseCoreData { |
| 26 | + _FakeParseCoreData_0(Object parent, Invocation parentInvocation) |
| 27 | + : super(parent, parentInvocation); |
| 28 | +} |
| 29 | + |
| 30 | +class _FakeParseNetworkResponse_1 extends _i1.SmartFake |
| 31 | + implements _i2.ParseNetworkResponse { |
| 32 | + _FakeParseNetworkResponse_1(Object parent, Invocation parentInvocation) |
| 33 | + : super(parent, parentInvocation); |
| 34 | +} |
| 35 | + |
| 36 | +class _FakeParseNetworkByteResponse_2 extends _i1.SmartFake |
| 37 | + implements _i2.ParseNetworkByteResponse { |
| 38 | + _FakeParseNetworkByteResponse_2(Object parent, Invocation parentInvocation) |
| 39 | + : super(parent, parentInvocation); |
| 40 | +} |
| 41 | + |
| 42 | +/// A class which mocks [ParseClient]. |
| 43 | +/// |
| 44 | +/// See the documentation for Mockito's code generation for more information. |
| 45 | +class MockParseClient extends _i1.Mock implements _i2.ParseClient { |
| 46 | + MockParseClient() { |
| 47 | + _i1.throwOnMissingStub(this); |
| 48 | + } |
| 49 | + |
| 50 | + @override |
| 51 | + _i2.ParseCoreData get data => |
| 52 | + (super.noSuchMethod( |
| 53 | + Invocation.getter(#data), |
| 54 | + returnValue: _FakeParseCoreData_0(this, Invocation.getter(#data)), |
| 55 | + ) |
| 56 | + as _i2.ParseCoreData); |
| 57 | + |
| 58 | + @override |
| 59 | + _i3.Future<_i2.ParseNetworkResponse> get( |
| 60 | + String? path, { |
| 61 | + _i2.ParseNetworkOptions? options, |
| 62 | + _i2.ProgressCallback? onReceiveProgress, |
| 63 | + }) => |
| 64 | + (super.noSuchMethod( |
| 65 | + Invocation.method( |
| 66 | + #get, |
| 67 | + [path], |
| 68 | + {#options: options, #onReceiveProgress: onReceiveProgress}, |
| 69 | + ), |
| 70 | + returnValue: _i3.Future<_i2.ParseNetworkResponse>.value( |
| 71 | + _FakeParseNetworkResponse_1( |
| 72 | + this, |
| 73 | + Invocation.method( |
| 74 | + #get, |
| 75 | + [path], |
| 76 | + {#options: options, #onReceiveProgress: onReceiveProgress}, |
| 77 | + ), |
| 78 | + ), |
| 79 | + ), |
| 80 | + ) |
| 81 | + as _i3.Future<_i2.ParseNetworkResponse>); |
| 82 | + |
| 83 | + @override |
| 84 | + _i3.Future<_i2.ParseNetworkResponse> put( |
| 85 | + String? path, { |
| 86 | + String? data, |
| 87 | + _i2.ParseNetworkOptions? options, |
| 88 | + }) => |
| 89 | + (super.noSuchMethod( |
| 90 | + Invocation.method(#put, [path], {#data: data, #options: options}), |
| 91 | + returnValue: _i3.Future<_i2.ParseNetworkResponse>.value( |
| 92 | + _FakeParseNetworkResponse_1( |
| 93 | + this, |
| 94 | + Invocation.method( |
| 95 | + #put, |
| 96 | + [path], |
| 97 | + {#data: data, #options: options}, |
| 98 | + ), |
| 99 | + ), |
| 100 | + ), |
| 101 | + ) |
| 102 | + as _i3.Future<_i2.ParseNetworkResponse>); |
| 103 | + |
| 104 | + @override |
| 105 | + _i3.Future<_i2.ParseNetworkResponse> post( |
| 106 | + String? path, { |
| 107 | + String? data, |
| 108 | + _i2.ParseNetworkOptions? options, |
| 109 | + }) => |
| 110 | + (super.noSuchMethod( |
| 111 | + Invocation.method(#post, [path], {#data: data, #options: options}), |
| 112 | + returnValue: _i3.Future<_i2.ParseNetworkResponse>.value( |
| 113 | + _FakeParseNetworkResponse_1( |
| 114 | + this, |
| 115 | + Invocation.method( |
| 116 | + #post, |
| 117 | + [path], |
| 118 | + {#data: data, #options: options}, |
| 119 | + ), |
| 120 | + ), |
| 121 | + ), |
| 122 | + ) |
| 123 | + as _i3.Future<_i2.ParseNetworkResponse>); |
| 124 | + |
| 125 | + @override |
| 126 | + _i3.Future<_i2.ParseNetworkResponse> postBytes( |
| 127 | + String? path, { |
| 128 | + _i3.Stream<List<int>>? data, |
| 129 | + _i2.ParseNetworkOptions? options, |
| 130 | + _i2.ProgressCallback? onSendProgress, |
| 131 | + dynamic cancelToken, |
| 132 | + }) => |
| 133 | + (super.noSuchMethod( |
| 134 | + Invocation.method( |
| 135 | + #postBytes, |
| 136 | + [path], |
| 137 | + { |
| 138 | + #data: data, |
| 139 | + #options: options, |
| 140 | + #onSendProgress: onSendProgress, |
| 141 | + #cancelToken: cancelToken, |
| 142 | + }, |
| 143 | + ), |
| 144 | + returnValue: _i3.Future<_i2.ParseNetworkResponse>.value( |
| 145 | + _FakeParseNetworkResponse_1( |
| 146 | + this, |
| 147 | + Invocation.method( |
| 148 | + #postBytes, |
| 149 | + [path], |
| 150 | + { |
| 151 | + #data: data, |
| 152 | + #options: options, |
| 153 | + #onSendProgress: onSendProgress, |
| 154 | + #cancelToken: cancelToken, |
| 155 | + }, |
| 156 | + ), |
| 157 | + ), |
| 158 | + ), |
| 159 | + ) |
| 160 | + as _i3.Future<_i2.ParseNetworkResponse>); |
| 161 | + |
| 162 | + @override |
| 163 | + _i3.Future<_i2.ParseNetworkResponse> delete( |
| 164 | + String? path, { |
| 165 | + _i2.ParseNetworkOptions? options, |
| 166 | + }) => |
| 167 | + (super.noSuchMethod( |
| 168 | + Invocation.method(#delete, [path], {#options: options}), |
| 169 | + returnValue: _i3.Future<_i2.ParseNetworkResponse>.value( |
| 170 | + _FakeParseNetworkResponse_1( |
| 171 | + this, |
| 172 | + Invocation.method(#delete, [path], {#options: options}), |
| 173 | + ), |
| 174 | + ), |
| 175 | + ) |
| 176 | + as _i3.Future<_i2.ParseNetworkResponse>); |
| 177 | + |
| 178 | + @override |
| 179 | + _i3.Future<_i2.ParseNetworkByteResponse> getBytes( |
| 180 | + String? path, { |
| 181 | + _i2.ParseNetworkOptions? options, |
| 182 | + _i2.ProgressCallback? onReceiveProgress, |
| 183 | + dynamic cancelToken, |
| 184 | + }) => |
| 185 | + (super.noSuchMethod( |
| 186 | + Invocation.method( |
| 187 | + #getBytes, |
| 188 | + [path], |
| 189 | + { |
| 190 | + #options: options, |
| 191 | + #onReceiveProgress: onReceiveProgress, |
| 192 | + #cancelToken: cancelToken, |
| 193 | + }, |
| 194 | + ), |
| 195 | + returnValue: _i3.Future<_i2.ParseNetworkByteResponse>.value( |
| 196 | + _FakeParseNetworkByteResponse_2( |
| 197 | + this, |
| 198 | + Invocation.method( |
| 199 | + #getBytes, |
| 200 | + [path], |
| 201 | + { |
| 202 | + #options: options, |
| 203 | + #onReceiveProgress: onReceiveProgress, |
| 204 | + #cancelToken: cancelToken, |
| 205 | + }, |
| 206 | + ), |
| 207 | + ), |
| 208 | + ), |
| 209 | + ) |
| 210 | + as _i3.Future<_i2.ParseNetworkByteResponse>); |
| 211 | +} |
0 commit comments