MCPcopy Create free account
hub / github.com/cogentcore/core / TestBind

Function TestBind

core/value_test.go:18–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

16)
17
18func TestBind(t *testing.T) {
19 b := NewBody()
20 Bind("Gopher", NewTextField(b))
21 b.AssertRender(t, "bind/basic")
22}
23
24func TestBindUpdate(t *testing.T) {
25 b := NewBody()

Callers

nothing calls this directly

Calls 4

AssertRenderMethod · 0.95
NewBodyFunction · 0.85
BindFunction · 0.85
NewTextFieldFunction · 0.85

Tested by

no test coverage detected