frameworks

package
v4.0.0-...-3659144 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeSerializeTest

type DeSerializeTest struct {
	Name      string
	Source    any
	Target    any
	SeriErr   error
	DeSeriErr error
}

func (*DeSerializeTest) Run

func (test *DeSerializeTest) Run(t *testing.T)

type JSONEncodeTest

type JSONEncodeTest struct {
	Name   string
	Source any
	// the Target should be an indented JSON string (tabs instead of spaces)
	Target string
}

JSONEncodeTest is used to check if the JSON encoding is equal to a manually provided JSON string.

func (*JSONEncodeTest) Run

func (test *JSONEncodeTest) Run(t *testing.T)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL