Skip to content
Permalink
Browse files

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
timlinux committed Apr 8, 2006
1 parent dfca9e6 commit 735cb36f36823559f20d1bf076959463822a1978
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 735cb36

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