diff --git a/StudioProjects/yimaru_app/android/app/src/main/AndroidManifest.xml b/StudioProjects/yimaru_app/android/app/src/main/AndroidManifest.xml index a7e20a5..6561fcc 100644 --- a/StudioProjects/yimaru_app/android/app/src/main/AndroidManifest.xml +++ b/StudioProjects/yimaru_app/android/app/src/main/AndroidManifest.xml @@ -1,10 +1,8 @@ - + android:icon="@mipmap/ic_launcher"> - - - - - - - - - - - - Gradle Configuration Cache - - - -
- -
- Loading... -
- - - - - - diff --git a/StudioProjects/yimaru_app/macos/Flutter/GeneratedPluginRegistrant.swift b/StudioProjects/yimaru_app/macos/Flutter/GeneratedPluginRegistrant.swift index 18eca9c..a1d1dac 100644 --- a/StudioProjects/yimaru_app/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/StudioProjects/yimaru_app/macos/Flutter/GeneratedPluginRegistrant.swift @@ -8,11 +8,9 @@ import Foundation import battery_plus import connectivity_plus import flutter_secure_storage_darwin -import path_provider_foundation func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { BatteryPlusMacosPlugin.register(with: registry.registrar(forPlugin: "BatteryPlusMacosPlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin")) - PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) } diff --git a/StudioProjects/yimaru_app/macos/Runner/Configs/AppInfo.xcconfig b/StudioProjects/yimaru_app/macos/Runner/Configs/AppInfo.xcconfig index ba0faf2..1bab4a5 100644 --- a/StudioProjects/yimaru_app/macos/Runner/Configs/AppInfo.xcconfig +++ b/StudioProjects/yimaru_app/macos/Runner/Configs/AppInfo.xcconfig @@ -11,4 +11,4 @@ PRODUCT_NAME = yimaru_app PRODUCT_BUNDLE_IDENTIFIER = com.example.yimaruApp // The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright © 2025 com.example. All rights reserved. +PRODUCT_COPYRIGHT = Copyright © 2026 com.example. All rights reserved. diff --git a/StudioProjects/yimaru_app/pubspec.lock b/StudioProjects/yimaru_app/pubspec.lock index ba2867d..cfad602 100644 --- a/StudioProjects/yimaru_app/pubspec.lock +++ b/StudioProjects/yimaru_app/pubspec.lock @@ -53,10 +53,10 @@ packages: dependency: transitive description: name: bloc - sha256: a2cebb899f91d36eeeaa55c7b20b5915db5a9df1b8fd4a3c9c825e22e474537d + sha256: a48653a82055a900b88cd35f92429f068c5a8057ae9b136d197b3d56c57efb81 url: "https://pub.dev" source: hosted - version: "9.1.0" + version: "9.2.0" boolean_selector: dependency: transitive description: @@ -125,10 +125,10 @@ packages: dependency: transitive description: name: built_value - sha256: "426cf75afdb23aa74bd4e471704de3f9393f3c7b04c1e2d9c6f1073ae0b8b139" + sha256: "7931c90b84bc573fef103548e354258ae4c9d28d140e41961df6843c5d60d4d8" url: "https://pub.dev" source: hosted - version: "8.12.1" + version: "8.12.3" characters: dependency: transitive description: @@ -153,14 +153,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.2" + code_assets: + dependency: transitive + description: + name: code_assets + sha256: "83ccdaa064c980b5596c35dd64a8d3ecc68620174ab9b90b6343b753aa721687" + url: "https://pub.dev" + source: hosted + version: "1.0.0" code_builder: dependency: transitive description: name: code_builder - sha256: "11654819532ba94c34de52ff5feb52bd81cba1de00ef2ed622fd50295f9d4243" + sha256: "6a6cab2ba4680d6423f34a9b972a4c9a94ebe1b62ecec4e1a1f2cba91fd1319d" url: "https://pub.dev" source: hosted - version: "4.11.0" + version: "4.11.1" collection: dependency: transitive description: @@ -261,10 +269,10 @@ packages: dependency: transitive description: name: equatable - sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" + sha256: "3e0141505477fd8ad55d6eb4e7776d3fe8430be8e497ccb1521370c3f21a3e2b" url: "https://pub.dev" source: hosted - version: "2.0.7" + version: "2.0.8" fake_async: dependency: transitive description: @@ -456,6 +464,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.3.2" + hooks: + dependency: transitive + description: + name: hooks + sha256: "5d309c86e7ce34cd8e37aa71cb30cb652d3829b900ab145e4d9da564b31d59f7" + url: "https://pub.dev" + source: hosted + version: "1.0.0" html: dependency: transitive description: @@ -656,6 +672,14 @@ packages: url: "https://pub.dev" source: hosted version: "5.4.4" + native_toolchain_c: + dependency: transitive + description: + name: native_toolchain_c + sha256: "89e83885ba09da5fdf2cdacc8002a712ca238c28b7f717910b34bcd27b0d03ac" + url: "https://pub.dev" + source: hosted + version: "0.17.4" nested: dependency: transitive description: @@ -672,6 +696,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.5.0" + objective_c: + dependency: transitive + description: + name: objective_c + sha256: "9922a1ad59ac5afb154cc948aa6ded01987a75003651d0a2866afc23f4da624e" + url: "https://pub.dev" + source: hosted + version: "9.2.3" omni_datetime_picker: dependency: "direct main" description: @@ -724,10 +756,10 @@ packages: dependency: transitive description: name: path_provider_foundation - sha256: "6d13aece7b3f5c5a9731eaf553ff9dcbc2eff41087fd2df587fd0fed9a3eb0c4" + sha256: "2a376b7d6392d80cd3705782d2caa734ca4727776db0b6ec36ef3f1855197699" url: "https://pub.dev" source: hosted - version: "2.5.1" + version: "2.6.0" path_provider_linux: dependency: transitive description: @@ -1065,10 +1097,10 @@ packages: dependency: transitive description: name: watcher - sha256: f52385d4f73589977c80797e60fe51014f7f2b957b5e9a62c3f6ada439889249 + sha256: "1398c9f081a753f9226febe8900fce8f7d0a67163334e1c94a2438339d79d635" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.2.1" web: dependency: transitive description: @@ -1126,5 +1158,5 @@ packages: source: hosted version: "3.1.3" sdks: - dart: ">=3.9.0 <4.0.0" - flutter: ">=3.35.0" + dart: ">=3.10.3 <4.0.0" + flutter: ">=3.38.4" diff --git a/StudioProjects/yimaru_app/test/helpers/test_helpers.dart b/StudioProjects/yimaru_app/test/helpers/test_helpers.dart index 52e5e30..df3b057 100644 --- a/StudioProjects/yimaru_app/test/helpers/test_helpers.dart +++ b/StudioProjects/yimaru_app/test/helpers/test_helpers.dart @@ -2,11 +2,6 @@ import 'package:mockito/annotations.dart'; import 'package:mockito/mockito.dart'; import 'package:yimaru_app/app/app.locator.dart'; import 'package:stacked_services/stacked_services.dart'; -import 'package:yimaru_app/services/authentication_service.dart'; -import 'package:yimaru_app/services/api_service.dart'; -import 'package:yimaru_app/services/secure_storage_service.dart'; -import 'package:yimaru_app/services/dio_service.dart'; -import 'package:yimaru_app/services/status_checker_service.dart'; // @stacked-import import 'test_helpers.mocks.dart'; @@ -17,24 +12,14 @@ import 'test_helpers.mocks.dart'; MockSpec(onMissingStub: OnMissingStub.returnDefault), MockSpec(onMissingStub: OnMissingStub.returnDefault), MockSpec(onMissingStub: OnMissingStub.returnDefault), - MockSpec(onMissingStub: OnMissingStub.returnDefault), - MockSpec(onMissingStub: OnMissingStub.returnDefault), - MockSpec(onMissingStub: OnMissingStub.returnDefault), - MockSpec(onMissingStub: OnMissingStub.returnDefault), - MockSpec(onMissingStub: OnMissingStub.returnDefault), -// @stacked-mock-spec + // @stacked-mock-spec ], ) void registerServices() { getAndRegisterNavigationService(); getAndRegisterBottomSheetService(); getAndRegisterDialogService(); - getAndRegisterAuthenticationService(); - getAndRegisterApiService(); - getAndRegisterSecureStorageService(); - getAndRegisterDioService(); - getAndRegisterStatusCheckerService(); -// @stacked-mock-register + // @stacked-mock-register } MockNavigationService getAndRegisterNavigationService() { @@ -91,40 +76,6 @@ MockDialogService getAndRegisterDialogService() { return service; } -MockAuthenticationService getAndRegisterAuthenticationService() { - _removeRegistrationIfExists(); - final service = MockAuthenticationService(); - locator.registerSingleton(service); - return service; -} - -MockApiService getAndRegisterApiService() { - _removeRegistrationIfExists(); - final service = MockApiService(); - locator.registerSingleton(service); - return service; -} - -MockSecureStorageService getAndRegisterSecureStorageService() { - _removeRegistrationIfExists(); - final service = MockSecureStorageService(); - locator.registerSingleton(service); - return service; -} - -MockDioService getAndRegisterDioService() { - _removeRegistrationIfExists(); - final service = MockDioService(); - locator.registerSingleton(service); - return service; -} - -MockStatusCheckerService getAndRegisterStatusCheckerService() { - _removeRegistrationIfExists(); - final service = MockStatusCheckerService(); - locator.registerSingleton(service); - return service; -} // @stacked-mock-create void _removeRegistrationIfExists() { diff --git a/StudioProjects/yimaru_app/test/helpers/test_helpers.mocks.dart b/StudioProjects/yimaru_app/test/helpers/test_helpers.mocks.dart index d947a8b..651298f 100644 --- a/StudioProjects/yimaru_app/test/helpers/test_helpers.mocks.dart +++ b/StudioProjects/yimaru_app/test/helpers/test_helpers.mocks.dart @@ -3,21 +3,13 @@ // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes -import 'dart:async' as _i8; -import 'dart:ui' as _i9; +import 'dart:async' as _i5; +import 'dart:ui' as _i6; -import 'package:dio/dio.dart' as _i3; -import 'package:flutter/material.dart' as _i7; +import 'package:flutter/material.dart' as _i4; import 'package:mockito/mockito.dart' as _i1; -import 'package:mockito/src/dummies.dart' as _i6; -import 'package:stacked_services/stacked_services.dart' as _i5; -import 'package:yimaru_app/models/assessment.dart' as _i12; -import 'package:yimaru_app/models/user_model.dart' as _i2; -import 'package:yimaru_app/services/api_service.dart' as _i11; -import 'package:yimaru_app/services/authentication_service.dart' as _i10; -import 'package:yimaru_app/services/dio_service.dart' as _i13; -import 'package:yimaru_app/services/secure_storage_service.dart' as _i4; -import 'package:yimaru_app/services/status_checker_service.dart' as _i14; +import 'package:mockito/src/dummies.dart' as _i3; +import 'package:stacked_services/stacked_services.dart' as _i2; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values @@ -32,49 +24,18 @@ import 'package:yimaru_app/services/status_checker_service.dart' as _i14; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeUserModel_0 extends _i1.SmartFake implements _i2.UserModel { - _FakeUserModel_0( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeDio_1 extends _i1.SmartFake implements _i3.Dio { - _FakeDio_1( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeSecureStorageService_2 extends _i1.SmartFake - implements _i4.SecureStorageService { - _FakeSecureStorageService_2( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - /// A class which mocks [NavigationService]. /// /// See the documentation for Mockito's code generation for more information. -class MockNavigationService extends _i1.Mock implements _i5.NavigationService { +class MockNavigationService extends _i1.Mock implements _i2.NavigationService { @override String get previousRoute => (super.noSuchMethod( Invocation.getter(#previousRoute), - returnValue: _i6.dummyValue( + returnValue: _i3.dummyValue( this, Invocation.getter(#previousRoute), ), - returnValueForMissingStub: _i6.dummyValue( + returnValueForMissingStub: _i3.dummyValue( this, Invocation.getter(#previousRoute), ), @@ -83,25 +44,25 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { @override String get currentRoute => (super.noSuchMethod( Invocation.getter(#currentRoute), - returnValue: _i6.dummyValue( + returnValue: _i3.dummyValue( this, Invocation.getter(#currentRoute), ), - returnValueForMissingStub: _i6.dummyValue( + returnValueForMissingStub: _i3.dummyValue( this, Invocation.getter(#currentRoute), ), ) as String); @override - _i7.GlobalKey<_i7.NavigatorState>? nestedNavigationKey(int? index) => + _i4.GlobalKey<_i4.NavigatorState>? nestedNavigationKey(int? index) => (super.noSuchMethod( Invocation.method( #nestedNavigationKey, [index], ), returnValueForMissingStub: null, - ) as _i7.GlobalKey<_i7.NavigatorState>?); + ) as _i4.GlobalKey<_i4.NavigatorState>?); @override void config({ @@ -110,7 +71,7 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { bool? defaultOpaqueRoute, Duration? defaultDurationTransition, bool? defaultGlobalState, - _i5.Transition? defaultTransitionStyle, + _i2.Transition? defaultTransitionStyle, String? defaultTransition, }) => super.noSuchMethod( @@ -131,18 +92,18 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { ); @override - _i8.Future? navigateWithTransition( - _i7.Widget? page, { + _i5.Future? navigateWithTransition( + _i4.Widget? page, { bool? opaque, String? transition = r'', Duration? duration, bool? popGesture, int? id, - _i7.Curve? curve, + _i4.Curve? curve, bool? fullscreenDialog = false, bool? preventDuplicates = true, - _i5.Transition? transitionClass, - _i5.Transition? transitionStyle, + _i2.Transition? transitionClass, + _i2.Transition? transitionStyle, String? routeName, }) => (super.noSuchMethod( @@ -164,21 +125,21 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? replaceWithTransition( - _i7.Widget? page, { + _i5.Future? replaceWithTransition( + _i4.Widget? page, { bool? opaque, String? transition = r'', Duration? duration, bool? popGesture, int? id, - _i7.Curve? curve, + _i4.Curve? curve, bool? fullscreenDialog = false, bool? preventDuplicates = true, - _i5.Transition? transitionClass, - _i5.Transition? transitionStyle, + _i2.Transition? transitionClass, + _i2.Transition? transitionStyle, String? routeName, }) => (super.noSuchMethod( @@ -200,7 +161,7 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override bool back({ @@ -222,7 +183,7 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { @override void popUntil( - _i7.RoutePredicate? predicate, { + _i4.RoutePredicate? predicate, { int? id, }) => super.noSuchMethod( @@ -244,13 +205,13 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { ); @override - _i8.Future? navigateTo( + _i5.Future? navigateTo( String? routeName, { dynamic arguments, int? id, bool? preventDuplicates = true, Map? parameters, - _i7.RouteTransitionsBuilder? transition, + _i4.RouteTransitionsBuilder? transition, }) => (super.noSuchMethod( Invocation.method( @@ -265,21 +226,21 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? navigateToView( - _i7.Widget? view, { + _i5.Future? navigateToView( + _i4.Widget? view, { dynamic arguments, int? id, bool? opaque, - _i7.Curve? curve, + _i4.Curve? curve, Duration? duration, bool? fullscreenDialog = false, bool? popGesture, bool? preventDuplicates = true, - _i5.Transition? transition, - _i5.Transition? transitionStyle, + _i2.Transition? transition, + _i2.Transition? transitionStyle, }) => (super.noSuchMethod( Invocation.method( @@ -299,16 +260,16 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? replaceWith( + _i5.Future? replaceWith( String? routeName, { dynamic arguments, int? id, bool? preventDuplicates = true, Map? parameters, - _i7.RouteTransitionsBuilder? transition, + _i4.RouteTransitionsBuilder? transition, }) => (super.noSuchMethod( Invocation.method( @@ -323,10 +284,10 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? clearStackAndShow( + _i5.Future? clearStackAndShow( String? routeName, { dynamic arguments, int? id, @@ -343,11 +304,11 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? clearStackAndShowView( - _i7.Widget? view, { + _i5.Future? clearStackAndShowView( + _i4.Widget? view, { dynamic arguments, int? id, }) => @@ -361,10 +322,10 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? clearTillFirstAndShow( + _i5.Future? clearTillFirstAndShow( String? routeName, { dynamic arguments, int? id, @@ -383,11 +344,11 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? clearTillFirstAndShowView( - _i7.Widget? view, { + _i5.Future? clearTillFirstAndShowView( + _i4.Widget? view, { dynamic arguments, int? id, }) => @@ -401,12 +362,12 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); @override - _i8.Future? pushNamedAndRemoveUntil( + _i5.Future? pushNamedAndRemoveUntil( String? routeName, { - _i7.RoutePredicate? predicate, + _i4.RoutePredicate? predicate, dynamic arguments, int? id, }) => @@ -421,16 +382,16 @@ class MockNavigationService extends _i1.Mock implements _i5.NavigationService { }, ), returnValueForMissingStub: null, - ) as _i8.Future?); + ) as _i5.Future?); } /// A class which mocks [BottomSheetService]. /// /// See the documentation for Mockito's code generation for more information. class MockBottomSheetService extends _i1.Mock - implements _i5.BottomSheetService { + implements _i2.BottomSheetService { @override - void setCustomSheetBuilders(Map? builders) => + void setCustomSheetBuilders(Map? builders) => super.noSuchMethod( Invocation.method( #setCustomSheetBuilders, @@ -440,7 +401,7 @@ class MockBottomSheetService extends _i1.Mock ); @override - _i8.Future<_i5.SheetResponse?> showBottomSheet({ + _i5.Future<_i2.SheetResponse?> showBottomSheet({ required String? title, String? description, String? confirmButtonTitle = r'Ok', @@ -473,13 +434,13 @@ class MockBottomSheetService extends _i1.Mock #elevation: elevation, }, ), - returnValue: _i8.Future<_i5.SheetResponse?>.value(), + returnValue: _i5.Future<_i2.SheetResponse?>.value(), returnValueForMissingStub: - _i8.Future<_i5.SheetResponse?>.value(), - ) as _i8.Future<_i5.SheetResponse?>); + _i5.Future<_i2.SheetResponse?>.value(), + ) as _i5.Future<_i2.SheetResponse?>); @override - _i8.Future<_i5.SheetResponse?> showCustomSheet({ + _i5.Future<_i2.SheetResponse?> showCustomSheet({ dynamic variant, String? title, String? description, @@ -492,7 +453,7 @@ class MockBottomSheetService extends _i1.Mock bool? showIconInAdditionalButton = false, String? additionalButtonTitle, bool? takesInput = false, - _i9.Color? barrierColor = const _i9.Color(2315255808), + _i6.Color? barrierColor = const _i6.Color(2315255808), double? elevation = 1.0, bool? barrierDismissible = true, bool? isScrollControlled = false, @@ -536,12 +497,12 @@ class MockBottomSheetService extends _i1.Mock #useRootNavigator: useRootNavigator, }, ), - returnValue: _i8.Future<_i5.SheetResponse?>.value(), - returnValueForMissingStub: _i8.Future<_i5.SheetResponse?>.value(), - ) as _i8.Future<_i5.SheetResponse?>); + returnValue: _i5.Future<_i2.SheetResponse?>.value(), + returnValueForMissingStub: _i5.Future<_i2.SheetResponse?>.value(), + ) as _i5.Future<_i2.SheetResponse?>); @override - void completeSheet(_i5.SheetResponse? response) => + void completeSheet(_i2.SheetResponse? response) => super.noSuchMethod( Invocation.method( #completeSheet, @@ -554,10 +515,10 @@ class MockBottomSheetService extends _i1.Mock /// A class which mocks [DialogService]. /// /// See the documentation for Mockito's code generation for more information. -class MockDialogService extends _i1.Mock implements _i5.DialogService { +class MockDialogService extends _i1.Mock implements _i2.DialogService { @override void registerCustomDialogBuilders( - Map? builders) => + Map? builders) => super.noSuchMethod( Invocation.method( #registerCustomDialogBuilders, @@ -569,10 +530,10 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { @override void registerCustomDialogBuilder({ required dynamic variant, - required _i7.Widget Function( - _i7.BuildContext, - _i5.DialogRequest, - dynamic Function(_i5.DialogResponse), + required _i4.Widget Function( + _i4.BuildContext, + _i2.DialogRequest, + dynamic Function(_i2.DialogResponse), )? builder, }) => super.noSuchMethod( @@ -588,17 +549,17 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { ); @override - _i8.Future<_i5.DialogResponse?> showDialog({ + _i5.Future<_i2.DialogResponse?> showDialog({ String? title, String? description, String? cancelTitle, - _i9.Color? cancelTitleColor, + _i6.Color? cancelTitleColor, String? buttonTitle = r'Ok', - _i9.Color? buttonTitleColor, + _i6.Color? buttonTitleColor, bool? barrierDismissible = false, - _i7.RouteSettings? routeSettings, - _i7.GlobalKey<_i7.NavigatorState>? navigatorKey, - _i5.DialogPlatform? dialogPlatform, + _i4.RouteSettings? routeSettings, + _i4.GlobalKey<_i4.NavigatorState>? navigatorKey, + _i2.DialogPlatform? dialogPlatform, }) => (super.noSuchMethod( Invocation.method( @@ -617,13 +578,13 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { #dialogPlatform: dialogPlatform, }, ), - returnValue: _i8.Future<_i5.DialogResponse?>.value(), + returnValue: _i5.Future<_i2.DialogResponse?>.value(), returnValueForMissingStub: - _i8.Future<_i5.DialogResponse?>.value(), - ) as _i8.Future<_i5.DialogResponse?>); + _i5.Future<_i2.DialogResponse?>.value(), + ) as _i5.Future<_i2.DialogResponse?>); @override - _i8.Future<_i5.DialogResponse?> showCustomDialog({ + _i5.Future<_i2.DialogResponse?> showCustomDialog({ dynamic variant, String? title, String? description, @@ -636,13 +597,13 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { bool? showIconInAdditionalButton = false, String? additionalButtonTitle, bool? takesInput = false, - _i9.Color? barrierColor = const _i9.Color(2315255808), + _i6.Color? barrierColor = const _i6.Color(2315255808), bool? barrierDismissible = false, String? barrierLabel = r'', bool? useSafeArea = true, - _i7.RouteSettings? routeSettings, - _i7.GlobalKey<_i7.NavigatorState>? navigatorKey, - _i7.RouteTransitionsBuilder? transitionBuilder, + _i4.RouteSettings? routeSettings, + _i4.GlobalKey<_i4.NavigatorState>? navigatorKey, + _i4.RouteTransitionsBuilder? transitionBuilder, dynamic customData, R? data, }) => @@ -674,21 +635,21 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { #data: data, }, ), - returnValue: _i8.Future<_i5.DialogResponse?>.value(), - returnValueForMissingStub: _i8.Future<_i5.DialogResponse?>.value(), - ) as _i8.Future<_i5.DialogResponse?>); + returnValue: _i5.Future<_i2.DialogResponse?>.value(), + returnValueForMissingStub: _i5.Future<_i2.DialogResponse?>.value(), + ) as _i5.Future<_i2.DialogResponse?>); @override - _i8.Future<_i5.DialogResponse?> showConfirmationDialog({ + _i5.Future<_i2.DialogResponse?> showConfirmationDialog({ String? title, String? description, String? cancelTitle = r'Cancel', - _i9.Color? cancelTitleColor, + _i6.Color? cancelTitleColor, String? confirmationTitle = r'Ok', - _i9.Color? confirmationTitleColor, + _i6.Color? confirmationTitleColor, bool? barrierDismissible = false, - _i7.RouteSettings? routeSettings, - _i5.DialogPlatform? dialogPlatform, + _i4.RouteSettings? routeSettings, + _i2.DialogPlatform? dialogPlatform, }) => (super.noSuchMethod( Invocation.method( @@ -706,13 +667,13 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { #dialogPlatform: dialogPlatform, }, ), - returnValue: _i8.Future<_i5.DialogResponse?>.value(), + returnValue: _i5.Future<_i2.DialogResponse?>.value(), returnValueForMissingStub: - _i8.Future<_i5.DialogResponse?>.value(), - ) as _i8.Future<_i5.DialogResponse?>); + _i5.Future<_i2.DialogResponse?>.value(), + ) as _i5.Future<_i2.DialogResponse?>); @override - void completeDialog(_i5.DialogResponse? response) => + void completeDialog(_i2.DialogResponse? response) => super.noSuchMethod( Invocation.method( #completeDialog, @@ -721,434 +682,3 @@ class MockDialogService extends _i1.Mock implements _i5.DialogService { returnValueForMissingStub: null, ); } - -/// A class which mocks [AuthenticationService]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockAuthenticationService extends _i1.Mock - implements _i10.AuthenticationService { - @override - _i8.Future userLoggedIn() => (super.noSuchMethod( - Invocation.method( - #userLoggedIn, - [], - ), - returnValue: _i8.Future.value(false), - returnValueForMissingStub: _i8.Future.value(false), - ) as _i8.Future); - - @override - _i8.Future getAccessToken() => (super.noSuchMethod( - Invocation.method( - #getAccessToken, - [], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future getRefreshToken() => (super.noSuchMethod( - Invocation.method( - #getRefreshToken, - [], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future getUserId() => (super.noSuchMethod( - Invocation.method( - #getUserId, - [], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future saveTokens({ - required String? access, - required String? refresh, - }) => - (super.noSuchMethod( - Invocation.method( - #saveTokens, - [], - { - #access: access, - #refresh: refresh, - }, - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future saveUserData(Map? data) => - (super.noSuchMethod( - Invocation.method( - #saveUserData, - [data], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future saveProfileCompleted(bool? value) => (super.noSuchMethod( - Invocation.method( - #saveProfileCompleted, - [value], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future isFirstTimeInstall() => (super.noSuchMethod( - Invocation.method( - #isFirstTimeInstall, - [], - ), - returnValue: _i8.Future.value(false), - returnValueForMissingStub: _i8.Future.value(false), - ) as _i8.Future); - - @override - _i8.Future setFirstTimeInstall(bool? value) => (super.noSuchMethod( - Invocation.method( - #setFirstTimeInstall, - [value], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future<_i2.UserModel> getUser() => (super.noSuchMethod( - Invocation.method( - #getUser, - [], - ), - returnValue: _i8.Future<_i2.UserModel>.value(_FakeUserModel_0( - this, - Invocation.method( - #getUser, - [], - ), - )), - returnValueForMissingStub: - _i8.Future<_i2.UserModel>.value(_FakeUserModel_0( - this, - Invocation.method( - #getUser, - [], - ), - )), - ) as _i8.Future<_i2.UserModel>); - - @override - _i8.Future logOut() => (super.noSuchMethod( - Invocation.method( - #logOut, - [], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); -} - -/// A class which mocks [ApiService]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockApiService extends _i1.Mock implements _i11.ApiService { - @override - _i8.Future> register(Map? data) => - (super.noSuchMethod( - Invocation.method( - #register, - [data], - ), - returnValue: - _i8.Future>.value({}), - returnValueForMissingStub: - _i8.Future>.value({}), - ) as _i8.Future>); - - @override - _i8.Future> login(Map? data) => - (super.noSuchMethod( - Invocation.method( - #login, - [data], - ), - returnValue: - _i8.Future>.value({}), - returnValueForMissingStub: - _i8.Future>.value({}), - ) as _i8.Future>); - - @override - _i8.Future> verifyOtp(Map? data) => - (super.noSuchMethod( - Invocation.method( - #verifyOtp, - [data], - ), - returnValue: - _i8.Future>.value({}), - returnValueForMissingStub: - _i8.Future>.value({}), - ) as _i8.Future>); - - @override - _i8.Future> resendOtp(Map? data) => - (super.noSuchMethod( - Invocation.method( - #resendOtp, - [data], - ), - returnValue: - _i8.Future>.value({}), - returnValueForMissingStub: - _i8.Future>.value({}), - ) as _i8.Future>); - - @override - _i8.Future> getProfileStatus(_i2.UserModel? user) => - (super.noSuchMethod( - Invocation.method( - #getProfileStatus, - [user], - ), - returnValue: - _i8.Future>.value({}), - returnValueForMissingStub: - _i8.Future>.value({}), - ) as _i8.Future>); - - @override - _i8.Future> updateProfile({ - required _i2.UserModel? user, - required Map? data, - }) => - (super.noSuchMethod( - Invocation.method( - #updateProfile, - [], - { - #user: user, - #data: data, - }, - ), - returnValue: - _i8.Future>.value({}), - returnValueForMissingStub: - _i8.Future>.value({}), - ) as _i8.Future>); - - @override - _i8.Future> getAssessments() => (super.noSuchMethod( - Invocation.method( - #getAssessments, - [], - ), - returnValue: - _i8.Future>.value(<_i12.Assessment>[]), - returnValueForMissingStub: - _i8.Future>.value(<_i12.Assessment>[]), - ) as _i8.Future>); -} - -/// A class which mocks [SecureStorageService]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockSecureStorageService extends _i1.Mock - implements _i4.SecureStorageService { - @override - _i8.Future clear() => (super.noSuchMethod( - Invocation.method( - #clear, - [], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future getBool(String? key) => (super.noSuchMethod( - Invocation.method( - #getBool, - [key], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future getString(String? key) => (super.noSuchMethod( - Invocation.method( - #getString, - [key], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future getInt(String? key) => (super.noSuchMethod( - Invocation.method( - #getInt, - [key], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future setString( - String? key, - String? value, - ) => - (super.noSuchMethod( - Invocation.method( - #setString, - [ - key, - value, - ], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future setInt( - String? key, - int? value, - ) => - (super.noSuchMethod( - Invocation.method( - #setInt, - [ - key, - value, - ], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); - - @override - _i8.Future setBool( - String? key, - bool? value, - ) => - (super.noSuchMethod( - Invocation.method( - #setBool, - [ - key, - value, - ], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); -} - -/// A class which mocks [DioService]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockDioService extends _i1.Mock implements _i13.DioService { - @override - _i3.Dio get dio => (super.noSuchMethod( - Invocation.getter(#dio), - returnValue: _FakeDio_1( - this, - Invocation.getter(#dio), - ), - returnValueForMissingStub: _FakeDio_1( - this, - Invocation.getter(#dio), - ), - ) as _i3.Dio); -} - -/// A class which mocks [StatusCheckerService]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockStatusCheckerService extends _i1.Mock - implements _i14.StatusCheckerService { - @override - _i4.SecureStorageService get storage => (super.noSuchMethod( - Invocation.getter(#storage), - returnValue: _FakeSecureStorageService_2( - this, - Invocation.getter(#storage), - ), - returnValueForMissingStub: _FakeSecureStorageService_2( - this, - Invocation.getter(#storage), - ), - ) as _i4.SecureStorageService); - - @override - bool get previousConnection => (super.noSuchMethod( - Invocation.getter(#previousConnection), - returnValue: false, - returnValueForMissingStub: false, - ) as bool); - - @override - _i8.Future getBatteryLevel() => (super.noSuchMethod( - Invocation.method( - #getBatteryLevel, - [], - ), - returnValue: _i8.Future.value(0), - returnValueForMissingStub: _i8.Future.value(0), - ) as _i8.Future); - - @override - _i8.Future userAuthenticated() => (super.noSuchMethod( - Invocation.method( - #userAuthenticated, - [], - ), - returnValue: _i8.Future.value(false), - returnValueForMissingStub: _i8.Future.value(false), - ) as _i8.Future); - - @override - _i8.Future checkConnection() => (super.noSuchMethod( - Invocation.method( - #checkConnection, - [], - ), - returnValue: _i8.Future.value(false), - returnValueForMissingStub: _i8.Future.value(false), - ) as _i8.Future); - - @override - _i8.Future getAvailableStorage() => (super.noSuchMethod( - Invocation.method( - #getAvailableStorage, - [], - ), - returnValue: _i8.Future.value(0), - returnValueForMissingStub: _i8.Future.value(0), - ) as _i8.Future); - - @override - _i8.Future checkAndUpdate() => (super.noSuchMethod( - Invocation.method( - #checkAndUpdate, - [], - ), - returnValue: _i8.Future.value(), - returnValueForMissingStub: _i8.Future.value(), - ) as _i8.Future); -} diff --git a/StudioProjects/yimaru_app/test/services/api_service_test.dart b/StudioProjects/yimaru_app/test/services/api_service_test.dart deleted file mode 100644 index 93e9612..0000000 --- a/StudioProjects/yimaru_app/test/services/api_service_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('ApiServiceTest -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/services/authentication_service_test.dart b/StudioProjects/yimaru_app/test/services/authentication_service_test.dart deleted file mode 100644 index a06da40..0000000 --- a/StudioProjects/yimaru_app/test/services/authentication_service_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('AuthenticationServiceTest -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/services/dio_service_test.dart b/StudioProjects/yimaru_app/test/services/dio_service_test.dart deleted file mode 100644 index 0651d4c..0000000 --- a/StudioProjects/yimaru_app/test/services/dio_service_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('DioServiceTest -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/services/secure_storage_service_test.dart b/StudioProjects/yimaru_app/test/services/secure_storage_service_test.dart deleted file mode 100644 index d6f4985..0000000 --- a/StudioProjects/yimaru_app/test/services/secure_storage_service_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('SecureStorageServiceTest -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/services/status_checker_service_test.dart b/StudioProjects/yimaru_app/test/services/status_checker_service_test.dart deleted file mode 100644 index 0460b20..0000000 --- a/StudioProjects/yimaru_app/test/services/status_checker_service_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('StatusCheckerServiceTest -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/account_privacy_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/account_privacy_viewmodel_test.dart deleted file mode 100644 index d687122..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/account_privacy_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('AccountPrivacyViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/assessment_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/assessment_viewmodel_test.dart deleted file mode 100644 index e39ce4d..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/assessment_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('AssessmentViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/call_support_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/call_support_viewmodel_test.dart deleted file mode 100644 index 52150a2..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/call_support_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('CallSupportViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/downloads_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/downloads_viewmodel_test.dart deleted file mode 100644 index 342bdcd..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/downloads_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('DownloadsViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/full_name_view_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/full_name_view_viewmodel_test.dart deleted file mode 100644 index c33d474..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/full_name_view_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('FullNameViewViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/home_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/home_viewmodel_test.dart index 0c5d802..5405153 100644 --- a/StudioProjects/yimaru_app/test/viewmodels/home_viewmodel_test.dart +++ b/StudioProjects/yimaru_app/test/viewmodels/home_viewmodel_test.dart @@ -14,6 +14,14 @@ void main() { setUp(() => registerServices()); tearDown(() => locator.reset()); + group('incrementCounter -', () { + test('When called once should return Counter is: 1', () { + final model = getModel(); + model.incrementCounter(); + expect(model.counterLabel, 'Counter is: 1'); + }); + }); + group('showBottomSheet -', () { test( 'When called, should show custom bottom sheet using notice variant', diff --git a/StudioProjects/yimaru_app/test/viewmodels/language_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/language_viewmodel_test.dart deleted file mode 100644 index 0b8735a..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/language_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('LanguageViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/learn_level_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/learn_level_viewmodel_test.dart deleted file mode 100644 index 5d97e54..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/learn_level_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('LearnLevelViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/learn_module_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/learn_module_viewmodel_test.dart deleted file mode 100644 index 0080f51..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/learn_module_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('LearnModuleViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/learn_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/learn_viewmodel_test.dart deleted file mode 100644 index cf11c9c..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/learn_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('LearnViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/login_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/login_viewmodel_test.dart deleted file mode 100644 index 8ff6466..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/login_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('LoginViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/onboarding_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/onboarding_viewmodel_test.dart deleted file mode 100644 index 4282556..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/onboarding_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('OnboardingViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/ongoing_progress_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/ongoing_progress_viewmodel_test.dart deleted file mode 100644 index 94a3ed4..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/ongoing_progress_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('OngoingProgressViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/privacy_policy_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/privacy_policy_viewmodel_test.dart deleted file mode 100644 index 81c404c..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/privacy_policy_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('PrivacyPolicyViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/profile_detail_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/profile_detail_viewmodel_test.dart deleted file mode 100644 index a1a9504..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/profile_detail_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('ProfileDetailViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/profile_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/profile_viewmodel_test.dart deleted file mode 100644 index c72bc93..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/profile_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('ProfileViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/progress_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/progress_viewmodel_test.dart deleted file mode 100644 index 6f79cf5..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/progress_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('ProgressViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/register_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/register_viewmodel_test.dart deleted file mode 100644 index 78e03a5..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/register_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('RegisterViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/settings_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/settings_viewmodel_test.dart deleted file mode 100644 index aa5a11d..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/settings_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('SettingsViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/startup_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/startup_viewmodel_test.dart deleted file mode 100644 index e560a6c..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/startup_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('StartupViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/support_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/support_viewmodel_test.dart deleted file mode 100644 index 260dc47..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/support_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('SupportViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/telegram_support_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/telegram_support_viewmodel_test.dart deleted file mode 100644 index 1605ed4..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/telegram_support_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('TelegramSupportViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/terms_and_conditions_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/terms_and_conditions_viewmodel_test.dart deleted file mode 100644 index 7da4d4a..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/terms_and_conditions_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('TermsAndConditionsViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/test/viewmodels/welcome_viewmodel_test.dart b/StudioProjects/yimaru_app/test/viewmodels/welcome_viewmodel_test.dart deleted file mode 100644 index 4b59f78..0000000 --- a/StudioProjects/yimaru_app/test/viewmodels/welcome_viewmodel_test.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:yimaru_app/app/app.locator.dart'; - -import '../helpers/test_helpers.dart'; - -void main() { - group('WelcomeViewModel Tests -', () { - setUp(() => registerServices()); - tearDown(() => locator.reset()); - }); -} diff --git a/StudioProjects/yimaru_app/windows/runner/Runner.rc b/StudioProjects/yimaru_app/windows/runner/Runner.rc index d6b24d4..6523212 100644 --- a/StudioProjects/yimaru_app/windows/runner/Runner.rc +++ b/StudioProjects/yimaru_app/windows/runner/Runner.rc @@ -93,7 +93,7 @@ BEGIN VALUE "FileDescription", "yimaru_app" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "InternalName", "yimaru_app" "\0" - VALUE "LegalCopyright", "Copyright (C) 2025 com.example. All rights reserved." "\0" + VALUE "LegalCopyright", "Copyright (C) 2026 com.example. All rights reserved." "\0" VALUE "OriginalFilename", "yimaru_app.exe" "\0" VALUE "ProductName", "yimaru_app" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0"