summaryrefslogtreecommitdiffstats
path: root/tkimg/xbm/tests
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-01-08 21:02:55 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-01-08 21:02:55 (GMT)
commitdbbb38af9cefef9e9e1a03c97945ee59063aa782 (patch)
treedeefc089aa3327ebd4daa943b47c0d8f34af6bc7 /tkimg/xbm/tests
parent54ae0375ebd9242bdf2eeceacee4c5b2de914bc1 (diff)
downloadblt-dbbb38af9cefef9e9e1a03c97945ee59063aa782.zip
blt-dbbb38af9cefef9e9e1a03c97945ee59063aa782.tar.gz
blt-dbbb38af9cefef9e9e1a03c97945ee59063aa782.tar.bz2
update tkimg 1.4.7
Diffstat (limited to 'tkimg/xbm/tests')
-rwxr-xr-xtkimg/xbm/tests/all.tcl24
-rwxr-xr-xtkimg/xbm/tests/folder.xbm5
-rwxr-xr-xtkimg/xbm/tests/xbm.test26
3 files changed, 0 insertions, 55 deletions
diff --git a/tkimg/xbm/tests/all.tcl b/tkimg/xbm/tests/all.tcl
deleted file mode 100755
index 7010d2d..0000000
--- a/tkimg/xbm/tests/all.tcl
+++ /dev/null
@@ -1,24 +0,0 @@
-# all.tcl -- -*- tcl -*-
-#
-# Import common functionality, then run the tests in this directory.
-#
-# Copyright (c) 2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>
-# All rights reserved.
-#
-# RCS: @(#) $Id: all.tcl 224 2009-07-27 08:47:46Z nijtmans $
-
-set _pwd [pwd]
-cd [file dirname [file join [pwd] [info script]]]
-set _here [pwd]
-cd $_pwd
-source [file join [file dirname [file dirname $_here]] tests all.tcl]
-unset _pwd _here
-
-set ::tcltest::testSingleFile false
-set ::tcltest::testsDirectory [file dirname [info script]]
-
-# We need to ensure that the testsDirectory is absolute
-::tcltest::normalizePath ::tcltest::testsDirectory
-
-run_tests
-exit
diff --git a/tkimg/xbm/tests/folder.xbm b/tkimg/xbm/tests/folder.xbm
deleted file mode 100755
index 6a519f6..0000000
--- a/tkimg/xbm/tests/folder.xbm
+++ /dev/null
@@ -1,5 +0,0 @@
-#define folder_width 16
-#define folder_height 12
-static char folder_bits[] = {
- 0x78,0x00,0x86,0x55,0x02,0x01,0xff,0x5f,0x01,0x30,0x01,0x50,0x01,0x10,0x01,
- 0x50,0x01,0x10,0x01,0x50,0x01,0x30,0xff,0x1f};
diff --git a/tkimg/xbm/tests/xbm.test b/tkimg/xbm/tests/xbm.test
deleted file mode 100755
index ab7f8bd..0000000
--- a/tkimg/xbm/tests/xbm.test
+++ /dev/null
@@ -1,26 +0,0 @@
-# This file is a Tcl script to test out XBM reading and writing.
-# It is organized in the standard fashion for Tcl tests.
-#
-
-puts "img::xbm [package require img::xbm]"
-
-test xbm-1.1 {} {
- catch {image delete i}
- image create photo i -file [file join $tcltest::testsDirectory folder.xbm]
- i data -format xbm
-} {#define InlineData_width 16
-#define InlineData_height 12
-static char InlineData_bits[] = {
- 0x78, 0x00,
- 0x86, 0x55,
- 0x02, 0x01,
- 0xff, 0x5f,
- 0x01, 0x30,
- 0x01, 0x50,
- 0x01, 0x10,
- 0x01, 0x50,
- 0x01, 0x10,
- 0x01, 0x50,
- 0x01, 0x30,
- 0xff, 0x1f};
-}