mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgstestutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsTestUtils
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgstestutils.h"
|
|
%End
|
|
public:
|
|
|
|
static bool testProviderIteratorThreadSafety( QgsVectorDataProvider *provider, const QgsFeatureRequest &request = QgsFeatureRequest() );
|
|
%Docstring
|
|
Runs a thready safety test on iterators from a vector data ``provider``,
|
|
by concurrently requesting features from the provider.
|
|
|
|
This method returns ``True``... or it segfaults.
|
|
%End
|
|
|
|
static bool compareDomElements( const QDomElement &element1, const QDomElement &element2 );
|
|
%Docstring
|
|
Compares two DOM elements and returns ``True`` if they are equivalent.
|
|
|
|
Dumps useful diff information to the console if the elements differ.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgstestutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|