TsLayerExplorer.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 TsLayerExplorer.h
22 
23  \brief Test suite for the LayerExplorer framework.
24  */
25 
26 #ifndef __TERRALIB_UNITTEST_QTWIDGETS_INTERNAL_LAYEREXPLORER_H
27 #define __TERRALIB_UNITTEST_QTWIDGETS_INTERNAL_LAYEREXPLORER_H
28 
29 // cppUnit
30 #include <cppunit/extensions/HelperMacros.h>
31 
32 /*!
33  \class TsLayerExplorer
34 
35  \brief Test suite for the LayerExplorer framework.
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 TsLayerExplorer : 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: creating a simple explorer for a set of in-memory layers. */
68  void tcCreateExplorer();
69 
70  /*! \brief Test Case: do some tests for performance measurement. */
71  void tcPerformanceExplorer();
72 
73 };
74 
75 #endif // __TERRALIB_UNITTEST_QTWIDGETS_INTERNAL_LAYEREXPLORER_H
76 
void tcPerformanceExplorer()
Test Case: do some tests for performance measurement.
CPPUNIT_TEST(tcCreateExplorer)
Test suite for the LayerExplorer framework.
CPPUNIT_TEST_SUITE(TsLayerExplorer)
void tcCreateExplorer()
Test Case: creating a simple explorer for a set of in-memory layers.