tests

package
v2.20.5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigTestServer

func ConfigTestServer(t *testing.T) (cleanUp func(), err error)

func CreateRestsMockServer added in v2.19.0

func CreateRestsMockServer(t *testing.T, testHandler restsTestHandler) (*httptest.Server, *config.ServerDetails, artifactory.ArtifactoryServicesManager)

Create mock server to test REST APIs. t - The testing object testHandler - The HTTP handler of the test

func CreateTestServerDetails

func CreateTestServerDetails() *config.ServerDetails

Types

This section is empty.

Jump to

Keyboard shortcuts

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