components

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Footer(width int, helpText string) string

func Title

func Title(width int, text string) string

Types

type LogPanelComponent

type LogPanelComponent struct {
	// contains filtered or unexported fields
}

func NewLogPanelComponent

func NewLogPanelComponent() *LogPanelComponent

func (*LogPanelComponent) AddServiceLog

func (lp *LogPanelComponent) AddServiceLog(line string)

func (*LogPanelComponent) AddTestLog

func (lp *LogPanelComponent) AddTestLog(testID, line string)

func (*LogPanelComponent) GetRawLogs

func (lp *LogPanelComponent) GetRawLogs() string

GetRawLogs returns unwrapped logs for copy mode

func (*LogPanelComponent) IsFocused

func (lp *LogPanelComponent) IsFocused() bool

func (*LogPanelComponent) SetCurrentTest

func (lp *LogPanelComponent) SetCurrentTest(testID string)

func (*LogPanelComponent) SetFocused

func (lp *LogPanelComponent) SetFocused(focused bool)

func (*LogPanelComponent) Update

func (lp *LogPanelComponent) Update(msg tea.Msg) tea.Cmd

func (*LogPanelComponent) View

func (lp *LogPanelComponent) View(width, height int) string

type TestExecutionHeaderComponent

type TestExecutionHeaderComponent struct {
	// contains filtered or unexported fields
}

func NewTestExecutionHeaderComponent

func NewTestExecutionHeaderComponent(testCount int) *TestExecutionHeaderComponent

func (*TestExecutionHeaderComponent) SetCompleted

func (h *TestExecutionHeaderComponent) SetCompleted()

func (*TestExecutionHeaderComponent) Update

func (h *TestExecutionHeaderComponent) Update(msg tea.Msg) tea.Cmd

func (*TestExecutionHeaderComponent) UpdateStats

func (h *TestExecutionHeaderComponent) UpdateStats(completed, passed, failed, running int) tea.Cmd

func (*TestExecutionHeaderComponent) View

func (h *TestExecutionHeaderComponent) View(width int) string

type TestTableComponent

type TestTableComponent struct {
	// contains filtered or unexported fields
}

func NewTestTableComponent

func NewTestTableComponent(tests []runner.Test) *TestTableComponent

func (*TestTableComponent) GetSelectedTest

func (tt *TestTableComponent) GetSelectedTest() *runner.Test

func (*TestTableComponent) GotoBottom

func (tt *TestTableComponent) GotoBottom()

func (*TestTableComponent) GotoTop

func (tt *TestTableComponent) GotoTop()

func (*TestTableComponent) IsFocused

func (tt *TestTableComponent) IsFocused() bool

func (*TestTableComponent) IsServiceLogsSelected

func (tt *TestTableComponent) IsServiceLogsSelected() bool

func (*TestTableComponent) SetFocused

func (tt *TestTableComponent) SetFocused(focused bool)

func (*TestTableComponent) Update

func (tt *TestTableComponent) Update(msg tea.Msg) tea.Cmd

func (*TestTableComponent) UpdateTestResult

func (tt *TestTableComponent) UpdateTestResult(index int, result runner.TestResult, err error)

func (*TestTableComponent) View

func (tt *TestTableComponent) View(width, height int) string

Jump to

Keyboard shortcuts

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