Skip to content
Permalink
Browse files

More simplicfications - implement test directly where it is declared

git-svn-id: http://svn.osgeo.org/qgis/trunk@5218 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Apr 8, 2006
1 parent 531dacb commit dfca9e6f5cae60270c6ddf7ba391650298bc1bd6
Showing with 7 additions and 11 deletions.
  1. +7 −11 tests/src/core/testqgsapplication.cpp
@@ -7,19 +7,15 @@

class TestQgsApplication: public QObject
{
Q_OBJECT;
public:
private slots:
void authorsFilePath();
Q_OBJECT;
private slots:
void authorsFilePath()
{
QString myPath = QgsApplication::authorsFilePath();
QVERIFY(!myPath.isNull());
}
};


void TestQgsApplication::authorsFilePath()
{
QString myPath = QgsApplication::authorsFilePath();
QVERIFY(!myPath.isNull());
}

QTEST_MAIN(TestQgsApplication)
#include "testqgsapplication.moc.cpp"

0 comments on commit dfca9e6

Please sign in to comment.
You can’t perform that action at this time.