TsMapDisplay.cpp
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file TsMapDisplay.cpp
22 
23  \brief Test suite for the Qt Map Display widget.
24  */
25 
26 
27 // Unit-Test TerraLib
28 #include "TsMapDisplay.h"
29 
30 // TerraLib
31 #include <terralib/color.h>
32 #include <terralib/common.h>
33 #include <terralib/dataaccess.h>
34 #include <terralib/geometry.h>
35 #include <terralib/maptools.h>
36 #include <terralib/postgis.h>
37 #include <terralib/qt/widgets.h>
38 
39 // Qt
40 #include <QtGui/QApplication>
41 
42 // STL
43 #include <ctime>
44 
46 
48 {
49 }
50 
52 {
53 }
54 
56 {
57 #ifdef TE_COMPILE_ALL
58  int argc = 0;
59  QApplication app(argc, 0);
60  return;
61 #endif
62 }
63 
65 {
66 #ifdef TE_COMPILE_ALL
67  int argc = 0;
68  QApplication app(argc, 0);
69  return;
70 #endif
71 }
72 
CPPUNIT_TEST_SUITE_REGISTRATION(TsMapDisplay)
Test suite for the Qt Map Display widget.
void tcShowLayer()
Test Case: it will show a new layer in the map display.
Test suite for the Qt canvas widget.
Definition: TsMapDisplay.h:44
void tcSetExtent()
Test Case: it will test if the map display is working properly when showing a given geogragic area...
This file contains include headers for the TerraLib Qt widgets.
This file contains include headers for the TerraLib PostGIS driver.
This file contains include headers for the Color Model of TerraLib.
This file contains include headers for the TerraLib Common Runtime module.
This file contains include headers for the Vector Geometry model of TerraLib.
This file contains include headers for the Data Access module of TerraLib.
This file contains include headers for the Map Tools module of TerraLib.