Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A template for creating new tests
git-svn-id: http://svn.osgeo.org/qgis/trunk@5219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 8, 2006
1 parent dfca9e6 commit 735cb36
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/src/core/test_template.cpp
@@ -0,0 +1,20 @@
#include <QtTest>
#include <QObject>
#include <QString>
#include <QObject>
//header for class being tested
#include <[testClassLowerCaseName].h>

class Test[testClassCamelCaseName]: public QObject
{
Q_OBJECT;
private slots:
[TestMethods]
};

QTEST_MAIN(Test[testClassCamelCaseName])
#include "test[testClassLowerCaseName].moc.cpp"




0 comments on commit 735cb36

Please sign in to comment.