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:
timlinux 2006-04-08 00:23:49 +00:00
parent 531dacbf81
commit dfca9e6f5c

View File

@ -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"