// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2006-2007 Torsten Rahn // Copyright 2007 Inge Wallin // Copyright 2007 Tim Sutton // #include //needed because this is a gui test #include #include #include #include "GeoPolygon.h" namespace Marble { class GeoPolygonTest: public QObject { Q_OBJECT private slots: void pointLoadTest(); 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. private: }; void GeoPolygonTest::initTestCase() { } void GeoPolygonTest::cleanupTestCase() { } void GeoPolygonTest::pointLoadTest() { PntMap myPntMap; myPntMap.load(""); //null filename test - marble should not crash!!! } } QTEST_MAIN(Marble::GeoPolygonTest) #include "GeoPolygonTest.moc"