aws-lambda-go: github.com/aws/aws-lambda-go/events/test Index | Files

package test

import "github.com/aws/aws-lambda-go/events/test"

Index

Package Files

assert.go jsonblobs.go jsoncompare.go jsonsyntax.go readjson.go

func AssertJsonBytes Uses

func AssertJsonBytes(t *testing.T, inputJSON []byte, o interface{})

func AssertJsonFile Uses

func AssertJsonFile(t *testing.T, file string, o interface{})

func AssertJsonsEqual Uses

func AssertJsonsEqual(t *testing.T, expectedJson []byte, actualJson []byte)

Asserts two JSON files are semantically equal (ignores white-space and attribute order)

func GetMalformedJson Uses

func GetMalformedJson() []byte

func ReadJSONFromFile Uses

func ReadJSONFromFile(t *testing.T, inputFile string) []byte

func TestMalformedJson Uses

func TestMalformedJson(t *testing.T, objectToDeserialize interface{})

Package test imports 4 packages (graph). Updated 2019-03-18. Refresh now. Tools for package owners.