mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
continue formatting
This commit is contained in:
@@ -8,18 +8,20 @@ import 'package:cake_wallet/view_model/link_view_model.dart';
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:mocktail/mocktail.dart';
|
||||
|
||||
class MockAppStore extends Mock implements AppStore{}
|
||||
class MockAuthService extends Mock implements AuthService{}
|
||||
class MockSettingsStore extends Mock implements SettingsStore {}
|
||||
class MockAuthenticationStore extends Mock implements AuthenticationStore{}
|
||||
class MockWalletListStore extends Mock implements WalletListStore{}
|
||||
class MockAppStore extends Mock implements AppStore {}
|
||||
|
||||
class MockAuthService extends Mock implements AuthService {}
|
||||
|
||||
class MockSettingsStore extends Mock implements SettingsStore {}
|
||||
|
||||
class MockLinkViewModel extends Mock implements LinkViewModel {}
|
||||
class MockAuthenticationStore extends Mock implements AuthenticationStore {}
|
||||
|
||||
class MockWalletListStore extends Mock implements WalletListStore {}
|
||||
|
||||
class MockLinkViewModel extends Mock implements LinkViewModel {}
|
||||
|
||||
class MockHiveInterface extends Mock implements HiveInterface {}
|
||||
|
||||
class MockHiveBox extends Mock implements Box<dynamic> {}
|
||||
|
||||
class MockSecureStorage extends Mock implements SecureStorage{}
|
||||
class MockSecureStorage extends Mock implements SecureStorage {}
|
||||
|
||||
@@ -34,7 +34,7 @@ class DisclaimerPageRobot {
|
||||
|
||||
Future<void> tapAcceptButton() async {
|
||||
await commonTestCases.tapItemByKey('disclaimer_accept_button_key');
|
||||
|
||||
|
||||
await commonTestCases.defaultSleepTime();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ class RestoreFromSeedOrKeysPageRobot {
|
||||
|
||||
Future<void> enterSeedPhraseForWalletRestore(String text) async {
|
||||
ValidatableAnnotatedEditableTextState seedTextState =
|
||||
await tester.state(find.byType(ValidatableAnnotatedEditableText));
|
||||
await tester.state(find.byType(ValidatableAnnotatedEditableText));
|
||||
|
||||
seedTextState.widget.controller.text = text;
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
@@ -21,7 +21,7 @@ class SecurityAndBackupPageRobot {
|
||||
|
||||
Future<void> navigateToShowKeysPage() async {
|
||||
await tester.pumpAndSettle(Duration(milliseconds: 1000));
|
||||
|
||||
|
||||
await commonTestCases.tapItemByKey('security_backup_page_show_keys_button_key');
|
||||
await tester.pumpAndSettle(Duration(milliseconds: 1000));
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ void main() {
|
||||
(tester) async {
|
||||
// Store the original FlutterError.onError handler
|
||||
final originalOnError = FlutterError.onError;
|
||||
|
||||
|
||||
FlutterError.onError = (FlutterErrorDetails details) {
|
||||
debugPrint('FlutterError caught: ${details.exception}');
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ void main() {
|
||||
FlutterError.onError = (FlutterErrorDetails details) {
|
||||
debugPrint('FlutterError caught: ${details.exception}');
|
||||
};
|
||||
|
||||
|
||||
commonTestFlows = CommonTestFlows(tester);
|
||||
exchangePageRobot = ExchangePageRobot(tester);
|
||||
dashboardPageRobot = DashboardPageRobot(tester);
|
||||
|
||||
Reference in New Issue
Block a user