diff options
author | dkf <dkf@noemail.net> | 2003-02-21 11:48:52 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2003-02-21 11:48:52 (GMT) |
commit | c25213ab27fd152ddecb83c1a5cb0b1bce6c66d3 (patch) | |
tree | e417680b93c807afaa60dad708ac97bc695bcde4 /tests/panedwindow.test | |
parent | e7a2a9433511feb3e154e13ad72cc0d937f83ccd (diff) | |
download | tk-c25213ab27fd152ddecb83c1a5cb0b1bce6c66d3.zip tk-c25213ab27fd152ddecb83c1a5cb0b1bce6c66d3.tar.gz tk-c25213ab27fd152ddecb83c1a5cb0b1bce6c66d3.tar.bz2 |
Use the panedwindow's depth, not the screen's default depth. [Bug #671122]
FossilOrigin-Name: 6b665877b0fa70a42b20356194073bc3a7aa1468
Diffstat (limited to 'tests/panedwindow.test')
-rw-r--r-- | tests/panedwindow.test | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/panedwindow.test b/tests/panedwindow.test index 99a75c7..e073d4a 100644 --- a/tests/panedwindow.test +++ b/tests/panedwindow.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: panedwindow.test,v 1.7 2003/02/21 01:57:51 hobbs Exp $ +# RCS: @(#) $Id: panedwindow.test,v 1.8 2003/02/21 11:48:56 dkf Exp $ package require tcltest 2.1 namespace import -force tcltest::configure @@ -2462,6 +2462,19 @@ test panedwindow-29.2 {resizing height} { -result {100 110} } +test panedwindow-30.1 {display on depths other than the default one} { + -constraints {pseudocolor8 haveTruecolor24} + -body { + toplevel .t -visual {truecolor 24} + pack [panedwindow .t.p] + .t.p add [frame .t.p.f1] [frame .t.p.f2] + update + # If we got here, we didn't crash and that's good + } + -cleanup {destroy .t} + -result {} +} + # cleanup ::tcltest::cleanupTests return |