Documentation ¶
Index ¶
- type Array
- type Asserter
- func (d *Asserter) AssertEqual(t TB, path string, value interface{})
- func (d *Asserter) AssertEqualSet(t TB, path string, expected map[string]interface{})
- func (d *Asserter) AssertNotSet(t TB, path string)
- func (d *Asserter) Get(path string) (interface{}, bool)
- func (d *Asserter) Print(t TB)
- func (d *Asserter) PrintAt(t TB, path string)
- type IsOneofKey
- type LenEqual
- type NotSet
- type TB
- type TestAsserter
- func (ta *TestAsserter) AssertEqual(path string, value interface{})
- func (ta *TestAsserter) AssertEqualSet(path string, expected map[string]interface{})
- func (ta *TestAsserter) AssertNotSet(path string)
- func (ta *TestAsserter) Get(path string) (interface{}, bool)
- func (ta *TestAsserter) Print()
- func (ta *TestAsserter) PrintAt(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asserter ¶
type Asserter struct {
JSON string
}
func NewAsserter ¶
func (*Asserter) AssertEqual ¶
func (*Asserter) AssertEqualSet ¶
func (*Asserter) AssertNotSet ¶
type IsOneofKey ¶
type IsOneofKey string
type TestAsserter ¶
type TestAsserter struct {
// contains filtered or unexported fields
}
func NewTestAsserter ¶
func NewTestAsserter(t TB, v interface{}) *TestAsserter
func (*TestAsserter) AssertEqual ¶
func (ta *TestAsserter) AssertEqual(path string, value interface{})
func (*TestAsserter) AssertEqualSet ¶
func (ta *TestAsserter) AssertEqualSet(path string, expected map[string]interface{})
func (*TestAsserter) AssertNotSet ¶
func (ta *TestAsserter) AssertNotSet(path string)
func (*TestAsserter) Get ¶
func (ta *TestAsserter) Get(path string) (interface{}, bool)
func (*TestAsserter) Print ¶
func (ta *TestAsserter) Print()
func (*TestAsserter) PrintAt ¶
func (ta *TestAsserter) PrintAt(path string)
Click to show internal directories.
Click to hide internal directories.