4
# $Id: match.t,v 1.2 1998/08/28 11:54:20 eserte Exp $
7
# Copyright (C) 1997,1998 Slaven Rezic. All rights reserved.
8
# This program is free software; you can redistribute it and/or
9
# modify it under the same terms as Perl itself.
11
# Mail: eserte@cs.tu-berlin.de
12
# WWW: http://user.cs.tu-berlin.de/~eserte/
20
BEGIN { plan tests => 2, todo => [2] }
22
my $top = new MainWindow;
23
$top->geometry($top->screenwidth . "x" .$top->screenheight . "+0+0");
25
my $he = $top->HistEntry(-match => 1,
28
$he->addhistory('Slaven');
29
$he->addhistory('Rezic');
34
$e->event('generate', '<KeyPress>', -keysym => 'S');
35
$e->event('generate', '<KeyPress>', -keysym => 'l');
38
skip($@, $e->get eq 'Slaven');
41
$e->event('generate', '<KeyPress>', -keysym => 'BackSpace');
45
skip ($@, $e->get eq 'S');