@@ -263,12 +263,6 @@ class MockSentryTracer extends _i1.Mock implements _i4.SentryTracer {
263
263
returnValueForMissingStub: null ,
264
264
);
265
265
266
- @override
267
- Map <String , _i2.SentryMeasurement > get measurements => (super .noSuchMethod (
268
- Invocation .getter (#measurements),
269
- returnValue: < String , _i2.SentryMeasurement > {},
270
- ) as Map <String , _i2.SentryMeasurement >);
271
-
272
266
@override
273
267
_i2.SentrySpanContext get context => (super .noSuchMethod (
274
268
Invocation .getter (#context),
@@ -338,6 +332,12 @@ class MockSentryTracer extends _i1.Mock implements _i4.SentryTracer {
338
332
returnValue: < String , String > {},
339
333
) as Map <String , String >);
340
334
335
+ @override
336
+ Map <String , _i2.SentryMeasurement > get measurements => (super .noSuchMethod (
337
+ Invocation .getter (#measurements),
338
+ returnValue: < String , _i2.SentryMeasurement > {},
339
+ ) as Map <String , _i2.SentryMeasurement >);
340
+
341
341
@override
342
342
_i8.Future <void > finish ({
343
343
_i3.SpanStatus ? status,
@@ -502,24 +502,6 @@ class MockSentryTracer extends _i1.Mock implements _i4.SentryTracer {
502
502
returnValueForMissingStub: null ,
503
503
);
504
504
505
- @override
506
- void setMeasurementFromChild (
507
- String ? name,
508
- num ? value, {
509
- _i2.SentryMeasurementUnit ? unit,
510
- }) =>
511
- super .noSuchMethod (
512
- Invocation .method (
513
- #setMeasurementFromChild,
514
- [
515
- name,
516
- value,
517
- ],
518
- {#unit: unit},
519
- ),
520
- returnValueForMissingStub: null ,
521
- );
522
-
523
505
@override
524
506
void scheduleFinish () => super .noSuchMethod (
525
507
Invocation .method (
@@ -687,7 +669,6 @@ class MockSentryTransaction extends _i1.Mock implements _i3.SentryTransaction {
687
669
Map <String , _i2.SentryMeasurement >? measurements,
688
670
Map <String , List <_i3.MetricSummary >>? metricSummaries,
689
671
_i3.SentryTransactionInfo ? transactionInfo,
690
- StackTrace ? stackTrace,
691
672
}) =>
692
673
(super .noSuchMethod (
693
674
Invocation .method (
@@ -723,7 +704,6 @@ class MockSentryTransaction extends _i1.Mock implements _i3.SentryTransaction {
723
704
#measurements: measurements,
724
705
#metricSummaries: metricSummaries,
725
706
#transactionInfo: transactionInfo,
726
- #stackTrace: stackTrace,
727
707
},
728
708
),
729
709
returnValue: _FakeSentryTransaction_7 (
@@ -761,20 +741,10 @@ class MockSentryTransaction extends _i1.Mock implements _i3.SentryTransaction {
761
741
#measurements: measurements,
762
742
#metricSummaries: metricSummaries,
763
743
#transactionInfo: transactionInfo,
764
- #stackTrace: stackTrace,
765
744
},
766
745
),
767
746
),
768
747
) as _i3.SentryTransaction );
769
-
770
- @override
771
- bool needsSymbolication () => (super .noSuchMethod (
772
- Invocation .method (
773
- #needsSymbolication,
774
- [],
775
- ),
776
- returnValue: false ,
777
- ) as bool );
778
748
}
779
749
780
750
/// A class which mocks [SentrySpan] .
@@ -1376,16 +1346,6 @@ class MockSentryNativeBinding extends _i1.Mock
1376
1346
returnValue: _i8.Future <void >.value (),
1377
1347
returnValueForMissingStub: _i8.Future <void >.value (),
1378
1348
) as _i8.Future <void >);
1379
-
1380
- @override
1381
- _i8.Future <void > nativeCrash () => (super .noSuchMethod (
1382
- Invocation .method (
1383
- #nativeCrash,
1384
- [],
1385
- ),
1386
- returnValue: _i8.Future <void >.value (),
1387
- returnValueForMissingStub: _i8.Future <void >.value (),
1388
- ) as _i8.Future <void >);
1389
1349
}
1390
1350
1391
1351
/// A class which mocks [Hub] .
0 commit comments