Skip to content

Commit

Permalink
More simplicfications - implement test directly where it is declared
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5218 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 8, 2006
1 parent 531dacb commit dfca9e6
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions tests/src/core/testqgsapplication.cpp
Expand Up @@ -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"

Expand Down

0 comments on commit dfca9e6

Please sign in to comment.