Documentation
¶
Overview ¶
Package viewrun runs the reproduction of the issue "viewport3d.View stops drawing when Children goes from none to one (or back)" (internal/issues, ViewChildrenName; step 68.1) in an app: a 3D view whose overlays and navigation change one after the other, with a pick after each change. The app of the Linux display test, of the Wine test and of the emulator test (examples/dev/viewchildren) and the page apps of the browser tests (gpuwebtest, glwebtest) share it, so that each platform runs the same steps.
It is plain Go with no OS tags and does not import testing: apps link it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is the reproduction in one app. Widget is its view.
func (*Runner) Run ¶
func (r *Runner) Run(ctx context.Context, platform string, wait time.Duration) issues.ViewChildrenReport
Run runs the steps and returns the report: platform is the report's. It waits for the app to be built and for its GPU device, at most wait, and as long for the answer of each pick. It must not be called on the UI thread.