mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
More simplicfications - implement test directly where it is declared
git-svn-id: http://svn.osgeo.org/qgis/trunk@5218 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
531dacbf81
commit
dfca9e6f5c
@ -8,17 +8,13 @@
|
||||
class TestQgsApplication: public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
private slots:
|
||||
void authorsFilePath();
|
||||
};
|
||||
|
||||
|
||||
void TestQgsApplication::authorsFilePath()
|
||||
void authorsFilePath()
|
||||
{
|
||||
QString myPath = QgsApplication::authorsFilePath();
|
||||
QVERIFY(!myPath.isNull());
|
||||
}
|
||||
};
|
||||
|
||||
QTEST_MAIN(TestQgsApplication)
|
||||
#include "testqgsapplication.moc.cpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user