diff --git a/test/src/components/chat_item/chat_item_test.mocks.dart b/test/src/components/chat_item/chat_item_test.mocks.dart index 63cc40f9..79cb70f1 100644 --- a/test/src/components/chat_item/chat_item_test.mocks.dart +++ b/test/src/components/chat_item/chat_item_test.mocks.dart @@ -22,8 +22,7 @@ import 'package:zeta_flutter/generated/tokens/semantics.g.dart' as _i4; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeZetaPrimitives_0 extends _i1.SmartFake - implements _i2.ZetaPrimitives { +class _FakeZetaPrimitives_0 extends _i1.SmartFake implements _i2.ZetaPrimitives { _FakeZetaPrimitives_0( Object parent, Invocation parentInvocation, @@ -46,8 +45,7 @@ class _FakeColor_1 extends _i1.SmartFake implements _i3.Color { /// A class which mocks [ZetaSemanticColors]. /// /// See the documentation for Mockito's code generation for more information. -class MockZetaSemanticColors extends _i1.Mock - implements _i4.ZetaSemanticColors { +class MockZetaSemanticColors extends _i1.Mock implements _i4.ZetaSemanticColors { @override _i2.ZetaPrimitives get primitives => (super.noSuchMethod( Invocation.getter(#primitives), diff --git a/test/src/components/tooltip/tooltip_test.mocks.dart b/test/src/components/tooltip/tooltip_test.mocks.dart index 2e83b19d..f7f72452 100644 --- a/test/src/components/tooltip/tooltip_test.mocks.dart +++ b/test/src/components/tooltip/tooltip_test.mocks.dart @@ -24,8 +24,7 @@ import 'package:zeta_flutter/zeta_flutter.dart' as _i2; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeZetaPrimitives_0 extends _i1.SmartFake - implements _i2.ZetaPrimitives { +class _FakeZetaPrimitives_0 extends _i1.SmartFake implements _i2.ZetaPrimitives { _FakeZetaPrimitives_0( Object parent, Invocation parentInvocation, @@ -45,8 +44,7 @@ class _FakeZetaSemantics_1 extends _i1.SmartFake implements _i2.ZetaSemantics { ); } -class _FakeZetaSemanticColors_2 extends _i1.SmartFake - implements _i2.ZetaSemanticColors { +class _FakeZetaSemanticColors_2 extends _i1.SmartFake implements _i2.ZetaSemanticColors { _FakeZetaSemanticColors_2( Object parent, Invocation parentInvocation, @@ -56,8 +54,7 @@ class _FakeZetaSemanticColors_2 extends _i1.SmartFake ); } -class _FakeZetaSemanticRadii_3 extends _i1.SmartFake - implements _i2.ZetaSemanticRadii { +class _FakeZetaSemanticRadii_3 extends _i1.SmartFake implements _i2.ZetaSemanticRadii { _FakeZetaSemanticRadii_3( Object parent, Invocation parentInvocation, @@ -67,8 +64,7 @@ class _FakeZetaSemanticRadii_3 extends _i1.SmartFake ); } -class _FakeZetaSemanticSpaces_4 extends _i1.SmartFake - implements _i2.ZetaSemanticSpaces { +class _FakeZetaSemanticSpaces_4 extends _i1.SmartFake implements _i2.ZetaSemanticSpaces { _FakeZetaSemanticSpaces_4( Object parent, Invocation parentInvocation, @@ -88,12 +84,10 @@ class _FakeWidget_5 extends _i1.SmartFake implements _i3.Widget { ); @override - String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => - super.toString(); + String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => super.toString(); } -class _FakeInheritedElement_6 extends _i1.SmartFake - implements _i3.InheritedElement { +class _FakeInheritedElement_6 extends _i1.SmartFake implements _i3.InheritedElement { _FakeInheritedElement_6( Object parent, Invocation parentInvocation, @@ -103,12 +97,10 @@ class _FakeInheritedElement_6 extends _i1.SmartFake ); @override - String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => - super.toString(); + String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => super.toString(); } -class _FakeDiagnosticsNode_7 extends _i1.SmartFake - implements _i4.DiagnosticsNode { +class _FakeDiagnosticsNode_7 extends _i1.SmartFake implements _i4.DiagnosticsNode { _FakeDiagnosticsNode_7( Object parent, Invocation parentInvocation, @@ -236,8 +228,7 @@ class MockZeta extends _i1.Mock implements _i2.Zeta { ) as _i3.Widget); @override - bool updateShouldNotify(_i3.InheritedWidget? oldWidget) => - (super.noSuchMethod( + bool updateShouldNotify(_i3.InheritedWidget? oldWidget) => (super.noSuchMethod( Invocation.method( #updateShouldNotify, [oldWidget], @@ -247,8 +238,7 @@ class MockZeta extends _i1.Mock implements _i2.Zeta { ) as bool); @override - void debugFillProperties(_i4.DiagnosticPropertiesBuilder? properties) => - super.noSuchMethod( + void debugFillProperties(_i4.DiagnosticPropertiesBuilder? properties) => super.noSuchMethod( Invocation.method( #debugFillProperties, [properties], @@ -429,6 +419,5 @@ class MockZeta extends _i1.Mock implements _i2.Zeta { ) as List<_i4.DiagnosticsNode>); @override - String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => - super.toString(); + String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => super.toString(); } diff --git a/test/src/utils/extensions_test.mocks.dart b/test/src/utils/extensions_test.mocks.dart index 192e7146..22477d9b 100644 --- a/test/src/utils/extensions_test.mocks.dart +++ b/test/src/utils/extensions_test.mocks.dart @@ -36,12 +36,10 @@ class _FakeWidget_0 extends _i1.SmartFake implements _i2.Widget { ); @override - String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => - super.toString(); + String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => super.toString(); } -class _FakeInheritedWidget_1 extends _i1.SmartFake - implements _i2.InheritedWidget { +class _FakeInheritedWidget_1 extends _i1.SmartFake implements _i2.InheritedWidget { _FakeInheritedWidget_1( Object parent, Invocation parentInvocation, @@ -51,12 +49,10 @@ class _FakeInheritedWidget_1 extends _i1.SmartFake ); @override - String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => - super.toString(); + String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => super.toString(); } -class _FakeDiagnosticsNode_2 extends _i1.SmartFake - implements _i3.DiagnosticsNode { +class _FakeDiagnosticsNode_2 extends _i1.SmartFake implements _i3.DiagnosticsNode { _FakeDiagnosticsNode_2( Object parent, Invocation parentInvocation, @@ -73,8 +69,7 @@ class _FakeDiagnosticsNode_2 extends _i1.SmartFake super.toString(); } -class _FakeZetaPrimitives_3 extends _i1.SmartFake - implements _i4.ZetaPrimitives { +class _FakeZetaPrimitives_3 extends _i1.SmartFake implements _i4.ZetaPrimitives { _FakeZetaPrimitives_3( Object parent, Invocation parentInvocation, @@ -104,8 +99,7 @@ class _FakeZetaSemantics_5 extends _i1.SmartFake implements _i6.ZetaSemantics { ); } -class _FakeZetaSemanticColors_6 extends _i1.SmartFake - implements _i6.ZetaSemanticColors { +class _FakeZetaSemanticColors_6 extends _i1.SmartFake implements _i6.ZetaSemanticColors { _FakeZetaSemanticColors_6( Object parent, Invocation parentInvocation, @@ -115,8 +109,7 @@ class _FakeZetaSemanticColors_6 extends _i1.SmartFake ); } -class _FakeZetaSemanticRadii_7 extends _i1.SmartFake - implements _i6.ZetaSemanticRadii { +class _FakeZetaSemanticRadii_7 extends _i1.SmartFake implements _i6.ZetaSemanticRadii { _FakeZetaSemanticRadii_7( Object parent, Invocation parentInvocation, @@ -126,8 +119,7 @@ class _FakeZetaSemanticRadii_7 extends _i1.SmartFake ); } -class _FakeZetaSemanticSpaces_8 extends _i1.SmartFake - implements _i6.ZetaSemanticSpaces { +class _FakeZetaSemanticSpaces_8 extends _i1.SmartFake implements _i6.ZetaSemanticSpaces { _FakeZetaSemanticSpaces_8( Object parent, Invocation parentInvocation, @@ -137,8 +129,7 @@ class _FakeZetaSemanticSpaces_8 extends _i1.SmartFake ); } -class _FakeInheritedElement_9 extends _i1.SmartFake - implements _i2.InheritedElement { +class _FakeInheritedElement_9 extends _i1.SmartFake implements _i2.InheritedElement { _FakeInheritedElement_9( Object parent, Invocation parentInvocation, @@ -148,8 +139,7 @@ class _FakeInheritedElement_9 extends _i1.SmartFake ); @override - String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => - super.toString(); + String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => super.toString(); } /// A class which mocks [BuildContext]. @@ -213,8 +203,7 @@ class MockBuildContext extends _i1.Mock implements _i2.BuildContext { ) as _i2.InheritedWidget); @override - void visitAncestorElements(_i2.ConditionalElementVisitor? visitor) => - super.noSuchMethod( + void visitAncestorElements(_i2.ConditionalElementVisitor? visitor) => super.noSuchMethod( Invocation.method( #visitAncestorElements, [visitor], @@ -232,8 +221,7 @@ class MockBuildContext extends _i1.Mock implements _i2.BuildContext { ); @override - void dispatchNotification(_i7.Notification? notification) => - super.noSuchMethod( + void dispatchNotification(_i7.Notification? notification) => super.noSuchMethod( Invocation.method( #dispatchNotification, [notification], @@ -300,9 +288,7 @@ class MockBuildContext extends _i1.Mock implements _i2.BuildContext { ) as _i3.DiagnosticsNode); @override - List<_i3.DiagnosticsNode> describeMissingAncestor( - {required Type? expectedAncestorType}) => - (super.noSuchMethod( + List<_i3.DiagnosticsNode> describeMissingAncestor({required Type? expectedAncestorType}) => (super.noSuchMethod( Invocation.method( #describeMissingAncestor, [], @@ -313,8 +299,7 @@ class MockBuildContext extends _i1.Mock implements _i2.BuildContext { ) as List<_i3.DiagnosticsNode>); @override - _i3.DiagnosticsNode describeOwnershipChain(String? name) => - (super.noSuchMethod( + _i3.DiagnosticsNode describeOwnershipChain(String? name) => (super.noSuchMethod( Invocation.method( #describeOwnershipChain, [name], @@ -339,8 +324,7 @@ class MockBuildContext extends _i1.Mock implements _i2.BuildContext { /// A class which mocks [ZetaSemanticColors]. /// /// See the documentation for Mockito's code generation for more information. -class MockZetaSemanticColors extends _i1.Mock - implements _i6.ZetaSemanticColors { +class MockZetaSemanticColors extends _i1.Mock implements _i6.ZetaSemanticColors { @override _i4.ZetaPrimitives get primitives => (super.noSuchMethod( Invocation.getter(#primitives), @@ -1513,8 +1497,7 @@ class MockZeta extends _i1.Mock implements _i6.Zeta { ) as _i2.Widget); @override - bool updateShouldNotify(_i2.InheritedWidget? oldWidget) => - (super.noSuchMethod( + bool updateShouldNotify(_i2.InheritedWidget? oldWidget) => (super.noSuchMethod( Invocation.method( #updateShouldNotify, [oldWidget], @@ -1524,8 +1507,7 @@ class MockZeta extends _i1.Mock implements _i6.Zeta { ) as bool); @override - void debugFillProperties(_i3.DiagnosticPropertiesBuilder? properties) => - super.noSuchMethod( + void debugFillProperties(_i3.DiagnosticPropertiesBuilder? properties) => super.noSuchMethod( Invocation.method( #debugFillProperties, [properties], @@ -1706,6 +1688,5 @@ class MockZeta extends _i1.Mock implements _i6.Zeta { ) as List<_i3.DiagnosticsNode>); @override - String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => - super.toString(); + String toString({_i3.DiagnosticLevel? minLevel = _i3.DiagnosticLevel.info}) => super.toString(); } diff --git a/test/src/utils/rounded_test.mocks.dart b/test/src/utils/rounded_test.mocks.dart index 81358bdf..cbf28086 100644 --- a/test/src/utils/rounded_test.mocks.dart +++ b/test/src/utils/rounded_test.mocks.dart @@ -24,8 +24,7 @@ import 'package:zeta_flutter/zeta_flutter.dart' as _i2; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeZetaPrimitives_0 extends _i1.SmartFake - implements _i2.ZetaPrimitives { +class _FakeZetaPrimitives_0 extends _i1.SmartFake implements _i2.ZetaPrimitives { _FakeZetaPrimitives_0( Object parent, Invocation parentInvocation, @@ -45,8 +44,7 @@ class _FakeZetaSemantics_1 extends _i1.SmartFake implements _i2.ZetaSemantics { ); } -class _FakeZetaSemanticColors_2 extends _i1.SmartFake - implements _i2.ZetaSemanticColors { +class _FakeZetaSemanticColors_2 extends _i1.SmartFake implements _i2.ZetaSemanticColors { _FakeZetaSemanticColors_2( Object parent, Invocation parentInvocation, @@ -56,8 +54,7 @@ class _FakeZetaSemanticColors_2 extends _i1.SmartFake ); } -class _FakeZetaSemanticRadii_3 extends _i1.SmartFake - implements _i2.ZetaSemanticRadii { +class _FakeZetaSemanticRadii_3 extends _i1.SmartFake implements _i2.ZetaSemanticRadii { _FakeZetaSemanticRadii_3( Object parent, Invocation parentInvocation, @@ -67,8 +64,7 @@ class _FakeZetaSemanticRadii_3 extends _i1.SmartFake ); } -class _FakeZetaSemanticSpaces_4 extends _i1.SmartFake - implements _i2.ZetaSemanticSpaces { +class _FakeZetaSemanticSpaces_4 extends _i1.SmartFake implements _i2.ZetaSemanticSpaces { _FakeZetaSemanticSpaces_4( Object parent, Invocation parentInvocation, @@ -88,12 +84,10 @@ class _FakeWidget_5 extends _i1.SmartFake implements _i3.Widget { ); @override - String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => - super.toString(); + String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => super.toString(); } -class _FakeInheritedElement_6 extends _i1.SmartFake - implements _i3.InheritedElement { +class _FakeInheritedElement_6 extends _i1.SmartFake implements _i3.InheritedElement { _FakeInheritedElement_6( Object parent, Invocation parentInvocation, @@ -103,12 +97,10 @@ class _FakeInheritedElement_6 extends _i1.SmartFake ); @override - String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => - super.toString(); + String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => super.toString(); } -class _FakeDiagnosticsNode_7 extends _i1.SmartFake - implements _i4.DiagnosticsNode { +class _FakeDiagnosticsNode_7 extends _i1.SmartFake implements _i4.DiagnosticsNode { _FakeDiagnosticsNode_7( Object parent, Invocation parentInvocation, @@ -236,8 +228,7 @@ class MockZeta extends _i1.Mock implements _i2.Zeta { ) as _i3.Widget); @override - bool updateShouldNotify(_i3.InheritedWidget? oldWidget) => - (super.noSuchMethod( + bool updateShouldNotify(_i3.InheritedWidget? oldWidget) => (super.noSuchMethod( Invocation.method( #updateShouldNotify, [oldWidget], @@ -247,8 +238,7 @@ class MockZeta extends _i1.Mock implements _i2.Zeta { ) as bool); @override - void debugFillProperties(_i4.DiagnosticPropertiesBuilder? properties) => - super.noSuchMethod( + void debugFillProperties(_i4.DiagnosticPropertiesBuilder? properties) => super.noSuchMethod( Invocation.method( #debugFillProperties, [properties], @@ -429,6 +419,5 @@ class MockZeta extends _i1.Mock implements _i2.Zeta { ) as List<_i4.DiagnosticsNode>); @override - String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => - super.toString(); + String toString({_i4.DiagnosticLevel? minLevel = _i4.DiagnosticLevel.info}) => super.toString(); } diff --git a/test/src/zeta_provider_test.mocks.dart b/test/src/zeta_provider_test.mocks.dart index f7993b3e..304fc34a 100644 --- a/test/src/zeta_provider_test.mocks.dart +++ b/test/src/zeta_provider_test.mocks.dart @@ -21,8 +21,7 @@ import 'package:zeta_flutter/src/theme/theme_service.dart' as _i2; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeZetaThemeServiceData_0 extends _i1.SmartFake - implements _i2.ZetaThemeServiceData { +class _FakeZetaThemeServiceData_0 extends _i1.SmartFake implements _i2.ZetaThemeServiceData { _FakeZetaThemeServiceData_0( Object parent, Invocation parentInvocation, @@ -42,16 +41,14 @@ class MockZetaThemeService extends _i1.Mock implements _i2.ZetaThemeService { #loadTheme, [], ), - returnValue: _i3.Future<_i2.ZetaThemeServiceData>.value( - _FakeZetaThemeServiceData_0( + returnValue: _i3.Future<_i2.ZetaThemeServiceData>.value(_FakeZetaThemeServiceData_0( this, Invocation.method( #loadTheme, [], ), )), - returnValueForMissingStub: _i3.Future<_i2.ZetaThemeServiceData>.value( - _FakeZetaThemeServiceData_0( + returnValueForMissingStub: _i3.Future<_i2.ZetaThemeServiceData>.value(_FakeZetaThemeServiceData_0( this, Invocation.method( #loadTheme, @@ -61,8 +58,7 @@ class MockZetaThemeService extends _i1.Mock implements _i2.ZetaThemeService { ) as _i3.Future<_i2.ZetaThemeServiceData>); @override - _i3.Future saveTheme({required _i2.ZetaThemeServiceData? themeData}) => - (super.noSuchMethod( + _i3.Future saveTheme({required _i2.ZetaThemeServiceData? themeData}) => (super.noSuchMethod( Invocation.method( #saveTheme, [],