Documentation
¶
Index ¶
- Variables
- func AssertNavigation(entry *NaviTE, to *TestOptions)
- func Because(name, because string) string
- func Begin(em string) life.BeginHandler
- func DirectoriesCallback(name string) core.Client
- func DirectoriesCaseSensitiveCallback(first, second string) core.Client
- func End(em string) life.EndHandler
- func FilesCallback(name string) core.Client
- func GetJSONDir() string
- func GetJSONPath() string
- func HaveChildCountOf(expected interface{}) GomegaMatcher
- func HaveDirectoryContents(expected interface{}) GomegaMatcher
- func HaveInvokedNode(expected interface{}) GomegaMatcher
- func HaveMetricCountOf(expected interface{}) GomegaMatcher
- func HaveNotInvokedNode(expected interface{}) GomegaMatcher
- func IgnoreFault(_ *pref.NavigationFault) error
- func Normalise(p string) string
- func PanicAt(at string) core.Client
- func Reason(name string) string
- func UniversalCallback(name string) core.Client
- type ChildCountMatcher
- type DirectoryContentsMatcher
- type ExpectedCount
- type ExpectedMetric
- type FilterErrataTE
- type FilterTE
- type HybridFilterTE
- type InvokeNodeMatcher
- type MatcherExpectation
- type MetricMatcher
- type NamedFunc
- type NaviTE
- type NotInvokeNodeMatcher
- type PolyTE
- type Quantities
- type Recall
- type RecallOrder
- type RecallScope
- type SampleTE
- type TestOptions
- type Trigger
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Perms = core.Permissions{ File: 0o666, Dir: 0o777, } Static = struct { JSONFile string JSONSubPath string ElectricYouth string NorthernCouncil string TeenageColor string RetroWave string }{ JSONFile: "resume-state.json", JSONSubPath: "json/unmarshal/resume-state.json", ElectricYouth: "Electric Youth", NorthernCouncil: "Northern Council", RetroWave: "RETRO-WAVE", TeenageColor: "Teenage Color", } )
Functions ¶
func AssertNavigation ¶
func AssertNavigation(entry *NaviTE, to *TestOptions)
func Begin ¶
func Begin(em string) life.BeginHandler
func DirectoriesCallback ¶
func End ¶
func End(em string) life.EndHandler
func FilesCallback ¶
func GetJSONDir ¶
func GetJSONDir() string
func GetJSONPath ¶
func GetJSONPath() string
func HaveChildCountOf ¶
func HaveChildCountOf(expected interface{}) GomegaMatcher
func HaveDirectoryContents ¶
func HaveDirectoryContents(expected interface{}) GomegaMatcher
func HaveInvokedNode ¶
func HaveInvokedNode(expected interface{}) GomegaMatcher
func HaveMetricCountOf ¶
func HaveMetricCountOf(expected interface{}) GomegaMatcher
func HaveNotInvokedNode ¶
func HaveNotInvokedNode(expected interface{}) GomegaMatcher
func IgnoreFault ¶
func IgnoreFault(_ *pref.NavigationFault) error
func UniversalCallback ¶
Types ¶
type ChildCountMatcher ¶
type ChildCountMatcher struct {
// contains filtered or unexported fields
}
func (*ChildCountMatcher) FailureMessage ¶
func (m *ChildCountMatcher) FailureMessage(_ interface{}) string
func (*ChildCountMatcher) Match ¶
func (m *ChildCountMatcher) Match(actual interface{}) (bool, error)
func (*ChildCountMatcher) NegatedFailureMessage ¶
func (m *ChildCountMatcher) NegatedFailureMessage(_ interface{}) string
type DirectoryContentsMatcher ¶
type DirectoryContentsMatcher struct {
// contains filtered or unexported fields
}
func (*DirectoryContentsMatcher) FailureMessage ¶
func (m *DirectoryContentsMatcher) FailureMessage(_ interface{}) string
func (*DirectoryContentsMatcher) Match ¶
func (m *DirectoryContentsMatcher) Match(actual interface{}) (bool, error)
func (*DirectoryContentsMatcher) NegatedFailureMessage ¶
func (m *DirectoryContentsMatcher) NegatedFailureMessage(_ interface{}) string
type ExpectedCount ¶
type ExpectedMetric ¶
type FilterErrataTE ¶
type FilterErrataTE struct {
Filter *pref.FilterOptions
}
type FilterTE ¶
type FilterTE struct {
Description string
Pattern string
Scope enums.FilterScope
Negate bool
ErrorContains string
IfNotApplicable enums.TriStateBool
Custom core.TraverseFilter
Type enums.FilterType
Sample core.SampleTraverseFilter
}
type HybridFilterTE ¶
type HybridFilterTE struct {
NodeDef core.FilterDef
ChildDef core.ChildFilterDef
}
type InvokeNodeMatcher ¶
type InvokeNodeMatcher struct {
// contains filtered or unexported fields
}
func (*InvokeNodeMatcher) FailureMessage ¶
func (m *InvokeNodeMatcher) FailureMessage(_ interface{}) string
func (*InvokeNodeMatcher) Match ¶
func (m *InvokeNodeMatcher) Match(actual interface{}) (bool, error)
func (*InvokeNodeMatcher) NegatedFailureMessage ¶
func (m *InvokeNodeMatcher) NegatedFailureMessage(_ interface{}) string
type MatcherExpectation ¶
type MatcherExpectation[T comparable] struct { Expected T Actual T }
func (MatcherExpectation[T]) IsEqual ¶
func (x MatcherExpectation[T]) IsEqual() bool
type MetricMatcher ¶
type MetricMatcher struct {
// contains filtered or unexported fields
}
func (*MetricMatcher) FailureMessage ¶
func (m *MetricMatcher) FailureMessage(_ interface{}) string
func (*MetricMatcher) Match ¶
func (m *MetricMatcher) Match(actual interface{}) (bool, error)
func (*MetricMatcher) NegatedFailureMessage ¶
func (m *MetricMatcher) NegatedFailureMessage(_ interface{}) string
type NotInvokeNodeMatcher ¶
type NotInvokeNodeMatcher struct {
// contains filtered or unexported fields
}
func (*NotInvokeNodeMatcher) FailureMessage ¶
func (m *NotInvokeNodeMatcher) FailureMessage(_ interface{}) string
func (*NotInvokeNodeMatcher) Match ¶
func (m *NotInvokeNodeMatcher) Match(actual interface{}) (bool, error)
func (*NotInvokeNodeMatcher) NegatedFailureMessage ¶
func (m *NotInvokeNodeMatcher) NegatedFailureMessage(_ interface{}) string
type RecallOrder ¶
type RecallScope ¶
type RecallScope map[string]enums.FilterScope
type SampleTE ¶
type SampleTE struct {
SampleType enums.SampleType
Reverse bool
Filter *FilterTE
NoOf pref.EntryQuantities
Each pref.EachDirectoryEntryPredicate
While pref.WhileDirectoryPredicate
}
type TestOptions ¶
Click to show internal directories.
Click to hide internal directories.