Documentation ¶
Index ¶
- func ConfigTestServer(t *testing.T) (cleanUp func(), err error)
- func CreateAccessRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, *access.AccessServicesManager)
- func CreateDsRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, ...)
- func CreateRestsMockServer(testHandler restsTestHandler) *httptest.Server
- func CreateRtRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, ...)
- func CreateTestServerDetails() *config.ServerDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigTestServer ¶
func CreateAccessRestsMockServer ¶ added in v2.41.0
func CreateAccessRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, *access.AccessServicesManager)
func CreateDsRestsMockServer ¶ added in v2.24.0
func CreateDsRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, *distribution.DistributionServicesManager)
func CreateRestsMockServer ¶ added in v2.19.0
Create mock server to test REST APIs. testHandler - The HTTP handler of the test
func CreateRtRestsMockServer ¶ added in v2.24.0
func CreateRtRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, artifactory.ArtifactoryServicesManager)
func CreateTestServerDetails ¶
func CreateTestServerDetails() *config.ServerDetails
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.