MCPcopy Create free account

hub / github.com/TGlimmer/TG_walletbot / functions

Functions2,200 in github.com/TGlimmer/TG_walletbot

FunctionTestTransferService_CreateReceiveRequest_创建失败
(t *testing.T)
internal/domain/service/transfer_service_test.go:62
FunctionTestTransferService_CreateReceiveRequest_成功
==================== CreateReceiveRequest 测试 ====================
internal/domain/service/transfer_service_test.go:42
FunctionTestTransferService_FindRecipient
==================== FindRecipient 测试 ====================
internal/domain/service/transfer_service_test.go:211
FunctionTestTransferService_GetTransferByID_不存在
(t *testing.T)
internal/domain/service/transfer_service_test.go:185
FunctionTestTransferService_GetTransferByID_成功
==================== GetTransferByID 测试 ====================
internal/domain/service/transfer_service_test.go:172
FunctionTestTransferService_GetTransferByID_查询失败
(t *testing.T)
internal/domain/service/transfer_service_test.go:197
FunctionTestTransferService_RejectReceiveRequest_已处理
(t *testing.T)
internal/domain/service/transfer_service_test.go:132
FunctionTestTransferService_RejectReceiveRequest_成功
==================== RejectReceiveRequest 测试 ====================
internal/domain/service/transfer_service_test.go:105
FunctionTestTransferService_RejectReceiveRequest_更新失败
(t *testing.T)
internal/domain/service/transfer_service_test.go:157
FunctionTestTransferService_RejectReceiveRequest_查询失败
(t *testing.T)
internal/domain/service/transfer_service_test.go:145
FunctionTestTransferService_RejectReceiveRequest_记录不存在
(t *testing.T)
internal/domain/service/transfer_service_test.go:120
FunctionTestTransferStatusConstants
(t *testing.T)
internal/domain/entity/entity_test.go:608
FunctionTestTransferTypeConstants
(t *testing.T)
internal/domain/entity/entity_test.go:596
FunctionTestTransferUseCase_CheckBalance_成功
(t *testing.T)
internal/app/transfer_usecase_test.go:377
FunctionTestTransferUseCase_CreateReceiveRequest_付款人不存在
(t *testing.T)
internal/app/transfer_usecase_test.go:230
FunctionTestTransferUseCase_CreateReceiveRequest_向自己收款
(t *testing.T)
internal/app/transfer_usecase_test.go:219
FunctionTestTransferUseCase_CreateReceiveRequest_成功
==================== CreateReceiveRequest 测试 ====================
internal/app/transfer_usecase_test.go:205
FunctionTestTransferUseCase_CreateReceiveRequest_查询付款人失败
(t *testing.T)
internal/app/transfer_usecase_test.go:243
FunctionTestTransferUseCase_ExecuteReceivePayment_已处理
(t *testing.T)
internal/app/transfer_usecase_test.go:270
FunctionTestTransferUseCase_ExecuteReceivePayment_查询失败
(t *testing.T)
internal/app/transfer_usecase_test.go:298
FunctionTestTransferUseCase_ExecuteReceivePayment_记录不存在
==================== ExecuteReceivePayment 测试 ====================
internal/app/transfer_usecase_test.go:257
FunctionTestTransferUseCase_ExecuteReceivePayment_非收款请求
(t *testing.T)
internal/app/transfer_usecase_test.go:284
FunctionTestTransferUseCase_ExecuteTransfer_收款人不存在
(t *testing.T)
internal/app/transfer_usecase_test.go:164
FunctionTestTransferUseCase_ExecuteTransfer_收款人被冻结
(t *testing.T)
internal/app/transfer_usecase_test.go:177
FunctionTestTransferUseCase_ExecuteTransfer_查询收款人失败
(t *testing.T)
internal/app/transfer_usecase_test.go:191
FunctionTestTransferUseCase_ExecuteTransfer_转给自己
==================== ExecuteTransfer 测试 ====================
internal/app/transfer_usecase_test.go:153
FunctionTestTransferUseCase_FindRecipientByID_成功
==================== FindRecipientByID 测试 ====================
internal/app/transfer_usecase_test.go:91
FunctionTestTransferUseCase_FindRecipientByID_非数字
(t *testing.T)
internal/app/transfer_usecase_test.go:104
FunctionTestTransferUseCase_FindRecipientByTelegramID_成功
==================== FindRecipientByTelegramID 测试 ====================
internal/app/transfer_usecase_test.go:64
FunctionTestTransferUseCase_FindRecipientByTelegramID_查询失败
(t *testing.T)
internal/app/transfer_usecase_test.go:77
FunctionTestTransferUseCase_FindRecipientByUsername_不存在
(t *testing.T)
internal/app/transfer_usecase_test.go:50
FunctionTestTransferUseCase_FindRecipientByUsername_成功
==================== FindRecipientByUsername 测试 ====================
internal/app/transfer_usecase_test.go:37
FunctionTestTransferUseCase_GetBalance_成功
==================== GetBalance 测试 ====================
internal/app/transfer_usecase_test.go:312
FunctionTestTransferUseCase_GetBalance_查询失败
(t *testing.T)
internal/app/transfer_usecase_test.go:325
FunctionTestTransferUseCase_GetTransferByID_成功
==================== 委托方法测试 ====================
internal/app/transfer_usecase_test.go:338
FunctionTestTransferUseCase_GetUserByID_成功
(t *testing.T)
internal/app/transfer_usecase_test.go:351
FunctionTestTransferUseCase_RejectReceiveRequest_成功
(t *testing.T)
internal/app/transfer_usecase_test.go:364
FunctionTestTransferUseCase_ValidateTransferAmount
==================== ValidateTransferAmount 测试 ====================
internal/app/transfer_usecase_test.go:116
FunctionTestTransfer_IsCompleted
(t *testing.T)
internal/domain/entity/entity_test.go:574
FunctionTestTransfer_TableName
============================================================================= Transfer 实体测试 ==========================================================
internal/domain/entity/entity_test.go:567
FunctionTestURLButton
TestURLButton 测试创建 URL 链接按钮
pkg/telegram/keyboard_test.go:20
FunctionTestUnauthorized
(t *testing.T)
pkg/response/response_test.go:246
FunctionTestUserFriendlyErrors_AllCodesExist
TestUserFriendlyErrors_AllCodesExist 测试所有已知错误码都有对应友好提示
pkg/telegram/message_test.go:10
FunctionTestUserFriendlyErrors_DefaultExists
TestUserFriendlyErrors_DefaultExists 测试默认错误提示存在
pkg/telegram/message_test.go:33
FunctionTestUserFriendlyErrors_MessagesNotTooLong
TestUserFriendlyErrors_MessagesNotTooLong 测试提示消息长度合理
pkg/telegram/message_test.go:89
FunctionTestUserFriendlyErrors_NoRawErrors
TestUserFriendlyErrors_NoRawErrors 测试提示消息中不含技术性内容
pkg/telegram/message_test.go:63
FunctionTestUserFriendlyErrors_UnknownCodeFallback
TestUserFriendlyErrors_UnknownCodeFallback 测试未知错误码回退到 default
pkg/telegram/message_test.go:40
FunctionTestUserService_ChangePIN_成功
==================== ChangePIN 测试 ====================
internal/domain/service/user_service_test.go:344
FunctionTestUserService_ChangePIN_旧密码错误
(t *testing.T)
internal/domain/service/user_service_test.go:366
FunctionTestUserService_ChangePIN_验证出错_错误传播
(t *testing.T)
internal/domain/service/user_service_test.go:534
FunctionTestUserService_GetByID_成功
(t *testing.T)
internal/domain/service/user_service_test.go:396
FunctionTestUserService_GetByTelegramID_成功
==================== GetByTelegramID / GetByID 测试 ====================
internal/domain/service/user_service_test.go:383
FunctionTestUserService_NeedPIN
==================== NeedPIN 测试 ====================
internal/domain/service/user_service_test.go:411
FunctionTestUserService_NeedPIN_查询失败
(t *testing.T)
internal/domain/service/user_service_test.go:508
FunctionTestUserService_NeedPIN_查询配置失败_默认需要验证
(t *testing.T)
internal/domain/service/user_service_test.go:520
FunctionTestUserService_NeedPIN_用户不存在
(t *testing.T)
internal/domain/service/user_service_test.go:496
FunctionTestUserService_Register_创建用户失败
(t *testing.T)
internal/domain/service/user_service_test.go:93
FunctionTestUserService_Register_创建配置失败
(t *testing.T)
internal/domain/service/user_service_test.go:127
FunctionTestUserService_Register_创建钱包失败
(t *testing.T)
internal/domain/service/user_service_test.go:107
FunctionTestUserService_Register_已注册用户直接返回
(t *testing.T)
internal/domain/service/user_service_test.go:64
FunctionTestUserService_Register_新用户注册成功
==================== Register 测试 ====================
internal/domain/service/user_service_test.go:36
FunctionTestUserService_Register_查询用户失败
(t *testing.T)
internal/domain/service/user_service_test.go:80
FunctionTestUserService_SetPIN_成功
==================== SetPIN 测试 ====================
internal/domain/service/user_service_test.go:148
FunctionTestUserService_SetPIN_更新失败
(t *testing.T)
internal/domain/service/user_service_test.go:565
FunctionTestUserService_SetPIN_查询失败
(t *testing.T)
internal/domain/service/user_service_test.go:176
FunctionTestUserService_SetPIN_用户不存在
(t *testing.T)
internal/domain/service/user_service_test.go:164
FunctionTestUserService_VerifyPIN_密码错误_增加失败计数
(t *testing.T)
internal/domain/service/user_service_test.go:227
FunctionTestUserService_VerifyPIN_未设置PIN
(t *testing.T)
internal/domain/service/user_service_test.go:298
FunctionTestUserService_VerifyPIN_用户不存在
(t *testing.T)
internal/domain/service/user_service_test.go:312
FunctionTestUserService_VerifyPIN_账户已锁定
(t *testing.T)
internal/domain/service/user_service_test.go:264
FunctionTestUserService_VerifyPIN_连续错误触发锁定
(t *testing.T)
internal/domain/service/user_service_test.go:245
FunctionTestUserService_VerifyPIN_配置值无效使用默认
(t *testing.T)
internal/domain/service/user_service_test.go:547
FunctionTestUserService_VerifyPIN_配置读取失败使用默认值
(t *testing.T)
internal/domain/service/user_service_test.go:325
FunctionTestUserService_VerifyPIN_锁定已过期_自动解锁
(t *testing.T)
internal/domain/service/user_service_test.go:280
FunctionTestUserService_VerifyPIN_验证成功
==================== VerifyPIN 测试 ====================
internal/domain/service/user_service_test.go:190
FunctionTestUserService_VerifyPIN_验证成功_重置失败计数
(t *testing.T)
internal/domain/service/user_service_test.go:207
FunctionTestUserSettings_NeedPINForAmount
(t *testing.T)
internal/domain/entity/entity_test.go:867
FunctionTestUserSettings_TableName
============================================================================= UserSettings 实体测试 ======================================================
internal/domain/entity/entity_test.go:860
FunctionTestUserStatusConstants
(t *testing.T)
internal/domain/entity/entity_test.go:196
FunctionTestUserUseCase_GetWalletOverview_成功
==================== GetWalletOverview 测试 ====================
internal/app/user_usecase_test.go:116
FunctionTestUserUseCase_GetWalletOverview_查询用户失败
(t *testing.T)
internal/app/user_usecase_test.go:150
FunctionTestUserUseCase_GetWalletOverview_查询钱包失败
(t *testing.T)
internal/app/user_usecase_test.go:162
FunctionTestUserUseCase_GetWalletOverview_用户不存在
(t *testing.T)
internal/app/user_usecase_test.go:138
FunctionTestUserUseCase_NeedPIN_委托调用
(t *testing.T)
internal/app/user_usecase_test.go:217
FunctionTestUserUseCase_RegisterOrGet_已有用户未设PIN
(t *testing.T)
internal/app/user_usecase_test.go:52
FunctionTestUserUseCase_RegisterOrGet_已有用户直接返回
==================== RegisterOrGet 测试 ====================
internal/app/user_usecase_test.go:36
FunctionTestUserUseCase_RegisterOrGet_新用户注册
(t *testing.T)
internal/app/user_usecase_test.go:67
FunctionTestUserUseCase_RegisterOrGet_查询失败
(t *testing.T)
internal/app/user_usecase_test.go:89
FunctionTestUserUseCase_RegisterOrGet_注册失败
(t *testing.T)
internal/app/user_usecase_test.go:101
FunctionTestUserUseCase_SetPIN_失败
(t *testing.T)
internal/app/user_usecase_test.go:191
FunctionTestUserUseCase_SetPIN_成功
==================== SetPIN / VerifyPIN / NeedPIN 测试 ====================
internal/app/user_usecase_test.go:178
FunctionTestUserUseCase_VerifyPIN_委托调用
(t *testing.T)
internal/app/user_usecase_test.go:202
FunctionTestUser_DisplayName
(t *testing.T)
internal/domain/entity/entity_test.go:70
FunctionTestUser_FullName
(t *testing.T)
internal/domain/entity/entity_test.go:21
FunctionTestUser_HasPIN
(t *testing.T)
internal/domain/entity/entity_test.go:152
FunctionTestUser_IsActive
(t *testing.T)
internal/domain/entity/entity_test.go:108
FunctionTestUser_IsFrozen
(t *testing.T)
internal/domain/entity/entity_test.go:131
FunctionTestUser_IsPINLocked
(t *testing.T)
internal/domain/entity/entity_test.go:172
FunctionTestUser_TableName
============================================================================= User 实体测试 ==============================================================
internal/domain/entity/entity_test.go:14
FunctionTestValidateAddress_InvalidAddresses
TestValidateAddress_InvalidAddresses 测试非法 TRON 地址
pkg/tron/address_test.go:27
← previousnext →1,901–2,000 of 2,200, ranked by callers