unittesting

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 13 Imported by: 37

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanST

func CleanST()

func EmailVerifyTokenRequest

func EmailVerifyTokenRequest(testUrl string, userId string, accessToken string, idRefreshTokenFromCookie string, antiCsrf string) (*http.Response, error)

func ExtractInfoFromResponse

func ExtractInfoFromResponse(res *http.Response) map[string]string

func ExtractInfoFromResponseWhenAntiCSRFisNone

func ExtractInfoFromResponseWhenAntiCSRFisNone(res *http.Response) map[string]string

func KillAllST

func KillAllST()

func MaxVersion

func MaxVersion(version1 string, version2 string) string

MaxVersion returns max of v1 and v2

func ReturnCustomProviderWithAuthRedirectParams

func ReturnCustomProviderWithAuthRedirectParams() tpmodels.TypeProvider

func ReturnCustomProviderWithoutAuthRedirectParams

func ReturnCustomProviderWithoutAuthRedirectParams() tpmodels.TypeProvider

func SessionRefresh

func SessionRefresh(testUrl string, refreshToken string, idRefreshToken string, antiCsrf string) (*http.Response, error)

func SetKeyValueInConfig

func SetKeyValueInConfig(key string, value string)

func SetUpST

func SetUpST()

func SignInRequest

func SignInRequest(email string, password string, testUrl string) (*http.Response, error)

func SigninupCustomRequest

func SigninupCustomRequest(testServerUrl string, email string, id string) (*http.Response, error)

func SignoutRequest

func SignoutRequest(testUrl string, accessToken string, idRefreshTokenFromCookie string, antiCsrf string) (*http.Response, error)

func SignupRequest

func SignupRequest(email string, password string, testUrl string) (*http.Response, error)

func StartUpST

func StartUpST(host string, port string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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