#2555 new test failures

obsolete: 8.6a4
closed-fixed
69. Events (88)
5
2009-01-11
2008-11-24
Don Porter
No

==== bind-13.1 Tk_BindEvent procedure FAILED
==== Contents of test case:

bind Test <KeyPress> {lappend x "%W %K Test KeyPress"}
bind all <KeyPress> {lappend x "%W %K all KeyPress"}
bind Test : {lappend x "%W %K Test :"}
bind all _ {lappend x "%W %K all _"}
bind .t.f : {lappend x "%W %K .t.f :"}

event generate .t.f <Key-:>
event generate .t.f <Key-+>
event generate .t.f <Key-_>
return $x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad event type or keysym ":"
while executing
"event generate .t.f <Key-:>"
("uplevel" body line 8)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== bind-13.1 FAILED

==== bind-13.4 Tk_BindEvent procedure FAILED
==== Contents of test case:

bind Test : {lappend x "%W %K Test"}
bind .t.f : {lappend x "%W %K .t.f"}
foo
return $x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad event type or keysym ":"
while executing
"event generate .t.f <Key-:>"
(procedure "foo" line 3)
invoked from within
"foo"
("uplevel" body line 4)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== bind-13.4 FAILED

==== bind-13.7 Tk_BindEvent procedure FAILED
==== Contents of test case:

bind .t.f : {lappend x "%W (.t.f binding)"}
bind Test : {lappend x "%W (Test binding)"}
bind all : {bind .t.f : {}; lappend x "%W (all binding)"}
event generate .t.f <Key-:>
return $x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad event type or keysym ":"
while executing
"event generate .t.f <Key-:>"
("uplevel" body line 5)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== bind-13.7 FAILED

==== bind-13.8 Tk_BindEvent procedure FAILED
==== Contents of test case:

bind .t.f : {lappend x "%W (.t.f binding)"}
bind Test : {lappend x "%W (Test binding)"}
bind all : {destroy .t.f; lappend x "%W (all binding)"}
event generate .t.f <Key-:>
return $x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad event type or keysym ":"
while executing
"event generate .t.f <Key-:>"
("uplevel" body line 5)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== bind-13.8 FAILED

==== bind-13.13 Tk_BindEvent procedure: valid key detail FAILED
==== Contents of test case:

bind .t.f <Key> "lappend x Key%K"
bind .t.f <KeyRelease> "lappend x Release%K"
event generate .t.f <Key> -keysym :
event generate .t.f <KeyRelease> -keysym :
return $x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: unknown keysym ":"
while executing
"event generate .t.f <Key> -keysym :"
("uplevel" body line 4)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== bind-13.13 FAILED

==== bind-28.5 keysym names FAILED
==== Contents of test case:

bind .t.f <Key-:> "lappend x \"keysym received\""
bind .t.f <Key-_> "lappend x {bad binding match}"
set x [lsort [bind .t.f]]
event generate .t.f <Key-:> ;# -state 0
set x

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: bad event type or keysym ":"
while executing
"bind .t.f <Key-:> "lappend x \"keysym received\"""
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== bind-28.5 FAILED

Discussion

  • Pat Thoyts

    Pat Thoyts - 2008-11-26

    What systems is this failing on? The changes put into the bind.test file were to reduce the number of failures on various non-English versions of Windows where we run into some dependencies on the keyboard driver in use. In particular running the tests with either a French or Russian keyboard in use was raising a number of failures that never occur with a UK/US keyboard.

     
  • Don Porter

    Don Porter - 2008-11-27

    Centos Linux, KDE 3.5.4-16

     
  • Joe English

    Joe English - 2009-01-09

    ":", "+", and "_" are not a valid keysym names in Tk under X11 -- see keysym(3tk).

    You probably want "colon", "plus", and "underscore", resp.

     
  • Pat Thoyts

    Pat Thoyts - 2009-01-11

    done

     
  • Pat Thoyts

    Pat Thoyts - 2009-01-11
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks