state

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoricalEntry

type HistoricalEntry struct {
	Timestamp time.Time
	Passed    bool
}

type Size

type Size struct {
	Sidebar     int
	MainContent int
}

type State

type State struct {
	TestTree    *tview.TreeNode
	TestOutput  map[*tview.TreeNode]*models.LazyTestResult
	FailedTests []*tview.TreeNode
	PassedTests []*tview.TreeNode
	IsSearching bool
	Size        *Size
	History     map[*tview.TreeNode][]HistoricalEntry
	Timings     map[*tview.TreeNode][]time.Duration
}

func NewState

func NewState() *State

func (*State) Reset

func (s *State) Reset()

Jump to

Keyboard shortcuts

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