Documentation
¶
Index ¶
- func TestingNewLOLClient() (*lol.LOLClient, error)
- func TestingNewLORClient() (*lor.LORClient, error)
- func TestingNewRiotClient() (*riot.RiotClient, error)
- func TestingNewTFTClient() (*tft.TFTClient, error)
- func TestingNewVALClient() (*val.VALClient, error)
- type TestCase
- func (testCase TestCase[Model, Parameters]) CheckResponse(t *testing.T, gotData *Model, gotErr error)
- func (testCase TestCase[Model, Parameters]) MockGetResponse(url string, region string, accessToken string)
- func (testCase TestCase[Model, Parameters]) MockPostResponse(url string, region string, accessToken string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestingNewLOLClient ¶
func TestingNewLORClient ¶
func TestingNewRiotClient ¶
func TestingNewRiotClient() (*riot.RiotClient, error)
func TestingNewTFTClient ¶
func TestingNewVALClient ¶
Types ¶
type TestCase ¶
type TestCase[Model any, Parameters any] struct { Name string Code int Want *Model WantError error AccessToken string Parameters *Parameters Options map[string]interface{} }
func GetEndpointTestCases ¶
func (TestCase[Model, Parameters]) CheckResponse ¶
func (TestCase[Model, Parameters]) MockGetResponse ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
This package only contains integration tests.
|
This package only contains integration tests. |
Click to show internal directories.
Click to hide internal directories.