MCPcopy
hub / github.com/syncthing/syncthing / startHTTP

Function startHTTP

lib/api/api_test.go:1016–1018  ·  view source on GitHub ↗
(t *testing.T, cfg config.Wrapper)

Source from the content-addressed store, hash-verified

1014}
1015
1016func startHTTP(t *testing.T, cfg config.Wrapper) string {
1017 return startHTTPWithShutdownTimeout(t, cfg, 0)
1018}
1019
1020func startHTTPWithShutdownTimeout(t *testing.T, cfg config.Wrapper, shutdownTimeout time.Duration) string {
1021 m := new(modelmocks.Model)

Callers 11

TestAPIServiceRequestsFunction · 0.85
TestHTTPLoginFunction · 0.85
TestHtmlFormLoginFunction · 0.85
TestApiCacheFunction · 0.85
TestCSRFRequiredFunction · 0.85
TestRandomStringFunction · 0.85
testConfigPostFunction · 0.85
TestHostCheckFunction · 0.85
TestOptionsRequestFunction · 0.85
TestConfigChangesFunction · 0.85

Calls 1

Tested by

no test coverage detected