Nyall Dawson
77dfdfa9ee
Update tests/code_layout/doxygen_parser.py
2024-06-25 12:42:16 +10:00
Nyall Dawson
17cb0d5678
Don't require since if a class is marked deprecated
...
Since these annotations are incompatible with each other, we must
accept either
2024-06-25 12:42:16 +10:00
Nyall Dawson
0e05d4c4d2
Fix doxytest on some newer doxygen versions
2024-06-25 12:42:16 +10:00
Even Rouault
a68422b982
Various typo fixes
...
Including 3 public methods, which are deprecated by this commit and replaced by a typo-fixed version
2024-02-29 06:03:03 +10:00
Even Rouault
812e2d6aff
acceptable_missing_doc.py: refresh due to removal of obsolete since mentions
2024-02-18 20:57:23 +01:00
Nyall Dawson
18a5eca5c2
Update test
2024-02-13 20:51:03 +10:00
Nyall Dawson
03afa96fd4
Fix indentation
2024-01-31 17:16:18 +10:00
Nyall Dawson
2dae72e388
Fix sipify test
2024-01-31 17:16:18 +10:00
Loïc Bartoletti
5b4449602b
rm clangtidy_checks.txt and it's usage since it's not needed, thanks to .clang-tidy file
2023-12-13 12:14:42 +01:00
Julien Cabieces
388de8cedd
Fix sip tests
2023-12-13 05:36:44 +10:00
Sandro Santilli
07345e52c4
Run doxygen layout checker in prepare-commit script, when possible
...
Helps preventing useless CI wait like in here:
https://github.com/qgis/QGIS/actions/runs/6518501862/job/17703989815?pr=54934
Allow passing list of files to check to test_doxygen_layout.sh script
2023-10-23 13:15:57 +10:00
Nyall Dawson
ed948bc114
Fix doxygen test
2023-10-19 17:30:10 +13:00
Sandro Santilli
b84393e37d
Run shellcheck only on modified shell files
2023-10-09 19:20:08 +02:00
Nyall Dawson
778f7de452
Add a test to ensure consistency of class names
2023-07-20 15:31:00 +10:00
Juergen E. Fischer
d802294787
more housekeeping after qtermwidget removal (followup bf1a8ffd68c4)
2023-07-02 22:17:09 +02:00
Denis Rouzaud
8ce4718335
[sipify] support multiple classes template definition ( #52838 )
2023-04-22 18:18:14 +02:00
Alexey Karandashev
30700f1ef1
Fix GeometryType in documentation:
...
QgsWkbTypes::GeometryType to Qgis::GeometryType
and QgsWkbTypes::<geometry>Geometry to Qgis::GeometryType::<geometry>
2023-03-31 10:28:36 +10:00
Etienne Trimaille
651d2f01a6
Python - run isort and remove unused imports in the test folder
2023-02-03 15:38:17 +01:00
Etienne Trimaille
da8bb1db43
Python - Run pyupgrade on some Python files
2023-02-02 06:46:47 +10:00
Denis Rouzaud
57cd2318c6
remove settings registry test
2023-01-16 09:00:51 +01:00
Julien Cabieces
0dc69f2bed
[Clang-tidy] Run clang-tidy on modified code
2022-09-15 09:28:16 +10:00
Sandro Santilli
492b57d651
Have code layout tests guard after source tree immutability
2022-06-06 22:00:18 +02:00
Julien Cabieces
5cbff2bf6a
fix missing documentation
2022-04-29 08:21:47 +10:00
Denis Rouzaud
f5bd1f2165
[sipify] support argument renaming + fix dosctring reset when cpp code is commented
2022-04-29 07:57:25 +10:00
Denis Rouzaud
d5cfb7e0f6
fix tests
2022-04-29 07:57:25 +10:00
Denis Rouzaud
a4ad21b7e2
adapt code_layout test for settings to support group of settings
2022-04-29 07:57:25 +10:00
Denis Rouzaud
9671c90b41
[sipify] fix more complex member assignment removal ( #48198 )
2022-04-13 10:22:32 +02:00
t0b3
4f796e2be4
fix path for sipify tests
2022-04-06 10:55:51 +10:00
Loïc Bartoletti
a72ffafb8f
Have to use g prefix for gnu tools also on *BSD
2022-03-17 08:18:45 +10:00
Denis Rouzaud
54d8ccf93c
add test to ensure that settings are correctly added to registries
2022-03-04 17:05:36 +01:00
Denis Rouzaud
cecc120084
fix typo
2022-03-02 14:58:56 +01:00
Denis Rouzaud
b7c5d259c6
[sipify] add SIP_MAKE_PRIVATE macro
...
also handle std::numeric_limits<qlonglong>::min/max
2022-03-02 14:58:56 +01:00
Denis Rouzaud
f722ef641c
fix dox
2022-03-01 12:09:47 +01:00
Denis Rouzaud
36a933bb2b
move QgsSnappingConfig::SnappingTypeFlag + SnappingMode enum/flags to Qgis
2022-03-01 12:09:47 +01:00
Denis Rouzaud
c385c2971d
fix test
2022-03-01 11:54:19 +01:00
Denis Rouzaud
91a9b1df36
fix test
2022-03-01 11:43:42 +01:00
Denis Rouzaud
1c3554971a
group sip tests in a directory
2022-03-01 11:39:22 +01:00
Nyall Dawson
2d7cccf35c
Also scan for 'new QScrollArea'
2022-01-18 13:51:37 +10:00
Nyall Dawson
6dee3347a7
Add test to ensure QgsScrollArea is used instead of QScrollArea in ui files
2022-01-18 13:51:37 +10:00
Antoine
ee9629e874
replace Q_NULLPTR by nullptr
2021-12-13 13:40:39 +01:00
Antoine
229921a998
add exceptions
2021-12-13 12:37:53 +01:00
Antoine
f67555d51c
update test file paths
2021-12-13 12:36:46 +01:00
Antoine
a9f4c34fb7
update exception list
2021-12-13 11:26:08 +01:00
Denis Rouzaud
c42e74c27f
remove useless QgsApplyDialog ( #46194 )
2021-11-24 18:22:41 +01:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
27427e77f7
Fix test
2021-10-12 16:34:05 +10:00
Denis Rouzaud
b4869de371
fix test
2021-10-12 16:34:05 +10:00
Denis Rouzaud
e4bb080768
fix banned keyword suggestion
2021-08-24 09:22:50 +10:00
Nyall Dawson
c7926181ad
Layout fixes
2021-06-22 08:43:39 +10:00
Nyall Dawson
02266ef8e6
Rename Qgis::MessageLevel::None to NoLevel. None is a reserved
...
keyword in Python, so this value was previously inaccessible to PyQGIS
scripts
Also change all references to Qgis::MessageLevel values to their
fully qualified names, to ease a future transition to an enum
class (when sip bugs are fixed)
Fixes #42996
2021-05-30 10:36:01 +10:00