summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-15 22:59:45 -0400
committerPietro Gagliardi <[email protected]>2014-08-15 22:59:45 -0400
commit5a1fc98fc3b7c78f4c5192be4f6eba4b70d729d1 (patch)
tree8fe832dde4c0e6517fc35ef1c89ee76cee2bde3f
parent5531866fed831b29d807e4c56a4c5526a340eb24 (diff)
Added test of Group with a Control that fills it.
-rw-r--r--redo/zz_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go
index 568f398..13d3d06 100644
--- a/redo/zz_test.go
+++ b/redo/zz_test.go
@@ -32,6 +32,7 @@ var ddata = []dtype{
type testwin struct {
t Tab
w Window
+ group2 Group
group Group
grid Grid
nt Tab
@@ -70,6 +71,8 @@ func (tw *testwin) make(done chan struct{}) {
done <- struct{}{}
return true
})
+ tw.group2 = NewGroup("Group", NewButton("Button in Group"))
+ tw.t.Append("Filled Group", tw.group2)
tw.group = NewGroup("Group", NewVerticalStack(NewCheckbox("Checkbox in Group")))
tw.t.Append("Group", tw.group)
tw.grid = NewGrid(3,