Documentation ¶
Index ¶
- Constants
- func ApproveJson(received map[string]interface{}, name string) error
- func Compare(path string) ([]byte, gojsondiff.Diff, error)
- func LoadData(file string) ([]byte, error)
- func LoadInvalidData(dataType string) ([]byte, error)
- func LoadValidData(dataType string) ([]byte, error)
- func StrConcat(pre string, post string, delimiter string) string
- func TestDocumentedFieldsInEvent(t *testing.T, fieldPaths []string, fn processor.NewProcessor, ...)
- func TestEventAttrsDocumentedInFields(t *testing.T, fieldPaths []string, fn processor.NewProcessor)
- func TestJsonSchemaKeywordLimitation(t *testing.T, fieldPaths []string, schema string, exceptions *set.Set)
- func TestPayloadAttributesInSchema(t *testing.T, name string, undocumentedAttrs *set.Set, schema string)
- func TestProcessRequests(t *testing.T, p processor.Processor, requestInfo []RequestInfo)
- func UnmarshalData(file string, data interface{}) error
- func UnmarshalInvalidData(dataType string, data interface{}) error
- func UnmarshalValidData(dataType string, data interface{}) error
- type Mapping
- type RequestInfo
- type Schema
Constants ¶
View Source
const ApprovedSuffix = ".approved.json"
View Source
const ReceivedSuffix = ".received.json"
Variables ¶
This section is empty.
Functions ¶
func ApproveJson ¶
func LoadInvalidData ¶
func LoadValidData ¶
func TestEventAttrsDocumentedInFields ¶
func TestEventAttrsDocumentedInFields(t *testing.T, fieldPaths []string, fn processor.NewProcessor)
func TestProcessRequests ¶
func TestProcessRequests(t *testing.T, p processor.Processor, requestInfo []RequestInfo)
func UnmarshalData ¶
func UnmarshalInvalidData ¶
func UnmarshalValidData ¶
Types ¶
type RequestInfo ¶
Click to show internal directories.
Click to hide internal directories.