diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-16 13:31:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-16 13:31:44 (GMT) |
commit | 366274267444686d4349c1e8acfd1d86f5574d09 (patch) | |
tree | 6b8efc37c1d2b325058838397156b505c8fd2554 /tests/event.test | |
parent | 5385927e72f73a73d5f8a5e4eb0f033c18d2ad6c (diff) | |
download | tk-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.test | 8 |
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 |