Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // DefaultTimeout is the default timeout for running the test harness. DefaultTimeout = 5 * time.Second // DefaultRelPath is the default relative path to the test data. DefaultRelPath = "../dbtest/testdata" )
Functions ¶
func ChainFixture ¶
ChainFixture reads a chain fixture from the suite's shared test data: the AS certificate of the given version under the CP CA certificate — the one loader every trust-database episode reads fixtures through.
Types ¶
type Config ¶
Config holds the configuration for the trust database testing harness.
func (*Config) InitDefaults ¶
func (cfg *Config) InitDefaults()
InitDefaults initializes the default values for the config.