Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2007-02-07 09:12:30 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-02-07 09:12:30 (GMT)
commitfbf941ffee5fac41f1444102a116f8e23601c53e (patch)
tree1d5451f134edd3cc452f4fbcf21521b0b4611721
parent7b6a3a5b870baf4499ee857119b4a4f0a42eaa78 (diff)
Added test for slow mime type
2007-02-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * test/Makefile.am: * test/test-mime.bin: * test/test3.py: Added test for slow mime type svn path=/trunk/; revision=2301
-rw-r--r--ChangeLog8
-rw-r--r--test/Makefile.am4
-rw-r--r--test/test-mime.binbin0 -> 15151 bytes
-rwxr-xr-xtest/test3.py15
4 files changed, 25 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d955ee8..6667885 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-02-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * test/Makefile.am:
+ * test/test-mime.bin:
+ * test/test3.py:
+
+ Added test for slow mime type
+
2007-02-06 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-cache.c: (ev_page_cache_finalize):
diff --git a/test/Makefile.am b/test/Makefile.am
index dfdb580..575fa98 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,6 +1,6 @@
-dist_check_SCRIPTS = test1.py test2.py
+dist_check_SCRIPTS = test1.py test2.py test3.py
TESTS = $(dist_check_SCRIPTS)
-EXTRA_DIST = test-encrypt.pdf test-links.pdf
+EXTRA_DIST = test-encrypt.pdf test-links.pdf test-mime.bin
diff --git a/test/test-mime.bin b/test/test-mime.bin
new file mode 100644
index 0000000..0b1e620
--- /dev/null
+++ b/test/test-mime.bin
Binary files differ
diff --git a/test/test3.py b/test/test3.py
new file mode 100755
index 0000000..adfbd9d
--- /dev/null
+++ b/test/test3.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python
+
+# This test opens a password encrypted file and tries to unlock it.
+
+import os
+os.environ['LANG']='C'
+srcdir = os.environ['srcdir']
+
+from dogtail.procedural import *
+
+run('evince', arguments=' '+srcdir+'/test-mime.bin')
+
+# Close evince
+click('File', roleName='menu')
+click('Close', roleName='menu item')