Posted to tcl by apn at Sat Feb 17 11:40:57 GMT 2018view raw
- Tests running in interp: d:/src/tcltk/868/tk/win/Release_AMD64_VC1912/tktest.exe
- Tests located in: D:/src/tcltk/868/tk/tests
- Tests running in: D:/src/tcltk/868/tk/win
- Temporary files stored in D:/src/tcltk/868/tk/win
- Test files sourced into current interpreter
- Running tests that match: *
- Skipping test files that match: l.*.test
- Only running test files that match: textTag.test
- Tests began at Sat Feb 17 17:07:38 +0530 2018
- textTag.test
- ==== textTag-18.1 TkTextPickCurrent tag bindings FAILED
- ==== Contents of test case:
- text .t -width 30 -height 4 -relief sunken -borderwidth 10 -highlightthickness 10 -pady 2
- pack .t
- .t insert end " Tag here " TAG " no tag here"
- .t tag configure TAG -borderwidth 4 -relief raised
- .t tag bind TAG <Enter> {lappend res "%x %y tag-Enter"}
- .t tag bind TAG <Leave> {lappend res "%x %y tag-Leave"}
- bind .t <Enter> {lappend res Enter}
- bind .t <Leave> {lappend res Leave}
- set res {}
- # Bindings must not trigger on the widget border, only over
- # the actual tagged characters themselves.
- event gen .t <Motion> -warp 1 -x 0 -y 0 ; update
- event gen .t <Motion> -warp 1 -x 10 -y 10 ; update
- event gen .t <Motion> -warp 1 -x 25 -y 25 ; update
- event gen .t <Motion> -warp 1 -x 20 -y 20 ; update
- event gen .t <Motion> -warp 1 -x 10 -y 10 ; update
- event gen .t <Motion> -warp 1 -x 25 -y 25 ; update
- return $res
- ---- Result was:
- {25 25 tag-Enter} {20 20 tag-Leave} {25 25 tag-Enter}
- ---- Result should have been (exact matching):
- Enter {25 25 tag-Enter} {20 20 tag-Leave} {25 25 tag-Enter}
- ==== textTag-18.1 FAILED
- Tests ended at Sat Feb 17 17:07:39 +0530 2018
- all.tcl: Total 174 Passed 173 Skipped 0 Failed 1