Import Tk 8.6.11
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package require Tk 8.5
|
||||
package require tcltest ; namespace import -force tcltest::*
|
||||
package require Tk
|
||||
package require tcltest 2.2
|
||||
namespace import -force tcltest::*
|
||||
loadTestedCommands
|
||||
|
||||
test image-1.1 "Bad image element" -body {
|
||||
@@ -11,7 +12,7 @@ test image-1.2 "Duplicate element" -setup {
|
||||
ttk::style element create testElement image test.element
|
||||
} -body {
|
||||
ttk::style element create testElement image test.element
|
||||
} -returnCodes 1 -result "Duplicate element testElement"
|
||||
} -returnCodes error -result "Duplicate element testElement"
|
||||
|
||||
test image-2.0 "Deletion of displayed image (label)" -setup {
|
||||
image create photo test.image -width 10 -height 10
|
||||
@@ -23,7 +24,7 @@ test image-2.0 "Deletion of displayed image (label)" -setup {
|
||||
} -cleanup {
|
||||
destroy .ttk_image20
|
||||
} -result {}
|
||||
|
||||
|
||||
test image-2.1 "Deletion of displayed image (checkbutton)" -setup {
|
||||
image create photo test.image -width 10 -height 10
|
||||
} -body {
|
||||
|
||||
Reference in New Issue
Block a user