TsMapDisplay.h
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.h
22 
23  \brief Test suite for the Qt Map Display widget.
24  */
25 
26 #ifndef __TERRALIB_UNITTEST_QTWIDGETS_INTERNAL_CANVAS_H
27 #define __TERRALIB_UNITTEST_QTWIDGETS_INTERNAL_CANVAS_H
28 
29 // cppUnit
30 #include <cppunit/extensions/HelperMacros.h>
31 
32 /*!
33  \class TsMapDisplay
34 
35  \brief Test suite for the Qt canvas widget.
36 
37  This test suite will check the following:
38  <ul>
39  <li>;</li>
40  <li>;</li>
41  <li>;</li>
42  </ul>
43  */
44 class TsMapDisplay : public CPPUNIT_NS::TestFixture
45 {
46 // It registers this class as a Test Suit
48 
49 // It registers the class methods as Test Cases belonging to the suit
52 
54 
55  public:
56 
57 // It sets up context before running the test.
58  void setUp();
59 
60 // It cleann up after the test run.
61  void tearDown();
62 
63  protected:
64 
65 // Test Cases:
66 
67  /*! \brief Test Case: it will test if the map display is working properly when showing a given geogragic area. */
68  void tcSetExtent();
69 
70  /*! \brief Test Case: it will show a new layer in the map display. */
71  void tcShowLayer();
72 };
73 
74 #endif // __TERRALIB_UNITTEST_QTWIDGETS_INTERNAL_CANVAS_H
75 
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...
CPPUNIT_TEST_SUITE(TsMapDisplay)
CPPUNIT_TEST_SUITE_END()
CPPUNIT_TEST(tcSetExtent)