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: 9 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 GenericTestCaptcha_Improve_Cover

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

func GenericTestCaptcha_In_Quota

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

func GenericTestCaptcha_OneTime

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

func GenericTestCaptcha_Onetime_Timeout

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

func GenericTestCaptcha_Over_Quota

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

func GenericTestCaptcha_RedisUnavailable

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

func GenericTestCaptcha_Unsupported_Driver

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

func GenericTestReflux_Improve_Cover

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

func GenericTestReflux_In_Quota

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

func GenericTestReflux_OneTime_Timeout

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

func GenericTestReflux_One_Time

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

func GenericTestReflux_Over_Quota

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

func GenericTestReflux_RedisUnavailable

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

Types

type TestVerifiedCaptchaDriver

type TestVerifiedCaptchaDriver struct{}

func (TestVerifiedCaptchaDriver) GenerateQuestionAnswer

func (t TestVerifiedCaptchaDriver) GenerateQuestionAnswer() (*verified.QuestionAnswer, error)

func (TestVerifiedCaptchaDriver) Name

type TestVerifiedCaptchaProvider

type TestVerifiedCaptchaProvider struct{}

func (TestVerifiedCaptchaProvider) AcquireDriver

type TestVerifiedRefluxProvider

type TestVerifiedRefluxProvider struct{}

func (TestVerifiedRefluxProvider) GenerateUniqueId

func (t TestVerifiedRefluxProvider) GenerateUniqueId() string

func (TestVerifiedRefluxProvider) Name

Jump to

Keyboard shortcuts

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