Commit Graph
18 Commits
Author SHA1 Message Date
Vasily Melenchuk 62cd86977c sw: new unit test for XScriptProvider
Change-Id: I2954bff51d6a507fef4d8a22ff5964735f1cee60
Reviewed-on: https://gerrit.libreoffice.org/60640
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-09-19 23:50:01 +02:00
jmzambon c4d0cd1481 tdf#97362: convert sw java complex tests to Python (#final)
Move test documents to python folder.
Delete remaining java helper class "TestDocument" and parent folder.

Change-Id: I76ba4e82e96b39df207c337fc1f17052b750774d
Reviewed-on: https://gerrit.libreoffice.org/46188
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-12-11 13:21:40 +01:00
jmzambon e07492e147 tdf#97362: TextPortionEnumerationTest partially migrated to python (test_portion_enumeration_test.py)
Add footnote tests:
- test_refmark_point
- test_refmark
- test_toxmark_point
- test_toxmark
- test_hyperlink
- test_hyperlink_empty
- test_ruby
- test_ruby_empty

Change-Id: I0920517b5e8806a5fc46708822fed33006f03fd5
Reviewed-on: https://gerrit.libreoffice.org/38418
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-06-14 09:45:51 +02:00
jmzambon 52523f39af tdf#97362: CheckBookmarks unittest migrated to python (check_bookmarks.py)
Change-Id: Ie5fa41d4346d921ed905795b76ea3c3e90b3d4a2
Reviewed-on: https://gerrit.libreoffice.org/38080
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-05-27 16:48:36 +02:00
aqcoder 0f543e3872 tdf#97362: Convert Java unit test to Python(check_change_color.py)
Change-Id: I0fa4973b6af028666428fa58438eaf39f7b81d27
Reviewed-on: https://gerrit.libreoffice.org/23482
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-24 09:33:55 +00:00
Michael Stahl 3cccd9c1b0 sw: load_save_test is not a unit test
This was originally added as a complex test as a convenient way to bulk
load/store documents, before nice features like soffice --convert-to.

Running it as such doesn't do anything, since the "FIXME" directories it
reads files from don't exist (actually it even failsa to run on WNT).

Change-Id: If74fc30997a0f5f67009b765f5e9e79d72d00ece
2016-03-21 22:15:06 +01:00
kadertarlan b27aabc4ea tdf#97362: Convert Java unit test to Python(load_save_test.py)
Change-Id: I7c3f2e786f94137b850770c77fbd24578f56b0af
Reviewed-on: https://gerrit.libreoffice.org/23254
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-18 08:02:40 +00:00
kadertarlan db796cbdec tdf#97362: Convert Java unit test to Python (check_indexed_property_values.py)
Change-Id: I6c3be8496b4a2225375072d9380d5e226b663905
Reviewed-on: https://gerrit.libreoffice.org/21853
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-28 08:04:00 +00:00
kadertarlan 4a377f5d37 Convert Java unit test to Python (check_named_property_values.py)
Change-Id: I70d05395b8b5ca89c6a2ebf63c1b4a7760a1559e
Reviewed-on: https://gerrit.libreoffice.org/21829
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-01-27 14:33:20 +00:00
kadertarlan 214b0c8356 Java unittest(CheckCrossReferences.java) converted to Python unittest
Change-Id: I9b856c9ffd7b3b380b2c1ba37c7c07355423c1f5
Reviewed-on: https://gerrit.libreoffice.org/20786
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2015-12-18 12:00:04 +00:00
kadertarlan b71540c198 Java unit tests were converted to Python unit tests
Remark test document not moved, due to other test cases.

Change-Id: I9564b72fae60cceb60121fec06e1ed015add8453
Reviewed-on: https://gerrit.libreoffice.org/20703
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2015-12-15 18:56:59 +00:00
Bjoern Michaelsen ce3d3f5543 add test for UNO writer style families ...
... and fix the breakages it finds.

Change-Id: Ibc7289cc0cd7fb5648d686bd55afff9016f58b3b
Reviewed-on: https://gerrit.libreoffice.org/20638
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Jenkins <ci@libreoffice.org>
2015-12-11 17:00:31 +00:00
Xiaoli d89e02e4a7 Translate writer test 'Checktable.java' to Python
Change-Id: I66a36acdb4aa67d438fb36597f41e847bbde10e3
Reviewed-on: https://gerrit.libreoffice.org/4796
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-20 11:31:03 +00:00
David Ostrovsky 6e8eb540c8 Migrate CheckFields unit test to python
Change-Id: Ia765b37888b4095a735015e792f06fc89201d1a3
Reviewed-on: https://gerrit.libreoffice.org/4294
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-18 09:23:20 +00:00
Xiaoli 99eee227ac migrate check_index test from Java to Python
Change-Id: I5080cb0c3ca4b28d197137407da0d5f5b3d6c6d7
Reviewed-on: https://gerrit.libreoffice.org/4310
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-06-17 04:09:22 +00:00
David Ostrovsky 3c0a9bb59e fdo#55814 migrate java unit test to python
Change-Id: Ib7ef29354f5d43abd9e67745dd6d3fccaec8612e
2013-04-27 11:56:30 +02:00
Stephan Bergmann 489e588ff7 At least for now, PythonTest runs against dev-install tree
...so clean up.  (Changing this might be tricky, esp. on Windows where the
python.exe wrapper adds the dev-install tree's dirs to PATH, so trying to run
tests against solver instead of dev-install tree libs will result in chaos.
This will become moot when we finally have solver == dev-install.)

Change-Id: Icbfc3928a7ff178fd86d78d15ffcf539557efbb4
2013-04-26 16:34:16 +02:00
David Ostrovsky f21d1faf6d clean up PythonTests
Conflicts:
	sw/PythonTest_sw_python.mk

Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742
2013-04-22 18:21:58 +02:00