1
- // Mocks generated by Mockito 5.4.0 from annotations
1
+ // Mocks generated by Mockito 5.4.2 from annotations
2
2
// in react/test/mockito.dart.
3
3
// Do not manually edit this file.
4
4
@@ -61,42 +61,49 @@ class MockKeyboardEvent extends _i1.Mock implements _i2.KeyboardEvent {
61
61
returnValue: 0 ,
62
62
returnValueForMissingStub: 0 ,
63
63
) as int );
64
+
64
65
@override
65
66
int get charCode => (super .noSuchMethod (
66
67
Invocation .getter (#charCode),
67
68
returnValue: 0 ,
68
69
returnValueForMissingStub: 0 ,
69
70
) as int );
71
+
70
72
@override
71
73
bool get altKey => (super .noSuchMethod (
72
74
Invocation .getter (#altKey),
73
75
returnValue: false ,
74
76
returnValueForMissingStub: false ,
75
77
) as bool );
78
+
76
79
@override
77
80
bool get ctrlKey => (super .noSuchMethod (
78
81
Invocation .getter (#ctrlKey),
79
82
returnValue: false ,
80
83
returnValueForMissingStub: false ,
81
84
) as bool );
85
+
82
86
@override
83
87
int get location => (super .noSuchMethod (
84
88
Invocation .getter (#location),
85
89
returnValue: 0 ,
86
90
returnValueForMissingStub: 0 ,
87
91
) as int );
92
+
88
93
@override
89
94
bool get metaKey => (super .noSuchMethod (
90
95
Invocation .getter (#metaKey),
91
96
returnValue: false ,
92
97
returnValueForMissingStub: false ,
93
98
) as bool );
99
+
94
100
@override
95
101
bool get shiftKey => (super .noSuchMethod (
96
102
Invocation .getter (#shiftKey),
97
103
returnValue: false ,
98
104
returnValueForMissingStub: false ,
99
105
) as bool );
106
+
100
107
@override
101
108
_i2.Element get matchingTarget => (super .noSuchMethod (
102
109
Invocation .getter (#matchingTarget),
@@ -109,30 +116,35 @@ class MockKeyboardEvent extends _i1.Mock implements _i2.KeyboardEvent {
109
116
Invocation .getter (#matchingTarget),
110
117
),
111
118
) as _i2.Element );
119
+
112
120
@override
113
121
List <_i2.EventTarget > get path => (super .noSuchMethod (
114
122
Invocation .getter (#path),
115
123
returnValue: < _i2.EventTarget > [],
116
124
returnValueForMissingStub: < _i2.EventTarget > [],
117
125
) as List <_i2.EventTarget >);
126
+
118
127
@override
119
128
bool get defaultPrevented => (super .noSuchMethod (
120
129
Invocation .getter (#defaultPrevented),
121
130
returnValue: false ,
122
131
returnValueForMissingStub: false ,
123
132
) as bool );
133
+
124
134
@override
125
135
int get eventPhase => (super .noSuchMethod (
126
136
Invocation .getter (#eventPhase),
127
137
returnValue: 0 ,
128
138
returnValueForMissingStub: 0 ,
129
139
) as int );
140
+
130
141
@override
131
142
String get type => (super .noSuchMethod (
132
143
Invocation .getter (#type),
133
144
returnValue: '' ,
134
145
returnValueForMissingStub: '' ,
135
146
) as String );
147
+
136
148
@override
137
149
bool getModifierState (String ? keyArg) => (super .noSuchMethod (
138
150
Invocation .method (
@@ -142,6 +154,7 @@ class MockKeyboardEvent extends _i1.Mock implements _i2.KeyboardEvent {
142
154
returnValue: false ,
143
155
returnValueForMissingStub: false ,
144
156
) as bool );
157
+
145
158
@override
146
159
List <_i2.EventTarget > composedPath () => (super .noSuchMethod (
147
160
Invocation .method (
@@ -151,6 +164,7 @@ class MockKeyboardEvent extends _i1.Mock implements _i2.KeyboardEvent {
151
164
returnValue: < _i2.EventTarget > [],
152
165
returnValueForMissingStub: < _i2.EventTarget > [],
153
166
) as List <_i2.EventTarget >);
167
+
154
168
@override
155
169
void preventDefault () => super .noSuchMethod (
156
170
Invocation .method (
@@ -159,6 +173,7 @@ class MockKeyboardEvent extends _i1.Mock implements _i2.KeyboardEvent {
159
173
),
160
174
returnValueForMissingStub: null ,
161
175
);
176
+
162
177
@override
163
178
void stopImmediatePropagation () => super .noSuchMethod (
164
179
Invocation .method (
@@ -167,6 +182,7 @@ class MockKeyboardEvent extends _i1.Mock implements _i2.KeyboardEvent {
167
182
),
168
183
returnValueForMissingStub: null ,
169
184
);
185
+
170
186
@override
171
187
void stopPropagation () => super .noSuchMethod (
172
188
Invocation .method (
@@ -189,6 +205,7 @@ class MockDataTransfer extends _i1.Mock implements _i2.DataTransfer {
189
205
),
190
206
returnValueForMissingStub: null ,
191
207
);
208
+
192
209
@override
193
210
set effectAllowed (String ? value) => super .noSuchMethod (
194
211
Invocation .setter (
@@ -197,6 +214,7 @@ class MockDataTransfer extends _i1.Mock implements _i2.DataTransfer {
197
214
),
198
215
returnValueForMissingStub: null ,
199
216
);
217
+
200
218
@override
201
219
void clearData ([String ? format]) => super .noSuchMethod (
202
220
Invocation .method (
@@ -205,6 +223,7 @@ class MockDataTransfer extends _i1.Mock implements _i2.DataTransfer {
205
223
),
206
224
returnValueForMissingStub: null ,
207
225
);
226
+
208
227
@override
209
228
String getData (String ? format) => (super .noSuchMethod (
210
229
Invocation .method (
@@ -214,6 +233,7 @@ class MockDataTransfer extends _i1.Mock implements _i2.DataTransfer {
214
233
returnValue: '' ,
215
234
returnValueForMissingStub: '' ,
216
235
) as String );
236
+
217
237
@override
218
238
void setData (
219
239
String ? format,
@@ -229,6 +249,7 @@ class MockDataTransfer extends _i1.Mock implements _i2.DataTransfer {
229
249
),
230
250
returnValueForMissingStub: null ,
231
251
);
252
+
232
253
@override
233
254
void setDragImage (
234
255
_i2.Element ? image,
@@ -258,30 +279,35 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
258
279
returnValue: false ,
259
280
returnValueForMissingStub: false ,
260
281
) as bool );
282
+
261
283
@override
262
284
int get button => (super .noSuchMethod (
263
285
Invocation .getter (#button),
264
286
returnValue: 0 ,
265
287
returnValueForMissingStub: 0 ,
266
288
) as int );
289
+
267
290
@override
268
291
bool get ctrlKey => (super .noSuchMethod (
269
292
Invocation .getter (#ctrlKey),
270
293
returnValue: false ,
271
294
returnValueForMissingStub: false ,
272
295
) as bool );
296
+
273
297
@override
274
298
bool get metaKey => (super .noSuchMethod (
275
299
Invocation .getter (#metaKey),
276
300
returnValue: false ,
277
301
returnValueForMissingStub: false ,
278
302
) as bool );
303
+
279
304
@override
280
305
bool get shiftKey => (super .noSuchMethod (
281
306
Invocation .getter (#shiftKey),
282
307
returnValue: false ,
283
308
returnValueForMissingStub: false ,
284
309
) as bool );
310
+
285
311
@override
286
312
_i3.Point <num > get client => (super .noSuchMethod (
287
313
Invocation .getter (#client),
@@ -294,6 +320,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
294
320
Invocation .getter (#client),
295
321
),
296
322
) as _i3.Point <num >);
323
+
297
324
@override
298
325
_i3.Point <num > get movement => (super .noSuchMethod (
299
326
Invocation .getter (#movement),
@@ -306,6 +333,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
306
333
Invocation .getter (#movement),
307
334
),
308
335
) as _i3.Point <num >);
336
+
309
337
@override
310
338
_i3.Point <num > get offset => (super .noSuchMethod (
311
339
Invocation .getter (#offset),
@@ -318,6 +346,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
318
346
Invocation .getter (#offset),
319
347
),
320
348
) as _i3.Point <num >);
349
+
321
350
@override
322
351
_i3.Point <num > get screen => (super .noSuchMethod (
323
352
Invocation .getter (#screen),
@@ -330,6 +359,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
330
359
Invocation .getter (#screen),
331
360
),
332
361
) as _i3.Point <num >);
362
+
333
363
@override
334
364
_i3.Point <num > get layer => (super .noSuchMethod (
335
365
Invocation .getter (#layer),
@@ -342,6 +372,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
342
372
Invocation .getter (#layer),
343
373
),
344
374
) as _i3.Point <num >);
375
+
345
376
@override
346
377
_i3.Point <num > get page => (super .noSuchMethod (
347
378
Invocation .getter (#page),
@@ -354,6 +385,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
354
385
Invocation .getter (#page),
355
386
),
356
387
) as _i3.Point <num >);
388
+
357
389
@override
358
390
_i2.DataTransfer get dataTransfer => (super .noSuchMethod (
359
391
Invocation .getter (#dataTransfer),
@@ -366,6 +398,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
366
398
Invocation .getter (#dataTransfer),
367
399
),
368
400
) as _i2.DataTransfer );
401
+
369
402
@override
370
403
_i2.Element get matchingTarget => (super .noSuchMethod (
371
404
Invocation .getter (#matchingTarget),
@@ -378,30 +411,35 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
378
411
Invocation .getter (#matchingTarget),
379
412
),
380
413
) as _i2.Element );
414
+
381
415
@override
382
416
List <_i2.EventTarget > get path => (super .noSuchMethod (
383
417
Invocation .getter (#path),
384
418
returnValue: < _i2.EventTarget > [],
385
419
returnValueForMissingStub: < _i2.EventTarget > [],
386
420
) as List <_i2.EventTarget >);
421
+
387
422
@override
388
423
bool get defaultPrevented => (super .noSuchMethod (
389
424
Invocation .getter (#defaultPrevented),
390
425
returnValue: false ,
391
426
returnValueForMissingStub: false ,
392
427
) as bool );
428
+
393
429
@override
394
430
int get eventPhase => (super .noSuchMethod (
395
431
Invocation .getter (#eventPhase),
396
432
returnValue: 0 ,
397
433
returnValueForMissingStub: 0 ,
398
434
) as int );
435
+
399
436
@override
400
437
String get type => (super .noSuchMethod (
401
438
Invocation .getter (#type),
402
439
returnValue: '' ,
403
440
returnValueForMissingStub: '' ,
404
441
) as String );
442
+
405
443
@override
406
444
bool getModifierState (String ? keyArg) => (super .noSuchMethod (
407
445
Invocation .method (
@@ -411,6 +449,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
411
449
returnValue: false ,
412
450
returnValueForMissingStub: false ,
413
451
) as bool );
452
+
414
453
@override
415
454
List <_i2.EventTarget > composedPath () => (super .noSuchMethod (
416
455
Invocation .method (
@@ -420,6 +459,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
420
459
returnValue: < _i2.EventTarget > [],
421
460
returnValueForMissingStub: < _i2.EventTarget > [],
422
461
) as List <_i2.EventTarget >);
462
+
423
463
@override
424
464
void preventDefault () => super .noSuchMethod (
425
465
Invocation .method (
@@ -428,6 +468,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
428
468
),
429
469
returnValueForMissingStub: null ,
430
470
);
471
+
431
472
@override
432
473
void stopImmediatePropagation () => super .noSuchMethod (
433
474
Invocation .method (
@@ -436,6 +477,7 @@ class MockMouseEvent extends _i1.Mock implements _i2.MouseEvent {
436
477
),
437
478
returnValueForMissingStub: null ,
438
479
);
480
+
439
481
@override
440
482
void stopPropagation () => super .noSuchMethod (
441
483
Invocation .method (
@@ -456,42 +498,49 @@ class MockSyntheticEvent extends _i1.Mock implements _i4.SyntheticEvent {
456
498
returnValue: false ,
457
499
returnValueForMissingStub: false ,
458
500
) as bool );
501
+
459
502
@override
460
503
bool get cancelable => (super .noSuchMethod (
461
504
Invocation .getter (#cancelable),
462
505
returnValue: false ,
463
506
returnValueForMissingStub: false ,
464
507
) as bool );
508
+
465
509
@override
466
510
bool get defaultPrevented => (super .noSuchMethod (
467
511
Invocation .getter (#defaultPrevented),
468
512
returnValue: false ,
469
513
returnValueForMissingStub: false ,
470
514
) as bool );
515
+
471
516
@override
472
517
num get eventPhase => (super .noSuchMethod (
473
518
Invocation .getter (#eventPhase),
474
519
returnValue: 0 ,
475
520
returnValueForMissingStub: 0 ,
476
521
) as num );
522
+
477
523
@override
478
524
bool get isTrusted => (super .noSuchMethod (
479
525
Invocation .getter (#isTrusted),
480
526
returnValue: false ,
481
527
returnValueForMissingStub: false ,
482
528
) as bool );
529
+
483
530
@override
484
531
num get timeStamp => (super .noSuchMethod (
485
532
Invocation .getter (#timeStamp),
486
533
returnValue: 0 ,
487
534
returnValueForMissingStub: 0 ,
488
535
) as num );
536
+
489
537
@override
490
538
String get type => (super .noSuchMethod (
491
539
Invocation .getter (#type),
492
540
returnValue: '' ,
493
541
returnValueForMissingStub: '' ,
494
542
) as String );
543
+
495
544
@override
496
545
void preventDefault () => super .noSuchMethod (
497
546
Invocation .method (
0 commit comments