/*
 * Copyright (C) 2008  <Your Name>
 * See COPYING for license details.
 */

#include <QObject>
#include <QtTest/QtTest>

#include "qttestutil/qttestutil.h"

class MyClassTest : public QObject
{
     Q_OBJECT
	
	private slots:
		void initTestCase() {
		}

		void cleanupTestCase() {
		}

		void testMyMethod() {
			//QCOMPARE(foo, bar);
			//QVERIFY(baz);
		}
};

REGISTER_TEST(MyClassTest);
#include "myclasstest.moc"

/*
 * Copyright (C) 2008  <Your Name>
 * See COPYING for license details.
 */

#include <QObject>
#include <QtTest/QtTest>

#include "qttestutil/qttestutil.h"

class MyClassTest : public QObject
{
     Q_OBJECT
	
	private slots:
		void initTestCase() {
		}

		void cleanupTestCase() {
		}

		void testMyMethod() {
			//QCOMPARE(foo, bar);
			//QVERIFY(baz);
		}
};

QTTESTUTIL_REGISTER_TEST(MyClassTest);
#include "myclasstest.moc"

Fix macro in unittest example.
Fix macro in unittest example.


git-svn-id: ced07d5e10f05f45759cb75bdadb6610d25656be@257 ac7a513c-5e3a-0410-af42-968c3ac6e7dc
