From: Nickolay V. Shmyrev Date: Sun, 11 Feb 2007 16:51:04 +0000 (+0000) Subject: Added reload test case. X-Git-Tag: EVINCE_0_7_2~9 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=ee692db520d8270be1e1eda534b002a86fa200f8;p=evince.git Added reload test case. 2007-02-11 Nickolay V. Shmyrev * test/Makefile.am: * test/test3.py: Added reload test case. svn path=/trunk/; revision=2312 --- diff --git a/test/test4.py b/test/test4.py new file mode 100755 index 00000000..86ff1976 --- /dev/null +++ b/test/test4.py @@ -0,0 +1,19 @@ +#!/usr/bin/python + +# This test tries document reload action. + +import os +os.environ['LANG']='C' +srcdir = os.environ['srcdir'] + +from dogtail.procedural import * + +run('evince', arguments=' '+srcdir+'/test-links.pdf') + +# Close evince +click('View', roleName='menu') +click('Reload', roleName='menu item') + +# Close evince +click('File', roleName='menu') +click('Close', roleName='menu item')