open-vault/command/server/config_test.go

54 lines
1,010 B
Go
Raw Normal View History

2015-03-12 22:21:11 +00:00
package server
import (
"testing"
)
func TestLoadConfigFile(t *testing.T) {
testLoadConfigFile(t)
2015-03-12 22:21:11 +00:00
}
func TestLoadConfigFile_json(t *testing.T) {
testLoadConfigFile_json(t)
2015-03-12 22:21:11 +00:00
}
func TestLoadConfigFileIntegerAndBooleanValues(t *testing.T) {
testLoadConfigFileIntegerAndBooleanValues(t)
}
func TestLoadConfigFileIntegerAndBooleanValuesJson(t *testing.T) {
testLoadConfigFileIntegerAndBooleanValuesJson(t)
}
func TestLoadConfigFileWithLeaseMetricTelemetry(t *testing.T) {
testLoadConfigFileLeaseMetrics(t)
}
2015-03-12 22:21:11 +00:00
func TestLoadConfigDir(t *testing.T) {
testLoadConfigDir(t)
2015-03-12 22:21:11 +00:00
}
func TestConfig_Sanitized(t *testing.T) {
testConfig_Sanitized(t)
}
func TestParseListeners(t *testing.T) {
testParseListeners(t)
}
func TestParseSockaddrTemplate(t *testing.T) {
testParseSockaddrTemplate(t)
}
func TestConfigRaftRetryJoin(t *testing.T) {
testConfigRaftRetryJoin(t)
}
func TestParseSeals(t *testing.T) {
testParseSeals(t)
}
func TestUnknownFieldValidation(t *testing.T) {
testUnknownFieldValidation(t)
}