File indexing completed on 2022-10-04 14:00:26

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2009 Andrew Manson <g.real.ate@gmail.com>
0004 //
0005 
0006 #include <QObject>
0007 
0008 #include "PlacemarkTextAnnotation.h"
0009 #include "TextAnnotation.h"
0010 
0011 using namespace Marble;
0012 
0013 class TestOsmAnnotation : public QObject
0014 {
0015     Q_OBJECT
0016 private Q_SLOTS:
0017     void initTestCase();
0018     void saveAnnotations_data();
0019     void saveAnnotations();
0020 private:
0021     QMap< QString, QSharedPointer<TextAnnotation> > textAnnotations;
0022 };
0023 
0024 void TestOsmAnnotation::initTestCase()
0025 {
0026 //    PlacemarkTextAnnotation* standard;
0027 //    uncomment the following to get the Undefined references
0028 //    standard = new PlacemarkTextAnnotation();
0029 //    standard->setName( "Standard Annon" );
0030 }
0031 
0032 void TestOsmAnnotation::saveAnnotations_data()
0033 {
0034 
0035 }
0036 
0037 void TestOsmAnnotation::saveAnnotations()
0038 {
0039     //Make some annotations and save them
0040 }
0041 
0042 QTEST_MAIN( TestOsmAnnotation)
0043 #include "TestOsmAnnotation.moc"
0044