# This file is a Tcl script to test new object types in Tk. # # Copyright © 1997 Sun Microsystems, Inc. # Copyright © 1998-1999 Scriptics Corporation. # All rights reserved. # # TESTFILE INITIALIZATION # package require tcltest 2.2; # needed in mode -singleproc 0 # Load the main script main.tcl, which takes care of: # - setup for the application and the root window # - importing commands from the tcltest namespace # - loading of the testutils mechanism along with its utility procs # - loading of Tk specific test constraints (additionally to constraints # provided by the package tcltest) source [file join [tcltest::configure -testdir] main.tcl] # Ensure a pristine initial window state resetWindows # # TESTS # test obj-1.1 {TkGetPixelsFromObj} -body { } -result {} test obj-2.1 {FreePixelInternalRep} -body { } -result {} test obj-3.1 {DupPixelInternalRep} -body { } -result {} test obj-4.1 {SetPixelFromAny} -body { } -result {} # # TESTFILE CLEANUP # cleanupTests