blob: bc4618e32a29be5477cf1a14ac69a0a1774fd1f2 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
# 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.
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
# RCS: @(#) $Id: obj.test,v 1.3 2002/07/13 20:28:35 dgp Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
namespace import -force tcltest::testsDirectory
configure -testdir [file join [pwd] [file dirname [info script]]]
configure -loadfile [file join [testsDirectory] constraints.tcl]
tcltest::loadTestedCommands
test obj-1.1 {TkGetPixelsFromObj} {
} {}
test obj-2.1 {FreePixelInternalRep} {
} {}
test obj-3.1 {DupPixelInternalRep} {
} {}
test obj-4.1 {SetPixelFromAny} {
} {}
deleteWindows
# cleanup
::tcltest::cleanupTests
return
|