summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/test1.py4
-rwxr-xr-xtest/test2.py4
-rwxr-xr-xtest/test3.py4
-rwxr-xr-xtest/test4.py4
-rwxr-xr-xtest/test5.py4
-rwxr-xr-xtest/test6.py4
-rwxr-xr-xtest/test7.py6
7 files changed, 15 insertions, 15 deletions
diff --git a/test/test1.py b/test/test1.py
index 42d83c01..7bd0698e 100755
--- a/test/test1.py
+++ b/test/test1.py
@@ -7,7 +7,7 @@ os.environ['LANG']='C'
from dogtail.procedural import *
-run('evince')
+run('atril')
# Test file->open
click('File', roleName='menu')
@@ -31,6 +31,6 @@ click('Close', roleName='push button')
focus.dialog('About Document Viewer')
click('Close', roleName='push button')
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')
diff --git a/test/test2.py b/test/test2.py
index ca06b66b..910a8425 100755
--- a/test/test2.py
+++ b/test/test2.py
@@ -8,7 +8,7 @@ srcdir = os.environ['srcdir']
from dogtail.procedural import *
-run('evince', arguments=' '+srcdir+'/test-encrypt.pdf')
+run('atril', arguments=' '+srcdir+'/test-encrypt.pdf')
# Try an incorrect password first
focus.dialog('Enter password')
@@ -23,6 +23,6 @@ focus.widget('Password Entry', roleName='password text')
type('Foo')
click('Unlock Document', roleName='push button')
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')
diff --git a/test/test3.py b/test/test3.py
index 56b90df1..2f091036 100755
--- a/test/test3.py
+++ b/test/test3.py
@@ -8,8 +8,8 @@ srcdir = os.environ['srcdir']
from dogtail.procedural import *
-run('evince', arguments=' '+srcdir+'/test-mime.bin')
+run('atril', arguments=' '+srcdir+'/test-mime.bin')
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')
diff --git a/test/test4.py b/test/test4.py
index 789030e3..75da32ef 100755
--- a/test/test4.py
+++ b/test/test4.py
@@ -8,13 +8,13 @@ srcdir = os.environ['srcdir']
from dogtail.procedural import *
-run('evince', arguments=' '+srcdir+'/test-links.pdf')
+run('atril', arguments=' '+srcdir+'/test-links.pdf')
# Reload document a few times
for i in range(1,6):
click('View', roleName='menu')
click('Reload', roleName='menu item')
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')
diff --git a/test/test5.py b/test/test5.py
index 9fd7276e..c78ebc6f 100755
--- a/test/test5.py
+++ b/test/test5.py
@@ -8,7 +8,7 @@ srcdir = os.environ['srcdir']
from dogtail.procedural import *
-run('evince', arguments=' '+srcdir+'/test-page-labels.pdf')
+run('atril', arguments=' '+srcdir+'/test-page-labels.pdf')
focus.widget('page-label-entry')
focus.widget.text = "iii"
@@ -19,6 +19,6 @@ if focus.widget.text != "III":
click('Close', roleName='menu item')
exit (1)
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')
diff --git a/test/test6.py b/test/test6.py
index 89b6e5d0..b7e3a2f2 100755
--- a/test/test6.py
+++ b/test/test6.py
@@ -12,7 +12,7 @@ from dogtail.procedural import *
if os.path.exists(homedir + "output.ps"):
os.unlink(homedir + "output.ps")
-run('evince', arguments=' '+srcdir+'/test-page-labels.pdf')
+run('atril', arguments=' '+srcdir+'/test-page-labels.pdf')
click('File', roleName='menu')
click('Print...', roleName='menu item')
@@ -26,6 +26,6 @@ if statinfo.st_size > 100000:
exit(1)
os.unlink (homedir + "output.ps")
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')
diff --git a/test/test7.py b/test/test7.py
index f104a472..0d6c047c 100755
--- a/test/test7.py
+++ b/test/test7.py
@@ -8,12 +8,12 @@ srcdir = os.environ['srcdir']
from dogtail.procedural import *
-run('evince', arguments=' '+srcdir+'/test-page-labels.pdf')
+run('atril', arguments=' '+srcdir+'/test-page-labels.pdf')
#!/usr/bin/python
from dogtail.procedural import *
-focus.application('evince')
+focus.application('atril')
focus.frame('test-page-labels.pdf')
click('File', roleName='menu')
click('Print...', roleName='menu item')
@@ -28,6 +28,6 @@ click('Print Preview', roleName='push button')
keyCombo('Return')
click('Cancel')
-# Close evince
+# Close atril
click('File', roleName='menu')
click('Close', roleName='menu item')