-
Notifications
You must be signed in to change notification settings - Fork 26.8k
/
google_maps_controller_test.mocks.dart
209 lines (201 loc) · 8.77 KB
/
google_maps_controller_test.mocks.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Mocks generated by Mockito 5.0.15 from annotations
// in google_maps_flutter_web_integration_tests/integration_test/google_maps_controller_test.dart.
// Do not manually edit this file.
import 'package:google_maps/google_maps.dart' as _i2;
import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart'
as _i4;
import 'package:google_maps_flutter_web/google_maps_flutter_web.dart' as _i3;
import 'package:mockito/mockito.dart' as _i1;
// ignore_for_file: avoid_redundant_argument_values
// ignore_for_file: avoid_setters_without_getters
// ignore_for_file: comment_references
// ignore_for_file: implementation_imports
// ignore_for_file: invalid_use_of_visible_for_testing_member
// ignore_for_file: prefer_const_constructors
// ignore_for_file: unnecessary_parenthesis
class _FakeGMap_0 extends _i1.Fake implements _i2.GMap {}
/// A class which mocks [CirclesController].
///
/// See the documentation for Mockito's code generation for more information.
class MockCirclesController extends _i1.Mock implements _i3.CirclesController {
@override
Map<_i4.CircleId, _i3.CircleController> get circles =>
(super.noSuchMethod(Invocation.getter(#circles),
returnValue: <_i4.CircleId, _i3.CircleController>{})
as Map<_i4.CircleId, _i3.CircleController>);
@override
_i2.GMap get googleMap => (super.noSuchMethod(Invocation.getter(#googleMap),
returnValue: _FakeGMap_0()) as _i2.GMap);
@override
set googleMap(_i2.GMap? _googleMap) =>
super.noSuchMethod(Invocation.setter(#googleMap, _googleMap),
returnValueForMissingStub: null);
@override
int get mapId =>
(super.noSuchMethod(Invocation.getter(#mapId), returnValue: 0) as int);
@override
set mapId(int? _mapId) =>
super.noSuchMethod(Invocation.setter(#mapId, _mapId),
returnValueForMissingStub: null);
@override
void addCircles(Set<_i4.Circle>? circlesToAdd) =>
super.noSuchMethod(Invocation.method(#addCircles, [circlesToAdd]),
returnValueForMissingStub: null);
@override
void changeCircles(Set<_i4.Circle>? circlesToChange) =>
super.noSuchMethod(Invocation.method(#changeCircles, [circlesToChange]),
returnValueForMissingStub: null);
@override
void removeCircles(Set<_i4.CircleId>? circleIdsToRemove) =>
super.noSuchMethod(Invocation.method(#removeCircles, [circleIdsToRemove]),
returnValueForMissingStub: null);
@override
void bindToMap(int? mapId, _i2.GMap? googleMap) =>
super.noSuchMethod(Invocation.method(#bindToMap, [mapId, googleMap]),
returnValueForMissingStub: null);
@override
String toString() => super.toString();
}
/// A class which mocks [PolygonsController].
///
/// See the documentation for Mockito's code generation for more information.
class MockPolygonsController extends _i1.Mock
implements _i3.PolygonsController {
@override
Map<_i4.PolygonId, _i3.PolygonController> get polygons =>
(super.noSuchMethod(Invocation.getter(#polygons),
returnValue: <_i4.PolygonId, _i3.PolygonController>{})
as Map<_i4.PolygonId, _i3.PolygonController>);
@override
_i2.GMap get googleMap => (super.noSuchMethod(Invocation.getter(#googleMap),
returnValue: _FakeGMap_0()) as _i2.GMap);
@override
set googleMap(_i2.GMap? _googleMap) =>
super.noSuchMethod(Invocation.setter(#googleMap, _googleMap),
returnValueForMissingStub: null);
@override
int get mapId =>
(super.noSuchMethod(Invocation.getter(#mapId), returnValue: 0) as int);
@override
set mapId(int? _mapId) =>
super.noSuchMethod(Invocation.setter(#mapId, _mapId),
returnValueForMissingStub: null);
@override
void addPolygons(Set<_i4.Polygon>? polygonsToAdd) =>
super.noSuchMethod(Invocation.method(#addPolygons, [polygonsToAdd]),
returnValueForMissingStub: null);
@override
void changePolygons(Set<_i4.Polygon>? polygonsToChange) =>
super.noSuchMethod(Invocation.method(#changePolygons, [polygonsToChange]),
returnValueForMissingStub: null);
@override
void removePolygons(Set<_i4.PolygonId>? polygonIdsToRemove) => super
.noSuchMethod(Invocation.method(#removePolygons, [polygonIdsToRemove]),
returnValueForMissingStub: null);
@override
void bindToMap(int? mapId, _i2.GMap? googleMap) =>
super.noSuchMethod(Invocation.method(#bindToMap, [mapId, googleMap]),
returnValueForMissingStub: null);
@override
String toString() => super.toString();
}
/// A class which mocks [PolylinesController].
///
/// See the documentation for Mockito's code generation for more information.
class MockPolylinesController extends _i1.Mock
implements _i3.PolylinesController {
@override
Map<_i4.PolylineId, _i3.PolylineController> get lines =>
(super.noSuchMethod(Invocation.getter(#lines),
returnValue: <_i4.PolylineId, _i3.PolylineController>{})
as Map<_i4.PolylineId, _i3.PolylineController>);
@override
_i2.GMap get googleMap => (super.noSuchMethod(Invocation.getter(#googleMap),
returnValue: _FakeGMap_0()) as _i2.GMap);
@override
set googleMap(_i2.GMap? _googleMap) =>
super.noSuchMethod(Invocation.setter(#googleMap, _googleMap),
returnValueForMissingStub: null);
@override
int get mapId =>
(super.noSuchMethod(Invocation.getter(#mapId), returnValue: 0) as int);
@override
set mapId(int? _mapId) =>
super.noSuchMethod(Invocation.setter(#mapId, _mapId),
returnValueForMissingStub: null);
@override
void addPolylines(Set<_i4.Polyline>? polylinesToAdd) =>
super.noSuchMethod(Invocation.method(#addPolylines, [polylinesToAdd]),
returnValueForMissingStub: null);
@override
void changePolylines(Set<_i4.Polyline>? polylinesToChange) => super
.noSuchMethod(Invocation.method(#changePolylines, [polylinesToChange]),
returnValueForMissingStub: null);
@override
void removePolylines(Set<_i4.PolylineId>? polylineIdsToRemove) => super
.noSuchMethod(Invocation.method(#removePolylines, [polylineIdsToRemove]),
returnValueForMissingStub: null);
@override
void bindToMap(int? mapId, _i2.GMap? googleMap) =>
super.noSuchMethod(Invocation.method(#bindToMap, [mapId, googleMap]),
returnValueForMissingStub: null);
@override
String toString() => super.toString();
}
/// A class which mocks [MarkersController].
///
/// See the documentation for Mockito's code generation for more information.
class MockMarkersController extends _i1.Mock implements _i3.MarkersController {
@override
Map<_i4.MarkerId, _i3.MarkerController> get markers =>
(super.noSuchMethod(Invocation.getter(#markers),
returnValue: <_i4.MarkerId, _i3.MarkerController>{})
as Map<_i4.MarkerId, _i3.MarkerController>);
@override
_i2.GMap get googleMap => (super.noSuchMethod(Invocation.getter(#googleMap),
returnValue: _FakeGMap_0()) as _i2.GMap);
@override
set googleMap(_i2.GMap? _googleMap) =>
super.noSuchMethod(Invocation.setter(#googleMap, _googleMap),
returnValueForMissingStub: null);
@override
int get mapId =>
(super.noSuchMethod(Invocation.getter(#mapId), returnValue: 0) as int);
@override
set mapId(int? _mapId) =>
super.noSuchMethod(Invocation.setter(#mapId, _mapId),
returnValueForMissingStub: null);
@override
void addMarkers(Set<_i4.Marker>? markersToAdd) =>
super.noSuchMethod(Invocation.method(#addMarkers, [markersToAdd]),
returnValueForMissingStub: null);
@override
void changeMarkers(Set<_i4.Marker>? markersToChange) =>
super.noSuchMethod(Invocation.method(#changeMarkers, [markersToChange]),
returnValueForMissingStub: null);
@override
void removeMarkers(Set<_i4.MarkerId>? markerIdsToRemove) =>
super.noSuchMethod(Invocation.method(#removeMarkers, [markerIdsToRemove]),
returnValueForMissingStub: null);
@override
void showMarkerInfoWindow(_i4.MarkerId? markerId) =>
super.noSuchMethod(Invocation.method(#showMarkerInfoWindow, [markerId]),
returnValueForMissingStub: null);
@override
void hideMarkerInfoWindow(_i4.MarkerId? markerId) =>
super.noSuchMethod(Invocation.method(#hideMarkerInfoWindow, [markerId]),
returnValueForMissingStub: null);
@override
bool isInfoWindowShown(_i4.MarkerId? markerId) =>
(super.noSuchMethod(Invocation.method(#isInfoWindowShown, [markerId]),
returnValue: false) as bool);
@override
void bindToMap(int? mapId, _i2.GMap? googleMap) =>
super.noSuchMethod(Invocation.method(#bindToMap, [mapId, googleMap]),
returnValueForMissingStub: null);
@override
String toString() => super.toString();
}