summaryrefslogtreecommitdiffstats
path: root/tests/obj.test
diff options
context:
space:
mode:
authoraniap <aniap>2008-08-11 21:33:17 (GMT)
committeraniap <aniap>2008-08-11 21:33:17 (GMT)
commita66a478b11a3a5fb8ca2f96b1455d1513f6b228e (patch)
treea599278039a0e8e4f1e616c3919ec81896ed19a1 /tests/obj.test
parent3e1853a0a7548512056eb08a8b4916ec2f683ee6 (diff)
downloadtk-a66a478b11a3a5fb8ca2f96b1455d1513f6b228e.zip
tk-a66a478b11a3a5fb8ca2f96b1455d1513f6b228e.tar.gz
tk-a66a478b11a3a5fb8ca2f96b1455d1513f6b228e.tar.bz2
Update to tcltest2
Diffstat (limited to 'tests/obj.test')
-rw-r--r--tests/obj.test24
1 files changed, 11 insertions, 13 deletions
diff --git a/tests/obj.test b/tests/obj.test
index 3112f8b..3cd7230 100644
--- a/tests/obj.test
+++ b/tests/obj.test
@@ -5,28 +5,26 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: obj.test,v 1.5 2004/05/23 17:34:49 dkf Exp $
+# RCS: @(#) $Id: obj.test,v 1.6 2008/08/11 21:33:17 aniap Exp $
-package require tcltest 2.1
+package require tcltest 2.2
+namespace import ::tcltest::*
eval tcltest::configure $argv
tcltest::loadTestedCommands
-test obj-1.1 {TkGetPixelsFromObj} {
-} {}
+test obj-1.1 {TkGetPixelsFromObj} -body {
+} -result {}
-test obj-2.1 {FreePixelInternalRep} {
-} {}
+test obj-2.1 {FreePixelInternalRep} -body {
+} -result {}
-test obj-3.1 {DupPixelInternalRep} {
-} {}
+test obj-3.1 {DupPixelInternalRep} -body {
+} -result {}
-test obj-4.1 {SetPixelFromAny} {
-} {}
+test obj-4.1 {SetPixelFromAny} -body {
+} -result {}
-
-deleteWindows
-
# cleanup
cleanupTests
return