Documentation ¶
Overview ¶
Package testhelpers contains routines to help test rulehunter
Index ¶
- func BuildConfigDirs(e errorReporter, buildAllDirs bool) string
- func CopyFile(e errorReporter, srcFilename, dstDir string, args ...string)
- func GetFilesInDir(t *testing.T, dir string) []string
- func MustParse(layout, s string) time.Time
- func MustWriteConfig(e errorReporter, baseDir string, maxNumRecords int64, args ...int)
- func TempDir(e errorReporter) string
- type Entry
- type FileInfo
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfigDirs ¶
func MustWriteConfig ¶
Types ¶
type Entry ¶
func SortLogEntries ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) GetEntries ¶
GetEntries returns the entries from the log. If an argument is passed, it represents whether to make the errors unique.
func (*Logger) SetSvcLogger ¶
Click to show internal directories.
Click to hide internal directories.