office-gobmx/test
Mike Kaganski 1d7ce42148 tdf#159438: when there's no frame, close previous bookmark first
Commit 260d6cc647 (INTEGRATION: CWS mtg2
(1.30.120); FILE MERGED, 2005-12-21) for #i58438# made sure to process
previously opened bookmarks that close at this node, before opening
the bookmarks that start here.

Commit 76a4305d1e (sw: fix inconsistent
bookmark behavior around at-char/as-char anchored frames, 2017-12-21)
re-introduced the problem accidentally: it only intended to handle
case when there is an anchored frame here.

This change re-instates the correct order (close bookmarks first; then
process collapsed ones; then open new bookmarks) in case there's no
anchored frames here.

To avoid a problem when a non-collapsed bookmark starts and ends at
the same point (e.g., its text was deleted), it gets converted to
collapsed in lcl_FillBookmark. Thus, testRemoveBookmarkText was fixed
in sw/qa/extras/uiwriter/uiwriter4.cxx. There is no reason to keep
the separate -begin/-end elements, especially since on the following
open/save round-trip, it will become collapsed anyway.

Change-Id: Ib555a76f6f776001e12908a1299c24eebf591f6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162743
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-30 18:50:00 +01:00
..
qa/cppunit Extended loplugin:ostr: test 2023-11-19 17:29:33 +01:00
signing-keys
source tdf#159438: when there's no frame, close previous bookmark first 2024-01-30 18:50:00 +01:00
user-template Verify that zh-Hant-TW locale works in configmgr as intended 2023-02-17 18:56:56 +00:00
CppunitTest_test_a11y.mk test: Add accessibility test dialog infrastructure 2023-02-24 15:13:39 +00:00
CppunitTest_test_xpath.mk
IwyuFilter_test.yaml
Library_subsequenttest.mk tdf#45904: Move _Footnote Java tests to C++ 2023-08-27 10:51:38 +02:00
Library_test.mk this duplicated CPPUNIT_ASSERT_POINT_EQUAL_WITH_TOLERANCE 2024-01-20 17:10:56 +01:00
Library_test_setupvcl.mk
Library_vclbootstrapprotector.mk
Makefile
Module_test.mk test: Add accessibility test dialog infrastructure 2023-02-24 15:13:39 +00:00
Package_unittest.mk
README.md
README.vars

Test Harness Code for C++ Unit Testing

Many of these tests are run during the build process. In that case on unix, if a test fails follow the error messages to debug it under gdb.