office-gobmx/sw/qa
Justin Luth dbbfcb7e09 tdf#153526 writerfilter: catch exception from no NumberingRules
This fixes a LO 7.5 regression (well, exposed some other flaws) from
commit cf02b94bc5.

I first tried testing if hasPropertyByName,
but that returns true(????), even though this is an editeng component.

Well, ignoring the fundamental issues at play here
(and there are many - like having a comment
take over m_xPreviousParagraph)
the issue is easily solved with a try/catch
instead of a redundant if clause.

Change-Id: I4f27fce3e2984235df19dc3ed4be558891b28a90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147486
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-22 22:35:06 +00:00
..
api
complex/indeterminateState
core qa: call ProcessEventsToIdle inside dispatchCommand 2023-02-21 20:20:29 +00:00
extras tdf#153526 writerfilter: catch exception from no NumberingRules 2023-02-22 22:35:06 +00:00
filter sw floatable: teach the DOCX filter about SwFormatFlySplit 2023-02-22 09:36:50 +00:00
inc Remove redundant (and wrong!) explicit template arguments 2023-02-18 16:23:46 +00:00
python
uibase SfxViewShell::GetViewFrame never returns null, change to a reference 2023-02-16 15:13:21 +00:00
uitest tdf#152921 add uitest 2023-02-21 20:20:03 +00:00
unit htmlexport: close li mark not only in xhtml 2023-02-08 11:09:46 +00:00
unoapi
README

You can find different types of Writer tests here, the following directories
are available:

- core:
  - filters-test: loads different file types (see SwFiltersTest::testCVEs() for
    the list of supported filter types), and only makes sure Writer does not
    crash. To add new tests, you just need to drop in the test files to the
    relevant directory, no code change is necessary.
  - uwriter: this test has access to private Writer symbols, add new tests here
    if you need that.
- extras:
  - see its own README -- executes import and export filters and asserts the
    UNO model to verify the resulting document is the expected one.
  - also, any new C++ test that links to libsw (but does not need access to
    private Writer symbols) should go in this directory, whether using the UNO
    API or the internal one.
- complex: JUnit-based tests using the UNO API
- unoapi: JUnit-based test trying to get/set every UNO property, etc.