mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Remove useless testqgslayoutitemregistry.cpp file
This commit is contained in:
parent
c228132cbb
commit
59d28a3525
@ -1,65 +0,0 @@
|
||||
/***************************************************************************
|
||||
testqgslayoutitemregistry.cpp
|
||||
-----------------------------
|
||||
begin : November 2014
|
||||
copyright : (C) 2014 by Nyall Dawson
|
||||
email : nyall dot dawson at gmail dot com
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "qgslayoutitemregistry.h"
|
||||
#include "qgis.h"
|
||||
#include <QObject>
|
||||
#include <QtTest>
|
||||
|
||||
class TestQgsLayoutItemRegistry : public QObject
|
||||
{
|
||||
Q_OBJECT;
|
||||
|
||||
private slots:
|
||||
void initTestCase();// will be called before the first testfunction is executed.
|
||||
void cleanupTestCase();// will be called after the last testfunction was executed.
|
||||
void init();// will be called before each testfunction is executed.
|
||||
void cleanup();// will be called after every testfunction.
|
||||
void createInstance(); // create global instance of QgsLayoutItemRegistry
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
void TestQgsLayoutItemRegistry::initTestCase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TestQgsLayoutItemRegistry::cleanupTestCase()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TestQgsLayoutItemRegistry::init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TestQgsLayoutItemRegistry::cleanup()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void TestQgsLayoutItemRegistry::createInstance()
|
||||
{
|
||||
QgsLayoutItemRegistry *registry = QgsLayoutItemRegistry::instance();
|
||||
QVERIFY( registry );
|
||||
}
|
||||
|
||||
QTEST_MAIN( TestQgsLayoutItemRegistry )
|
||||
#include "testqgslayoutitemregistry.moc"
|
Loading…
x
Reference in New Issue
Block a user