MCPcopy
hub / github.com/vouch/vouch-proxy / InitForTestPurposes

Function InitForTestPurposes

pkg/cfg/cfg.go:573–575  ·  view source on GitHub ↗

InitForTestPurposes is called by most *_testing.go files in Vouch Proxy

()

Source from the content-addressed store, hash-verified

571
572// InitForTestPurposes is called by most *_testing.go files in Vouch Proxy
573func InitForTestPurposes() {
574 InitForTestPurposesWithProvider("")
575}
576
577// InitForTestPurposesWithProvider just for testing
578func InitForTestPurposesWithProvider(provider string) {

Callers 9

setUpFunction · 0.92
initFunction · 0.92
setUpFunction · 0.92
initFunction · 0.92
initFunction · 0.92
setUpFunction · 0.92
setUpFunction · 0.85
TestConfigParsingFunction · 0.85
TestConfigWithTLSFunction · 0.85

Calls 1

Tested by 9

setUpFunction · 0.74
initFunction · 0.74
setUpFunction · 0.74
initFunction · 0.74
initFunction · 0.74
setUpFunction · 0.74
setUpFunction · 0.68
TestConfigParsingFunction · 0.68
TestConfigWithTLSFunction · 0.68