Revision control
Copy as Markdown
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc
** All rights reserved.
**
** This file is part of the QtDataVisualization module.
**
** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
**
****************************************************************************/
#include <QtTest/QtTest>
#include <QtDataVisualization/QHeightMapSurfaceDataProxy>
using namespace QtDataVisualization;
class tst_proxy: public QObject
{
Q_OBJECT
private slots:
void initTestCase();
void cleanupTestCase();
void init();
void cleanup();
void construct();
void initialProperties();
void initializeProperties();
void invalidProperties();
private:
QHeightMapSurfaceDataProxy *m_proxy;
};
void tst_proxy::initTestCase()
{
}
void tst_proxy::cleanupTestCase()
{
}
void tst_proxy::init()
{
m_proxy = new QHeightMapSurfaceDataProxy();
}
void tst_proxy::cleanup()
{
delete m_proxy;
}
void tst_proxy::construct()
{
QHeightMapSurfaceDataProxy *proxy = new QHeightMapSurfaceDataProxy();
QVERIFY(proxy);
delete proxy;
}
void tst_proxy::initialProperties()
{
QVERIFY(m_proxy);
}
void tst_proxy::initializeProperties()
{
QVERIFY(m_proxy);
}
void tst_proxy::invalidProperties()
{
}
QTEST_MAIN(tst_proxy)
#include "tst_proxy.moc"