We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e73629 commit ca7fa30Copy full SHA for ca7fa30
tests/src/core/testqgsexpression.cpp
@@ -16,6 +16,7 @@
16
#include <QObject>
17
#include <QString>
18
19
+#include <qgsapplication.h>
20
//header for class being tested
21
#include <qgsexpression.h>
22
#include <qgsfeature.h>
@@ -31,6 +32,17 @@ class TestQgsExpression: public QObject
31
32
Q_OBJECT;
33
private slots:
34
35
+ void initTestCase()
36
+ {
37
+ //
38
+ // Runs once before any tests are run
39
40
+ // init QGIS's paths - true means that all path will be inited from prefix
41
+ QgsApplication::init();
42
+ QgsApplication::initQgis();
43
+ QgsApplication::showSettings();
44
+ }
45
+
46
void parsing_data()
47
{
48
QTest::addColumn<QString>( "string" );
0 commit comments