]> www.fi.muni.cz Git - evince.git/commitdiff
Added reload test case.
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Sun, 11 Feb 2007 16:51:04 +0000 (16:51 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 11 Feb 2007 16:51:04 +0000 (16:51 +0000)
2007-02-11  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* test/Makefile.am:
* test/test3.py:

Added reload test case.

svn path=/trunk/; revision=2312

test/test4.py [new file with mode: 0755]

diff --git a/test/test4.py b/test/test4.py
new file mode 100755 (executable)
index 0000000..86ff197
--- /dev/null
@@ -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')