From fbf941ffee5fac41f1444102a116f8e23601c53e Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Wed, 7 Feb 2007 09:12:30 +0000 Subject: [PATCH] Added test for slow mime type 2007-02-07 Nickolay V. Shmyrev * test/Makefile.am: * test/test-mime.bin: * test/test3.py: Added test for slow mime type svn path=/trunk/; revision=2301 --- ChangeLog | 8 ++++++++ test/Makefile.am | 4 ++-- test/test-mime.bin | Bin 0 -> 15151 bytes test/test3.py | 15 +++++++++++++++ 4 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 test/test-mime.bin create mode 100755 test/test3.py diff --git a/ChangeLog b/ChangeLog index d955ee8f..66678853 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-02-07 Nickolay V. Shmyrev + + * test/Makefile.am: + * test/test-mime.bin: + * test/test3.py: + + Added test for slow mime type + 2007-02-06 Carlos Garcia Campos * shell/ev-page-cache.c: (ev_page_cache_finalize): diff --git a/test/Makefile.am b/test/Makefile.am index dfdb5804..575fa98e 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 0000000000000000000000000000000000000000..0b1e620395c09ef1a85e5ab725138e62a876080c GIT binary patch literal 15151 zcmeHuc|4Te`>?Gng^(sgC!7*vNnYIYl{X7(z}Sq96;ER!~q>uw?-W5kLwM z1?qY=91ahXvwXg33oRWdFORDV7Bx|3y>( zp;8KgUrhhoI{jA{)xx3hPN2)P0Gb$QXEf+$6vwmynE}$EmpP%GAy7bzOu$26zX7s< zGXaSrVemM>2~R?zP@r!Du4J4Gl0f#rBFQ8G?}Epn-2rDTMDaHkR0cp@@Bo~h0cQ*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oK^WLR`Wpr|>40%Y zV4<|6nqd6U6rBRbcsvQR<6vN)AGJ=K8i>GYuxC;k0augLl7p!!Xvx4d)wSfH^72|T pY8qf)sv;Z?gUP8t{_`aiR|eZ%!K}PvODNdNDGN3TXc=g;{2yF@qnrQ$ literal 0 HcmV?d00001 diff --git a/test/test3.py b/test/test3.py new file mode 100755 index 00000000..adfbd9db --- /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') -- 2.43.5