tests

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenericTestName

func GenericTestName[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_Concurrency_MaxSendPerDay

func GenericTestSendCode_Concurrency_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_Concurrency_ResendTooFrequently

func GenericTestSendCode_Concurrency_ResendTooFrequently[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_Err_Failure

func GenericTestSendCode_Err_Failure[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_MaxSendPerDay

func GenericTestSendCode_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_RedisUnavailable

func GenericTestSendCode_RedisUnavailable[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_ResendTooFrequently

func GenericTestSendCode_ResendTooFrequently[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestSendCode_Success

func GenericTestSendCode_Success[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestVerifyCode_CodeExpired

func GenericTestVerifyCode_CodeExpired[S limit_verified.Storage](t *testing.T, mr *miniredis.Miniredis, store S)

func GenericTestVerifyCode_CodeMaxError

func GenericTestVerifyCode_CodeMaxError[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestVerifyCode_CodeRequired

func GenericTestVerifyCode_CodeRequired[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestVerifyCode_Concurrency_CodeMaxError

func GenericTestVerifyCode_Concurrency_CodeMaxError[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTestVerifyCode_Success

func GenericTestVerifyCode_Success[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTest_INCR_DECR

func GenericTest_INCR_DECR[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

func GenericTest_INCR_MaxSendPerDay

func GenericTest_INCR_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)

Types

type TestErrProvider

type TestErrProvider struct{}

func (TestErrProvider) Name

func (t TestErrProvider) Name() string

func (TestErrProvider) SendCode

type TestProvider

type TestProvider struct{}

func (TestProvider) Name

func (t TestProvider) Name() string

func (TestProvider) SendCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL