Documentation ¶
Index ¶
- func EnvelopeStorageBench(b *testing.B, factory EnvelopeStorageFactory)
- func EnvelopeStorageTests(t *testing.T, factory EnvelopeStorageFactory, supportUnordered bool)
- func GenBigEnvFragments() []api.Envelope
- func JobStorageTests(t *testing.T, factory JobStorageFactory)
- func PasswordStorageTests(t *testing.T, factory PasswordStorageFactory)
- func PipelineStorageTests(t *testing.T, factory PipelineStorageFactory)
- func ProcessStorageBenchmark(b *testing.B, factory ProcessStorageFactory, ...)
- func ProcessStorageTests(t *testing.T, factory ProcessStorageFactory)
- func SessionStorageTests(t *testing.T, factory SessionStorageFactory)
- type EnvelopeStorageFactory
- type JobStorageFactory
- type PasswordStorageFactory
- type PipelineStorageFactory
- type ProcessStorageFactory
- type SessionStorageFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvelopeStorageBench ¶
func EnvelopeStorageBench(b *testing.B, factory EnvelopeStorageFactory)
EnvelopeStorageBench is a benchmark suite for a EnvelopeStorage implementation
func EnvelopeStorageTests ¶
func EnvelopeStorageTests(t *testing.T, factory EnvelopeStorageFactory, supportUnordered bool)
EnvelopeStorageTests is a test suite for EnvelopeStorage implementations
func GenBigEnvFragments ¶
GenBigEnvFragments creates fragments of a big envelope
func JobStorageTests ¶
func JobStorageTests(t *testing.T, factory JobStorageFactory)
JobStorageTests is a test suite for JobStorage implementations
func PasswordStorageTests ¶
func PasswordStorageTests(t *testing.T, factory PasswordStorageFactory)
PasswordStorageTests is a test suite that validate a PasswordStorage implementation
func PipelineStorageTests ¶
func PipelineStorageTests(t *testing.T, factory PipelineStorageFactory)
PipelineStorageTests is a test suite for PipelineStorage implementations
func ProcessStorageBenchmark ¶
func ProcessStorageBenchmark(b *testing.B, factory ProcessStorageFactory, massCreateProcess massCreateProcessFunc)
ProcessStorageBenchmark is a benchmark suite for a ProcessStorage implementation
func ProcessStorageTests ¶
func ProcessStorageTests(t *testing.T, factory ProcessStorageFactory)
ProcessStorageTests is a test suite for ProcessStorage implementations
func SessionStorageTests ¶
func SessionStorageTests(t *testing.T, factory SessionStorageFactory)
SessionStorageTests is a test suite for SessionStorage implementations
Types ¶
type EnvelopeStorageFactory ¶
type EnvelopeStorageFactory func(bt testing.TB) (storage.EnvelopeStorage, func())
EnvelopeStorageFactory is any factory of EnvelopeStorage
type JobStorageFactory ¶
type JobStorageFactory func(bt testing.TB) (storage.JobStorage, func())
JobStorageFactory is any factory of JobStorage
type PasswordStorageFactory ¶
type PasswordStorageFactory (func(bt testing.TB) (storage.PasswordStorage, func()))
PasswordStorageFactory is a factory of PasswordStorage
type PipelineStorageFactory ¶
type PipelineStorageFactory func(bt testing.TB) (storage.PipelineStorage, func())
PipelineStorageFactory is any factory of PipelineStorage
type ProcessStorageFactory ¶
type ProcessStorageFactory func(bt testing.TB) (storage.ProcessStorage, func())
ProcessStorageFactory is any factory of ProcessStorage
type SessionStorageFactory ¶
type SessionStorageFactory func(bt testing.TB) (storage.SessionStorage, func())
SessionStorageFactory is any factory of SessionStorage