OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [tests/] [general/] [options.tcl] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
proc About {} {
2
    return "Testing the option configuration of the Tix widgets"
3
}
4
 
5
proc Test {} {
6
    test {tixComboBox .c -xxxxx}        {missing}
7
    test {tixComboBox .c -xxxxx xxx}    {unknown}
8
    test {tixComboBox .c -d xxx}        {ambi}
9
    test {tixComboBox .c -disab 0}      {ambi}
10
    test {tixComboBox .c -disablecal 0}
11
    Assert {[.c cget -disablecallback] == 0}
12
    Assert {[.c cget -disableca] == 0}
13
    test {tixComboBox .d -histl 10}
14
    Assert {[.d cget -histlimit] == 10}
15
    Assert {[.d cget -histlim] == 10}
16
    Assert {[.d cget -historylimit] == 10}
17
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.