summaryrefslogtreecommitdiffstats
path: root/tests/event.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-16 13:31:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-16 13:31:44 (GMT)
commit366274267444686d4349c1e8acfd1d86f5574d09 (patch)
tree6b8efc37c1d2b325058838397156b505c8fd2554 /tests/event.test
parent5385927e72f73a73d5f8a5e4eb0f033c18d2ad6c (diff)
downloadtk-366274267444686d4349c1e8acfd1d86f5574d09.zip
tk-366274267444686d4349c1e8acfd1d86f5574d09.tar.gz
tk-366274267444686d4349c1e8acfd1d86f5574d09.tar.bz2
(cherry-pick): Require Tcltest 2.2 as a miminum. Run X11 testcases on Travis in 3 Ubuntu variants: Xenial, Bionic and Focal. (MacOS/XQuartz not working yet)
Diffstat (limited to 'tests/event.test')
-rw-r--r--tests/event.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/event.test b/tests/event.test
index 95be5f4..4fb2429 100644
--- a/tests/event.test
+++ b/tests/event.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
-package require tcltest 2.1
+package require tcltest 2.2
eval tcltest::configure $argv
tcltest::loadTestedCommands
@@ -326,7 +326,7 @@ test event-3.1(click-drag) {click and drag in a text widget, this tests\
# Save the position of the insert cursor
lappend result [$e index insert]
-
+
# Now drag until selend is highlighted, then click up
set current $anchor
@@ -390,7 +390,7 @@ test event-3.2(click-drag) {click and drag in an entry widget, this\
# Save the position of the insert cursor
lappend result [$e index insert]
-
+
# Now drag until selend is highlighted, then click up
set current $anchor
@@ -743,7 +743,7 @@ test event-7.2(double-click) {A double click on a lone character\
set result [list]
lappend result [$e index insert]
lappend result [_get_selection $e]
-
+
# Clear selection by clicking at 0,0
event generate $e <ButtonPress-1> -x 0 -y 0