Skip to content

Commit 556854f

Browse files
author
timlinux
committed
More simplicfications - implement test directly where it is declared
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5218 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3b9540e commit 556854f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

tests/src/core/testqgsapplication.cpp

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@
77

88
class TestQgsApplication: public QObject
99
{
10-
Q_OBJECT;
11-
public:
12-
private slots:
13-
void authorsFilePath();
10+
Q_OBJECT;
11+
private slots:
12+
void authorsFilePath()
13+
{
14+
QString myPath = QgsApplication::authorsFilePath();
15+
QVERIFY(!myPath.isNull());
16+
}
1417
};
1518

16-
17-
void TestQgsApplication::authorsFilePath()
18-
{
19-
QString myPath = QgsApplication::authorsFilePath();
20-
QVERIFY(!myPath.isNull());
21-
}
22-
2319
QTEST_MAIN(TestQgsApplication)
2420
#include "testqgsapplication.moc.cpp"
2521

0 commit comments

Comments
 (0)