summaryrefslogtreecommitdiff
path: root/sw/qa/complex
AgeCommit message (Collapse)AuthorFilesLines
2018-04-08tdf#45904 move java based api tests to c++ (AccessibleRelationSet)kadertarlan1-219/+0
Change-Id: I2d9d72bbc845acf091570df663849495619ee765 Reviewed-on: https://gerrit.libreoffice.org/24563 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2017-12-11tdf#97362: convert sw java complex tests to Python (#final)jmzambon6-31/+0
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-09-05tdf#97362: TextPortionEnumerationTest partially migrated to python (last part)jmzambon1-2058/+0
Convert tests: - test_meta_xtextattach_toxmark - test_meta_xtextattach_refmark - test_meta_xtextattach_textfield - test_meta_xtextattach_footnote - test_meta_xtextattach_meta - do_meta_xtextattach - test_metafield_xtextfield - test_metafield_xpropertyset - test_load_store - test_load_store_xmlid Change-Id: I471329e8088b533eedec6a55c521ed313f1960b4 Reviewed-on: https://gerrit.libreoffice.org/41863 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-29tdf#97362: TextPortionEnumerationTest partially migrated to python (part 7)jmzambon1-788/+0
Convert tests: - test_range2 - test_range3 - test_range4 - test_range5 - test_range6 - test_range7 - test_meta_xchild - test_meta_xtext - test_meta_xtextcursor - test_xtextcursor Change-Id: Iabfa51869611ee027565102f6658b045a182d66e Reviewed-on: https://gerrit.libreoffice.org/41589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-22tdf#97362: TextPortionEnumerationTest partially migrated to python (part 6)jmzambon1-331/+0
Convert tests: - test_range_hyperlink_meta - test_range_ruby_meta - test_range_meta_hyperlink - test_range_meta_ruby - test_range_meta_meta Change-Id: I5e7adba17ad19e8c299d178fe45ed7e987b92cf0 Reviewed-on: https://gerrit.libreoffice.org/41098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-09tdf#97362: TextPortionEnumerationTest partially migrated to python (part 5)jmzambon1-271/+0
Convert tests: - test_range1 - test_range_hyperlink_hyperlink - test_range_hyperlink_ruby - test_range_ruby_hyperlink - test_range_ruby_ruby Change-Id: I6c26f3e0fe910ff56bf38482257340b1c3172461 Reviewed-on: https://gerrit.libreoffice.org/40775 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-01tdf#97362: TextPortionEnumerationTest partially migrated to python (part 4)jmzambon1-156/+0
Convert tests: - test_end1 - test_end2 - test_end3 - test_end4 - test_end5 - test_empty1 - test_empty2 - test_empty3 - test1 Change-Id: Id21f94be9c5c36e72a25409ed8541908671fdb59 Reviewed-on: https://gerrit.libreoffice.org/40149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-14tdf#97362: TextPortionEnumerationTest partially migrated to python (part 3)jmzambon1-199/+0
Convert tests: - test_marks1 - test_marks2 - test_marks3 - test_frame_mark1 - test_frame_mark2 - test_frame_mark3 - test_frame_mark4 - test_frames1 - test_frames2 - test_frames3 - test_frames4 - test_frames5 - test_ruby_hyperlink1 - test_ruby_hyperlink2 Change-Id: I3ee495cdd88cffefd3980184bac0a72bae6a749f Reviewed-on: https://gerrit.libreoffice.org/38976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-06-19tdf#97362: TextPortionEnumerationTest partially migrated to python (part 2)jmzambon1-157/+0
Add tests: - test_meta - test_meta_empty - test_meta_field - test_meta_field_empty - test_bookmark1 - test_bookmark2 - test_refmark2 - test_refmark3 - test_toxmark2 - test_toxmark3 Change-Id part 1: I0920517b5e8806a5fc46708822fed33006f03fd5 Change-Id: If8e50aa036f10caf1b460c041dd7bce068f9cd7b Reviewed-on: https://gerrit.libreoffice.org/38842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-06-14tdf#97362: TextPortionEnumerationTest partially migrated to python ↵jmzambon1-205/+0
(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-05-27tdf#97362: CheckBookmarks unittest migrated to python (check_bookmarks.py)jmzambon1-243/+0
Change-Id: Ie5fa41d4346d921ed905795b76ea3c3e90b3d4a2 Reviewed-on: https://gerrit.libreoffice.org/38080 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-05-27improve exception throwing in java class util.utilsNoel Grandin1-1/+1
so that we get nice stack traces in our test error logs instead of just the title of the exception Change-Id: I47f30d80b9efbc7dbeff7f4456755e416e577b5a Reviewed-on: https://gerrit.libreoffice.org/25510 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-24tdf#97362: Convert Java unit test to Python(check_change_color.py)aqcoder1-107/+0
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-18tdf#97362: Convert Java unit test to Python(load_save_test.py)kadertarlan1-215/+0
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-01-31tdf#97362: Deleted CheckTable.java(this test translated to Python already.)kadertarlan1-291/+0
v2: Deleted CheckTable.java in JunitTest_sw_complex.mk Change-Id: I737a887d6f48fb2cacbe893289a430dd8312b3d8 Reviewed-on: https://gerrit.libreoffice.org/21949 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-28tdf#97362: Convert Java unit test to Python (check_indexed_property_values.py)kadertarlan1-122/+0
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-27Convert Java unit test to Python (check_named_property_values.py)kadertarlan1-110/+0
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>
2015-12-18Java unittest(CheckCrossReferences.java) converted to Python unittestkadertarlan1-312/+0
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-15Java unit tests were converted to Python unit testskadertarlan1-207/+0
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-11-25sw: un-break JunitTest_sw_complexMichael Stahl1-0/+0
49c2b9808df8a6b197dec666dfc0cda6321a4306 changed a binary test doc Change-Id: I77cd86ce3eccfc701f54630870045e04244ac048
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon2-18/+18
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-13sw: solve the CheckBookmarks fails on WNT mysteryMichael Stahl1-1/+1
After many years of careful investigation, we finally managed to solve the mystery: it turns out that Windows has different line endings than UNIX, which results in different hash values starting at m_nLinebreakHash. Change-Id: Ib5fab7cd43ad10ea9a33c29857c5b53c84e623fb
2015-11-09java: add some @Override annotationsNoel Grandin1-0/+1
Change-Id: I291db1dff5ab3ce40fda6f822a0e3ff1e6ef36c1 Reviewed-on: https://gerrit.libreoffice.org/19855 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin3-15/+11
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-06-15java: 'final static' to 'static final'Noel Grandin1-1/+1
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-06-14Fix insertion and deletion in IndexedPropertyValuesContainerMatthew J. Francis1-1/+17
The cases for iterating to an element from the end (used for elements in the second half of the underlying array) had an off by one error causing the wrong elements to be inserted/removed Change-Id: Idcbf158cc31afaf02fce3f1975509edf6239d3ae Reviewed-on: https://gerrit.libreoffice.org/16073 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin1-1/+1
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier3-63/+63
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-03-25Maybe this helps TB56?Stephan Bergmann1-4/+19
Change-Id: I209fcc9277d8efe27608b7e858f16fa31a6973b2
2015-01-12java: no need to instantiate the AccessibilityTools objectNoel Grandin2-3/+0
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
2014-12-15java: remove some unused fields and variablesNoel Grandin1-1/+1
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11java: reduce visibility of fields and methodsNoel Grandin2-4/+4
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: improve use of WrappedTargetException to set cause properlyNoel Grandin1-21/+0
since we introduced the new constructors that pass the cause all the way up to java.lang.Throwable. Also simplify some exeception printing sites, because Throwable will correctly print out child exceptions for us. Change-Id: Ibbecce3c6f971fbc80d6de2052ab4f33a4503c0a
2014-12-05java: remove some unused local variablesNoel Grandin2-4/+2
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
2014-11-25java: final fields that can be staticNoel Grandin1-3/+3
found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-18java: make fields final where possibleNoel Grandin2-27/+27
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-12java: convert fields to local variables where possibleNoel Grandin2-14/+10
found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-31sw: fix insertion of hyperlink inside hyperlink...Michael Stahl1-0/+23
... when either the start or the end position of the new hint is equal to an existing hint. There is not just 1 case here but 3 different ones; don't attempt to insert hints with start > end. Change-Id: I39cf8a352f67d77b56b0d01de5872f4d341f6bdd
2014-10-17java: no need to call String.valueOf to append to a StringNoel Grandin1-1/+1
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
2014-10-16java: confusing literalNoel Grandin1-1/+1
Change-Id: Ia08b25e1a02c2e86f176e84790bb9f3dc81e11e6
2014-08-20double-checked locking is not thread-safe in JavaNoel Grandin1-2/+2
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin1-3/+3
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2-2/+2
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove commented out codeNoel Grandin1-12/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin1-1/+0
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: reduce scope, make some methods privateNoel Grandin1-11/+11
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make fields privateNoel Grandin2-2/+2
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin1-0/+74
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-11java: remove unused parametersNoel Grandin2-2/+2
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin3-8/+2
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10