test

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUp

func SetUp(t *testing.T)

func SetUpFiles

func SetUpFiles(t *testing.T, setUpDir []FsNode)

Types

type AssertCacheEntry

type AssertCacheEntry struct {
	Path    AbsolutePath
	Content string
}

type FsDir

type FsDir struct {
	Name     string
	Children []FsNode
}

func Dir

func Dir(name string, children []FsNode) FsDir

func (FsDir) GetChildren

func (f FsDir) GetChildren() []FsNode

func (FsDir) GetName

func (f FsDir) GetName() string

type FsFile

type FsFile struct {
	Name    string
	Content string
}

func ConfigFile

func ConfigFile(config config.Config) FsFile

func File

func File(name string) FsFile

func (FsFile) GetChildren

func (f FsFile) GetChildren() []FsNode

func (FsFile) GetName

func (f FsFile) GetName() string

type FsNode

type FsNode interface {
	GetName() string
	GetChildren() []FsNode
}

Jump to

Keyboard shortcuts

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