Documentation
¶
Index ¶
- Variables
- func NewAccountData(t *testing.T, evType string, content interface{}) json.RawMessage
- func NewEvent(t TestBenchInterface, evType, sender string, content interface{}, ...) json.RawMessage
- func NewStateEvent(t TestBenchInterface, evType, stateKey, sender string, content interface{}, ...) json.RawMessage
- func PrepareDBConnectionString() (connStr string)
- func WithTimestamp(ts time.Time) eventMockModifier
- func WithUnsigned(unsigned interface{}) eventMockModifier
- type TestBenchInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var Quiet = false
Functions ¶
func NewAccountData ¶
func NewAccountData(t *testing.T, evType string, content interface{}) json.RawMessage
func NewEvent ¶
func NewEvent(t TestBenchInterface, evType, sender string, content interface{}, modifiers ...eventMockModifier) json.RawMessage
func NewStateEvent ¶
func NewStateEvent(t TestBenchInterface, evType, stateKey, sender string, content interface{}, modifiers ...eventMockModifier) json.RawMessage
func PrepareDBConnectionString ¶
func PrepareDBConnectionString() (connStr string)
func WithTimestamp ¶
func WithUnsigned ¶
func WithUnsigned(unsigned interface{}) eventMockModifier
Types ¶
type TestBenchInterface ¶ added in v0.1.1
type TestBenchInterface interface {
Fatalf(s string, args ...interface{})
Errorf(s string, args ...interface{})
Helper()
Name() string
}
Common functions between testing.T and testing.B
Click to show internal directories.
Click to hide internal directories.