| 123456789101112131415161718 |
- package wui_widget
- import (
- "testing"
- "gitp78su.ipnodns.ru/svi/kern/v4/d0"
- )
- func TestWuiWidget(t *testing.T) {
- owner := d0.LetOwner(1, "test_owner")
- w := NewWuiWidget(owner)
- if id := w.Id(); id.Get() == "" {
- t.Fatalf("ID is empty")
- }
- if txtHtml := w.Html(); txtHtml.Get() == "" {
- t.Fatalf("strHtml is empty")
- }
- }
|