[Libreoffice-commits] mso-dumper.git: test/xls

Kohei Yoshida kohei.yoshida at gmail.com
Sat Jan 4 10:06:13 PST 2014


 test/xls/test.py |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

New commits:
commit 0d2e255d170d29b64e86a328299fc4ac8ca08229
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Sat Jan 4 13:05:45 2014 -0500

    Add empty main test script.  There is no unit test yet.

diff --git a/test/xls/test.py b/test/xls/test.py
new file mode 100755
index 0000000..bc52bbb
--- /dev/null
+++ b/test/xls/test.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python2
+# -*- tab-width: 4; indent-tabs-mode: nil -*-
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+import sys
+sys.path.append(sys.path[0]+"/../..")
+xls_dumper = __import__('xls-dump')
+import unittest
+import os
+
+class Test(unittest.TestCase):
+
+    def test_foo (self):
+        self.assertEqual(1+1, 2)
+
+if __name__ == '__main__':
+    unittest.main()
+
+# vim:set filetype=python shiftwidth=4 softtabstop=4 expandtab:


More information about the Libreoffice-commits mailing list