diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-09 10:47:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-11-09 10:47:08 (GMT) |
commit | 112fdb000f8632e92519ab4842b0ff340aec52ab (patch) | |
tree | 1b908519a2c284288e35195c43be7eb3aa5fddeb /tests/ttk | |
parent | 6133a711414cfb8fcc3a8b52ecf25b59a09e5800 (diff) | |
download | tk-112fdb000f8632e92519ab4842b0ff340aec52ab.zip tk-112fdb000f8632e92519ab4842b0ff340aec52ab.tar.gz tk-112fdb000f8632e92519ab4842b0ff340aec52ab.tar.bz2 |
Allow "package require tk" in addition to "package require Tk"
Diffstat (limited to 'tests/ttk')
-rw-r--r-- | tests/ttk/all.tcl | 2 | ||||
-rw-r--r-- | tests/ttk/checkbutton.test | 2 | ||||
-rw-r--r-- | tests/ttk/combobox.test | 2 | ||||
-rw-r--r-- | tests/ttk/entry.test | 2 | ||||
-rw-r--r-- | tests/ttk/image.test | 2 | ||||
-rw-r--r-- | tests/ttk/labelframe.test | 2 | ||||
-rw-r--r-- | tests/ttk/layout.test | 2 | ||||
-rw-r--r-- | tests/ttk/notebook.test | 2 | ||||
-rw-r--r-- | tests/ttk/panedwindow.test | 2 | ||||
-rw-r--r-- | tests/ttk/progressbar.test | 2 | ||||
-rw-r--r-- | tests/ttk/radiobutton.test | 2 | ||||
-rw-r--r-- | tests/ttk/scrollbar.test | 2 | ||||
-rw-r--r-- | tests/ttk/spinbox.test | 2 | ||||
-rw-r--r-- | tests/ttk/treetags.test | 2 | ||||
-rw-r--r-- | tests/ttk/treeview.test | 2 | ||||
-rw-r--r-- | tests/ttk/ttk.test | 2 | ||||
-rw-r--r-- | tests/ttk/validate.test | 2 | ||||
-rw-r--r-- | tests/ttk/vsapi.test | 2 |
18 files changed, 18 insertions, 18 deletions
diff --git a/tests/ttk/all.tcl b/tests/ttk/all.tcl index 8a75ba7..071674b 100644 --- a/tests/ttk/all.tcl +++ b/tests/ttk/all.tcl @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. -package require Tk ;# This is the Tk test suite; fail early if no Tk! +package require tk ;# This is the Tk test suite; fail early if no Tk! package require tcltest 2.2 tcltest::configure {*}$argv tcltest::configure -testdir [file normalize [file dirname [info script]]] diff --git a/tests/ttk/checkbutton.test b/tests/ttk/checkbutton.test index 39a6e35..9c58a7b 100644 --- a/tests/ttk/checkbutton.test +++ b/tests/ttk/checkbutton.test @@ -2,7 +2,7 @@ # ttk::checkbutton widget tests. # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test index 48179f3..dd1a7f9 100644 --- a/tests/ttk/combobox.test +++ b/tests/ttk/combobox.test @@ -2,7 +2,7 @@ # ttk::combobox widget tests # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/entry.test b/tests/ttk/entry.test index 501bad6..7e3fe88 100644 --- a/tests/ttk/entry.test +++ b/tests/ttk/entry.test @@ -2,7 +2,7 @@ # Tile package: entry widget tests # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/image.test b/tests/ttk/image.test index bb593fc..51f0f00 100644 --- a/tests/ttk/image.test +++ b/tests/ttk/image.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/labelframe.test b/tests/ttk/labelframe.test index 9ffffd8..3bbf584 100644 --- a/tests/ttk/labelframe.test +++ b/tests/ttk/labelframe.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/layout.test b/tests/ttk/layout.test index 5dfce9b..31ef1f5 100644 --- a/tests/ttk/layout.test +++ b/tests/ttk/layout.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/notebook.test b/tests/ttk/notebook.test index e58812a..50047cf 100644 --- a/tests/ttk/notebook.test +++ b/tests/ttk/notebook.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/panedwindow.test b/tests/ttk/panedwindow.test index 528d56b..e45a3a9 100644 --- a/tests/ttk/panedwindow.test +++ b/tests/ttk/panedwindow.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/progressbar.test b/tests/ttk/progressbar.test index 8e2fdb9..ac8bbf1 100644 --- a/tests/ttk/progressbar.test +++ b/tests/ttk/progressbar.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/radiobutton.test b/tests/ttk/radiobutton.test index 09abcb8..9140805 100644 --- a/tests/ttk/radiobutton.test +++ b/tests/ttk/radiobutton.test @@ -2,7 +2,7 @@ # ttk::radiobutton widget tests. # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/scrollbar.test b/tests/ttk/scrollbar.test index 75d11e7..1ee63a3 100644 --- a/tests/ttk/scrollbar.test +++ b/tests/ttk/scrollbar.test @@ -1,4 +1,4 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/spinbox.test b/tests/ttk/spinbox.test index 673f3bf..a2b8558 100644 --- a/tests/ttk/spinbox.test +++ b/tests/ttk/spinbox.test @@ -2,7 +2,7 @@ # ttk::spinbox widget tests # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/treetags.test b/tests/ttk/treetags.test index d7fa23a..428212b 100644 --- a/tests/ttk/treetags.test +++ b/tests/ttk/treetags.test @@ -1,5 +1,5 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/treeview.test b/tests/ttk/treeview.test index 8e31fe9..3000d95 100644 --- a/tests/ttk/treeview.test +++ b/tests/ttk/treeview.test @@ -3,7 +3,7 @@ # what it currently does) # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/ttk.test b/tests/ttk/ttk.test index fdd3eae..dee3179 100644 --- a/tests/ttk/ttk.test +++ b/tests/ttk/ttk.test @@ -1,5 +1,5 @@ -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands diff --git a/tests/ttk/validate.test b/tests/ttk/validate.test index 5430903..8b48d2a 100644 --- a/tests/ttk/validate.test +++ b/tests/ttk/validate.test @@ -3,7 +3,7 @@ ## Derived from core test suite entry-19.1 through entry-19.20 ## -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* diff --git a/tests/ttk/vsapi.test b/tests/ttk/vsapi.test index ec4e9e7..076a815 100644 --- a/tests/ttk/vsapi.test +++ b/tests/ttk/vsapi.test @@ -1,7 +1,7 @@ # -*- tcl -*- # -package require Tk +package require tk package require tcltest 2.2 namespace import -force tcltest::* loadTestedCommands |