Skip to content
Permalink
Browse files

A template for creating new tests

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Apr 8, 2006
1 parent 556854f commit 28a34143ec749eb220a7b07392d408be1cdeabea
Showing with 20 additions and 0 deletions.
  1. +20 −0 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 28a3414

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