Fix sipify test

This commit is contained in:
Nyall Dawson 2025-04-01 13:43:34 +10:00
parent 3f6b490218
commit c585d3366e
3 changed files with 19 additions and 14 deletions

View File

@ -63,7 +63,8 @@ class QgsSipifyHeader : QtClassQVariantBase
%Docstring(signature="appended")
Documentation goes here.
Here's some comment mentioning another class :py:class:`QgsAutoAwesomemater`.makeAwesome.
Here's some comment mentioning another class
:py:class:`QgsAutoAwesomemater`.makeAwesome.
.. note::
@ -188,16 +189,16 @@ Factory annotation
void LongDocStringMethod();
%Docstring
My long doc string
is not very interesting!
My long doc string is not very interesting!
%End
void LongDocStringMethodWithBrief();
%Docstring
some brief
My long doc ``string``
is not very interesting!
Here's some comment mentioning another class :py:class:`QgsAutoAwesomemater`.makeLessAwesome.
My long doc ``string`` is not very interesting! Here's some comment
mentioning another class
:py:class:`QgsAutoAwesomemater`.makeLessAwesome.
%End
MyPointer *pointerReturnValue();
@ -219,7 +220,8 @@ I return a pointer. If something bad happens, I return ``None``.
void complexDefaultValueAndType( QList<QPair<qint64 , QMap<int, QString>>> list = QList<QPair<qint64, QMap<int, QString>>> );
%Docstring
complex default value and type (i.e. containing commas) should be given as a string with single quotes
complex default value and type (i.e. containing commas) should be given
as a string with single quotes
%End
int inlineKeyWordShouldNotAppear();

View File

@ -63,7 +63,8 @@ class QgsSipifyHeader : QtClassQVariantBase
%Docstring(signature="appended")
Documentation goes here.
Here's some comment mentioning another class :py:class:`QgsAutoAwesomemater`.makeAwesome.
Here's some comment mentioning another class
:py:class:`QgsAutoAwesomemater`.makeAwesome.
.. note::
@ -188,16 +189,16 @@ Factory annotation
void LongDocStringMethod();
%Docstring
My long doc string
is not very interesting!
My long doc string is not very interesting!
%End
void LongDocStringMethodWithBrief();
%Docstring
some brief
My long doc ``string``
is not very interesting!
Here's some comment mentioning another class :py:class:`QgsAutoAwesomemater`.makeLessAwesome.
My long doc ``string`` is not very interesting! Here's some comment
mentioning another class
:py:class:`QgsAutoAwesomemater`.makeLessAwesome.
%End
MyPointer *pointerReturnValue();
@ -219,7 +220,8 @@ I return a pointer. If something bad happens, I return ``None``.
void complexDefaultValueAndType( QList<QPair<qint64 , QMap<int, QString>>> list = QList<QPair<qint64, QMap<int, QString>>> );
%Docstring
complex default value and type (i.e. containing commas) should be given as a string with single quotes
complex default value and type (i.e. containing commas) should be given
as a string with single quotes
%End
int inlineKeyWordShouldNotAppear();

View File

@ -229,6 +229,7 @@ class CORE_EXPORT QgsSipifyHeader : public QtClass<QVariant>, private Ui::QgsBas
/**
* \brief some brief
*
* My long doc \a string
* is not very interesting!
* Here's some comment mentioning another class QgsAutoAwesomemater::makeLessAwesome.