MCPcopy Create free account
hub / github.com/tendermint/tendermint / TestBaseConfigValidateBasic

Function TestBaseConfigValidateBasic

config/config_test.go:55–62  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

53}
54
55func TestBaseConfigValidateBasic(t *testing.T) {
56 cfg := TestBaseConfig()
57 assert.NoError(t, cfg.ValidateBasic())
58
59 // tamper with log format
60 cfg.LogFormat = "invalid"
61 assert.Error(t, cfg.ValidateBasic())
62}
63
64func TestRPCConfigValidateBasic(t *testing.T) {
65 cfg := TestRPCConfig()

Callers

nothing calls this directly

Calls 3

TestBaseConfigFunction · 0.85
ValidateBasicMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…