summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--doc/tcltest.n18
2 files changed, 4 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index bceebb3..e75567c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-04-17 Don Porter <dgp@users.sourceforge.net>
+ * doc/tcltest.n: Removed [saveState] and [restoreState] from
+ tcltest 2 documentation, effectively deprecating them. [Bug 495660]
+
* tests/iogt.test: Revised to run tests in a namespace, rather than
use the useless and buggy [saveState] and [restoreState] commands
of tcltest. Updated to use tcltest 2 as well. [Patch 544911]
diff --git a/doc/tcltest.n b/doc/tcltest.n
index dff7100..db5d485 100644
--- a/doc/tcltest.n
+++ b/doc/tcltest.n
@@ -7,7 +7,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: tcltest.n,v 1.15 2002/04/15 17:04:29 dgp Exp $
+'\" RCS: @(#) $Id: tcltest.n,v 1.16 2002/04/18 00:00:19 dgp Exp $
'\"
.so man.macros
.TH "tcltest" n 8.4 Tcl "Tcl Built-In Commands"
@@ -88,10 +88,6 @@ tcltest \- Test harness support code and utilities
.sp
\fBtcltest::bytestring \fIstring\fR
.sp
-\fBtcltest::saveState\fR
-.sp
-\fBtcltest::restoreState\fR
-.sp
\fBtcltest::threadReap\fR
.sp
\fBtcltest::mainThread\fR
@@ -369,18 +365,6 @@ denormalized or improperly formed strings to pass to C procedures that
are supposed to accept strings with embedded NULL types and confirm
that a string result has a certain pattern of bytes.
.TP
-\fBtcltest::saveState\fR
-Save procedure and global variable names.
-A test file might contain calls to \fBtcltest::saveState\fR and
-\fB::tcltest:restoreState\fR if it creates or deletes global variables
-or procs.
-.TP
-\fBtcltest::restoreState\fR
-Restore procedure and global variable names.
-A test file might contain calls to \fBtcltest::saveState\fR and
-\fB::tcltest:restoreState\fR if it creates or deletes global variables
-or procs.
-.TP
\fBtcltest::threadReap\fR
\fBtcltest::threadReap\fR only works if \fItestthread\fR is
defined, generally by compiling tcltest. If \fItestthread\fR is