Versions in this module Expand all Collapse all v1 v1.24.4 Aug 19, 2016 Changes in this version + type AddressSubject struct + func (subject *AddressSubject) Equals(another v2net.Address) + func (subject *AddressSubject) EqualsString(another string) + func (subject *AddressSubject) IsDomain() + func (subject *AddressSubject) IsIPv4() + func (subject *AddressSubject) IsIPv6() + func (subject *AddressSubject) IsNotDomain() + func (subject *AddressSubject) IsNotIPv4() + func (subject *AddressSubject) IsNotIPv6() + func (subject *AddressSubject) NotEquals(another v2net.Address) + func (subject *AddressSubject) NotEqualsString(another string) + type Assert struct + func On(t *testing.T) *Assert + func (this *Assert) Address(value v2net.Address) *AddressSubject + func (this *Assert) Bool(value bool) *BoolSubject + func (this *Assert) Byte(value byte) *ByteSubject + func (this *Assert) Bytes(value []byte) *BytesSubject + func (this *Assert) Destination(value v2net.Destination) *DestinationSubject + func (this *Assert) Error(value error) *ErrorSubject + func (this *Assert) Fail(message string) + func (this *Assert) IP(value net.IP) *IPSubject + func (this *Assert) Int(value int) *IntSubject + func (this *Assert) Int64(value int64) *Int64Subject + func (this *Assert) Pointer(value interface{}) *PointerSubject + func (this *Assert) Port(value v2net.Port) *PortSubject + func (this *Assert) String(value string) *StringSubject + func (this *Assert) Uint16(value uint16) *Uint16Subject + func (this *Assert) Uint32(value uint32) *Uint32Subject + type BoolSubject struct + func (subject *BoolSubject) Equals(expectation bool) + func (subject *BoolSubject) IsFalse() + func (subject *BoolSubject) IsTrue() + type ByteSubject struct + func (subject *ByteSubject) Equals(expectation byte) + func (subject *ByteSubject) GreaterThan(expectation byte) + func (subject *ByteSubject) LessThan(expectation byte) + type BytesSubject struct + func (subject *BytesSubject) Equals(expectation []byte) + func (subject *BytesSubject) NotEquals(expectation []byte) + type DestinationSubject struct + func (this *DestinationSubject) EqualsString(another string) + func (this *DestinationSubject) HasAddress() *AddressSubject + func (this *DestinationSubject) HasPort() *PortSubject + func (this *DestinationSubject) IsNotTCP() + func (this *DestinationSubject) IsNotUDP() + func (this *DestinationSubject) IsTCP() + func (this *DestinationSubject) IsUDP() + type ErrorSubject struct + func (subject *ErrorSubject) Equals(expectation error) + func (subject *ErrorSubject) IsNil() + func (subject *ErrorSubject) IsNotNil() + type IPSubject struct + func (subject *IPSubject) Equals(ip net.IP) + func (subject *IPSubject) IsNil() + type Int64Subject struct + func (subject *Int64Subject) AtLeast(expectation int64) + func (subject *Int64Subject) AtMost(expectation int64) + func (subject *Int64Subject) Equals(expectation int64) + func (subject *Int64Subject) GreaterThan(expectation int64) + type IntSubject struct + func (subject *IntSubject) Equals(expectation int) + func (subject *IntSubject) GreaterThan(expectation int) + func (subject *IntSubject) LessThan(expectation int) + type PointerSubject struct + func (subject *PointerSubject) Equals(expectation interface{}) + func (subject *PointerSubject) IsNil() + func (subject *PointerSubject) IsNotNil() + type PortSubject struct + func (subject *PortSubject) Equals(expectation v2net.Port) + func (subject *PortSubject) GreaterThan(expectation v2net.Port) + func (subject *PortSubject) IsValid() + func (subject *PortSubject) LessThan(expectation v2net.Port) + type StringSubject struct + func (subject *StringSubject) Contains(substring string) + func (subject *StringSubject) Equals(expectation string) + func (subject *StringSubject) NotContains(substring string) + func (subject *StringSubject) NotEquals(expectation string) + type Subject struct + func (subject *Subject) DisplayString() string + func (subject *Subject) Fail(verb string, other string) + func (subject *Subject) FailWithMessage(message string) + type Uint16Subject struct + func (subject *Uint16Subject) Equals(expectation uint16) + func (subject *Uint16Subject) GreaterThan(expectation uint16) + func (subject *Uint16Subject) IsNegative() + func (subject *Uint16Subject) IsPositive() + func (subject *Uint16Subject) LessThan(expectation uint16) + type Uint32Subject struct + func (subject *Uint32Subject) Equals(expectation uint32) + func (subject *Uint32Subject) GreaterThan(expectation uint32) + func (subject *Uint32Subject) IsNegative() + func (subject *Uint32Subject) IsPositive() + func (subject *Uint32Subject) LessThan(expectation uint32)