[Libreoffice-commits] .: test/doc
Miklos Vajna
vmiklos at kemper.freedesktop.org
Sat Jan 5 14:02:16 PST 2013
test/doc/nofibnew.doc |binary
test/doc/test.py | 8 ++++++++
2 files changed, 8 insertions(+)
New commits:
commit ffbe5f25c9bd4c978c766f144487c53fc745eecf
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Sat Jan 5 23:02:09 2013 +0100
doc: add testcase when Fib.cswNew is missing
diff --git a/test/doc/nofibnew.doc b/test/doc/nofibnew.doc
new file mode 100644
index 0000000..fe37a3c
Binary files /dev/null and b/test/doc/nofibnew.doc differ
diff --git a/test/doc/test.py b/test/doc/test.py
index 43c7f16..edd39c3 100755
--- a/test/doc/test.py
+++ b/test/doc/test.py
@@ -120,6 +120,14 @@ class Test(unittest.TestCase):
# Zoom is 42%
self.assertEqual('0x2a', dopBase.findall('pctWwdSaved')[0].attrib['value'])
+ def test_nofibnew(self):
+ self.dump('nofibnew')
+
+ runs = self.getRuns()
+ self.assertEqual(1, len(runs))
+
+ self.assertEqual('Hello world!', runs[0].findall('transformed')[0].attrib['value'])
+
if __name__ == '__main__':
unittest.main()
More information about the Libreoffice-commits
mailing list