QGIS API Documentation
3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
src
core
qgstestutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgstestutils.h
3
---------------------
4
begin : January 2018
5
copyright : (C) 2018 by Nyall Dawson
6
email :
[email protected]
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSTESTUTILS_H
17
#define QGSTESTUTILS_H
18
19
#include "qgis_core.h"
20
#include "
qgis_sip.h
"
21
#include "
qgsfeaturerequest.h
"
22
23
class
QgsVectorDataProvider
;
24
26
27
// Used only for utilities required for the QGIS Python unit tests - not stable or public API
28
class
CORE_EXPORT QgsTestUtils
29
{
30
public
:
31
38
static
bool
testProviderIteratorThreadSafety( QgsVectorDataProvider *provider,
const
QgsFeatureRequest &request = QgsFeatureRequest() );
39
45
static
bool
compareDomElements(
const
QDomElement &element1,
const
QDomElement &element2 );
46
47
};
48
50
#endif
//QGSTESTUTILS_H
QgsVectorDataProvider
Base class for vector data providers.
Definition
qgsvectordataprovider.h:58
qgis_sip.h
qgsfeaturerequest.h
Generated on
for QGIS API Documentation by
1.15.0