blob: 1e3c52490c847b82543f892f81ba578211790dfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# This file is a Tcl script to test new object types in Tk.
# It is organized in the standard fashion for Tcl tests.
#
# Copyright (c) 1997 Sun Microsystems, Inc.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# SCCS: @(#) obj.test 1.2 97/11/17 11:20:18
if {[info procs test] != "test"} {
source defs
}
foreach i [winfo children .] {
destroy $i
}
wm geometry . {}
raise .
test obj-1.1 {TkGetPixelsFromObj} {
} {}
test obj-2.1 {FreePixelInternalRep} {
} {}
test obj-3.1 {DupPixelInternalRep} {
} {}
test obj-4.1 {SetPixelFromAny} {
} {}
eval destroy [winfo children .]
|