Compare commits

...
22 Commits
Author SHA1 Message Date
jan.nijtmans af4318b18f Merge 8.7
Remark: Almost all "http-tip-452.test" test-cases fail, most likely due to the internal changes in the http package.
2018-09-23 13:44:46 +00:00
dkf f244391aa4 Fix odd consequence for tests; ::tcltest namespace is usually present. 2018-09-22 19:42:06 +00:00
jan.nijtmans 6a8b110ddc merge core-8-branch 2018-09-22 16:33:40 +00:00
dkf 8f54520a20 Restore the core of the changes to init.tcl; TIP *specifies* that they're OK. 2018-09-21 13:12:54 +00:00
jan.nijtmans 395353bfdb Undo TIP #452 change to library/init.tcl: It depends on tcltest, which shouldn't be there yet 2018-09-16 15:14:28 +00:00
jan.nijtmans c3afc3b93f merge 8.7 2018-09-16 15:09:18 +00:00
gerald ecdbabf93a Tests for ::http::Write done. 2017-06-23 20:49:22 +00:00
gerald 1f92397dcd Added test suites for more of the http package, two procedures left to do test suites for. 2017-06-23 20:08:13 +00:00
gerald 3a6415e294 Added additional tests into rewrite of http test package. 2017-06-22 03:33:54 +00:00
gerald 427c619d34 More http test rewrites. 2017-06-21 21:22:41 +00:00
gerald 298d32b5d7 Test for several more commands. 2017-06-20 23:04:02 +00:00
gerald 00fcfb6e96 Added test for several commands. 2017-06-20 14:36:48 +00:00
gerald 17f324a745 Fix for [c81183a2a71adeff28d846b5dcf8ca5bb15bbf30]. 2017-06-19 22:45:49 +00:00
gerald 75f156016e [4e5007ea1b285527] Added all code path tests for ::http::formatQuery. 2017-06-19 22:21:36 +00:00
gerald 5dd0e19ea5 Test complete for http::geturl -- all code paths covered.
Also fix for tcloo code in TIP 452.
2017-06-19 21:40:27 +00:00
gerald f421f7e202 Partial test suite written for http::geturl. 2017-06-16 21:13:06 +00:00
gerald 8d199f0272 Added empty failing tests for all the paths in geturl. 2017-06-16 17:08:39 +00:00
gerald 74a1c4a153 Added empty failing test for each unit that should be tested. NOTE -- some units will have multiple tests when fully implemented to test all of their code paths. 2017-06-16 16:28:38 +00:00
gerald 112bdec4bb Started to add support for tcloo into tcltest package.
First set of http test using TIP 452.
2017-06-16 15:15:46 +00:00
gerald 7dfab1a0f6 1) Added namespace exports to tcltest namespace for new features
2) Rolled minor revision number of tcltest package to 2.5.0 since freatures were added.
3) Started http-tip-452.test to demostrate the use of mocks/stubs. (work here is not complete)
2017-06-10 17:06:13 +00:00
gerald 94f182e0d3 Check in reference implementation of TIP 452.
TO DO: create test for two existing Tcl procedure to demostrate the use of the package.
2017-06-08 21:49:40 +00:00
gerald 5178daa9a7 Create new branch named "tip-452" 2017-06-08 20:38:23 +00:00
120 changed files with 8162 additions and 249 deletions
+1
View File
@@ -24,6 +24,7 @@ http \- Client-side implementation of the HTTP/1.1 protocol
.sp
\fB::http::quoteString\fR \fIvalue\fR
.sp
\fB::http::quoteString\fR \fIvalue\fR
\fB::http::reset\fR \fItoken\fR ?\fIwhy\fR?
.sp
\fB::http::wait \fItoken\fR
+12 -1
View File
@@ -798,6 +798,17 @@ proc tcl::CopyDirectory {action src dest} {
}
return
}
## TIP 452 hack --
## Creates a stub for part of tcltest to let code use one specific
## operation without needing to explicitly import the tcltest package.
##
namespace eval ::tcltest {
namespace ensemble create -command seam -map {
define {::apply {{seamName body} {tailcall if true $body}}}
}
}
set isafe [interp issafe]
###
# Package manifest for all Tcl packages included in the /library file system
@@ -810,7 +821,7 @@ foreach {safe package version file} {
1 opt 0.4.7 {opt optparse.tcl}
0 platform 1.0.14 {platform platform.tcl}
0 platform::shell 1.1.4 {platform shell.tcl}
1 tcltest 2.4.1 {tcltest tcltest.tcl}
1 tcltest 2.5.0 {tcltest tcltest.tcl}
} {
if {$isafe && !$safe} continue
package ifneeded $package $version [list source [file join $dir {*}$file]]
+2 -2
View File
@@ -8,5 +8,5 @@
# script is sourced, the variable $dir must contain the
# full path name of this file's directory.
if {![package vsatisfies [package provide Tcl] 8.5-]} {return}
package ifneeded tcltest 2.4.1 [list source [file join $dir tcltest.tcl]]
if {![package vsatisfies [package provide Tcl] 8.6-]} {return}
package ifneeded tcltest 2.5.0 [list source [file join $dir tcltest.tcl]]
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
unset -nocomplain x
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
catch {unset x}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# Commands covered: assemble
if {"::tcltest" ni [namespace children]} {
package require tcltest 2.2
package require tcltest 2.2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
namespace eval tcl::unsupported {namespace export assemble}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
testConstraint bigEndian [expr {$tcl_platform(byteOrder) eq "bigEndian"}]
+2 -2
View File
@@ -16,8 +16,8 @@ if {![llength [info commands case]]} {
return
}
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -7,8 +7,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+1 -4
View File
@@ -13,10 +13,7 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
# TODO: This test is likely worthless. Confirm and remove
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
}
package require tcltest 2
namespace eval ::tcl::test::io {
namespace import ::tcltest::*
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2.1
package require tcltest 2.1
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -8,8 +8,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+3 -3
View File
@@ -11,9 +11,9 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[catch {package require tcltest 2.1}]} {
puts stderr "Skipping tests in [info script]. tcltest 2.1 required."
return
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
namespace eval ::tcl::test::cmdMZ {
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -8,8 +8,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -14,8 +14,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
package require tcltest 2.1
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -8,8 +8,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -15,8 +15,8 @@
#
# DO NOT DELETE THIS LINE
if {{::tcltest} ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2.3.4
package require tcltest 2.3.4
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2.1
package require tcltest 2.1
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+1 -3
View File
@@ -13,9 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
}
package require tcltest 2
namespace eval ::tcl::test::io {
namespace import ::tcltest::*
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.2
package require tcltest 2.2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -13,8 +13,8 @@
#
# RCS: @(#) $Id: $
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
set oldTSF $::tcltest::testSingleFile
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
package require tcltest 2.1
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -14,8 +14,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2.2
package require tcltest 2.2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2.3.3
package require tcltest 2.3.3
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -14,8 +14,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -8,8 +8,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+1 -3
View File
@@ -9,9 +9,7 @@
#
# Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
}
package require tcltest 2
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# Copyright (c) 1997 by Sun Microsystems, Inc. All rights reserved.
# Copyright (c) 1998-1999 by Scriptics Corporation.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -3
View File
@@ -11,9 +11,8 @@
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
package require Tcl 8.5-
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
if {"::tcltest" ni [namespace children]} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -10,8 +10,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -60,8 +60,8 @@
# listening at port 2048. If all fails, a message is printed and the tests
# using the remote server are not performed.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -12,8 +12,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
package require tcltest 2.1
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
::tcltest::loadTestedCommands
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -9,8 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -11,8 +11,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {"::tcltest" ni [namespace children]} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}
+2 -2
View File
@@ -13,8 +13,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2
package require tcltest 2
if {"::tcltest" in [namespace children]} {
namespace import -force ::tcltest::*
}

Some files were not shown because too many files have changed in this diff Show More