Commit graph

6 commits

Author SHA1 Message Date
Xisco Fauli
49c0e81e7d sw: drop DECLARE_FODFEXPORT_TEST macro
Change-Id: I0b232aa689ffc70a2cfca1af5ba5529e34060371
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175015
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-16 15:28:13 +02:00
Miklos Vajna
c6a2fb6294 sw: remove unused DECLARE_RTFEXPORT_TEST()
Replaced by CPPUNIT_TEST_FIXTURE().

Change-Id: I6966e94bf39f8353ca00287939aa348176e001ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168484
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-06-06 09:58:39 +02:00
Mike Kaganski
d7b15f03e0 Add some entries into cpp.hint
Improves VS integration: allows to find CPP unit tests defined using
DECLARE_SW_ROUNDTRIP_TEST and friends.

The macros are stripped down to the minimum to allow IntelliSense
do its job.

Change-Id: I5325cb5ac424e3b08cd64b265d5d4924fbadcfcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166571
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-04-24 09:43:42 +02:00
Mike Kaganski
6159b8d223 Add SAL_LOPLUGIN_ANNOTATE to cpp.hint
Allows Visual Studio to recognize names with this decoration

Change-Id: I787e20322ef346d49f94e23e7ac889d669c1245c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162709
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-30 07:18:32 +01:00
Mike Kaganski
280985ba38 Add some entries into cpp.hint
Improves VS integration: allows to find DECL_LINK implementations,
as well as CPP unit tests defined using CPPUNIT_TEST_FIXTURE.

The macros are stripped down to the minimum to allow IntelliSence
do its job efficiently.

Change-Id: I2de02196d44d72f79d8cd9e06e8093a7620bd9e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157677
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-07 17:20:38 +02:00
Mike Kaganski
3bf0fbb267 Add a VisualStudio cpp.hint file
It allows to improve IntelliSense results. E.g., this specific
SAL_THROW_EXTERN_C define prevented from navigating to function
implementations like rtl_str_hashCode_WithLength from IDE using
'Go To Definition' feature.

As described in the respective documentation [1], "Hint files
relate to physical directories, not the logical directories shown
in Solution Explorer", which means that the file can't be placed
e.g. in solenv/vs, together with the .natvis file.

[1] https://go.microsoft.com/fwlink/?linkid=865984

Change-Id: I144d07b66b4a52c108a7e82b0aa9628843f5ae2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138665
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-08-22 16:01:16 +02:00