goeytest

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareElementToWidget

func CompareElementToWidget(t *testing.T, normalize func(*testing.T, base.Widget), element base.Element, widget base.Widget) bool

func CompareElementsToWidgets

func CompareElementsToWidgets(t *testing.T, normalize func(*testing.T, base.Widget), elements []base.Element, widgets []base.Widget)

Types

type Proper

type Proper interface {
	Props() base.Widget
}

type Window

type Window interface {
	Close()
	Child() base.Element
	SetChild(base.Widget) error
}

func WithWindow

func WithWindow(t *testing.T, init func() (Window, error)) (window Window, closer func())

Jump to

Keyboard shortcuts

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