LCOV - code coverage report
Current view: top level - source/tests - TestProperties.h (source / functions) Hit Total Coverage
Test: LibForBES Unit Tests Lines: 6 6 100.0 %
Date: 2016-04-18 Functions: 6 6 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * File:   TestProperties.h
       3             :  * Author: Pantelis Sopasakis
       4             :  *
       5             :  * Created on Mar 5, 2016, 4:53:48 PM
       6             :  * 
       7             :  * ForBES is free software: you can redistribute it and/or modify
       8             :  * it under the terms of the GNU Lesser General Public License as published by
       9             :  * the Free Software Foundation, either version 3 of the License, or
      10             :  * (at your option) any later version.
      11             :  *  
      12             :  * ForBES is distributed in the hope that it will be useful,
      13             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
      15             :  * GNU Lesser General Public License for more details.
      16             :  * 
      17             :  * You should have received a copy of the GNU Lesser General Public License
      18             :  * along with ForBES. If not, see <http://www.gnu.org/licenses/>.
      19             :  */
      20             : 
      21             : #ifndef TESTFBSTATS_H
      22             : #define TESTFBSTATS_H
      23             : 
      24             : #define FORBES_TEST_UTILS
      25             : #include "Properties.h"
      26             : #include "ForBES.h"
      27             : 
      28             : 
      29             : #include <cppunit/extensions/HelperMacros.h>
      30             : 
      31             : class TestProperties : public CPPUNIT_NS::TestFixture {
      32           2 :     CPPUNIT_TEST_SUITE(TestProperties);
      33             : 
      34           1 :     CPPUNIT_TEST(testDouble);
      35           1 :     CPPUNIT_TEST(testInteger);
      36           1 :     CPPUNIT_TEST(testVector);
      37           1 :     CPPUNIT_TEST(testNotExisting);
      38             :     
      39             : 
      40           5 :     CPPUNIT_TEST_SUITE_END();
      41             : 
      42             : public:
      43             :     TestProperties();
      44             :     virtual ~TestProperties();
      45             :     void setUp();
      46             :     void tearDown();
      47             : 
      48             : private:
      49             :     void testDouble();
      50             :     void testInteger();
      51             :     void testVector();
      52             :     void testNotExisting();
      53             :     
      54             : };
      55             : 
      56             : #endif  /* TESTFBSTATS_H */
      57             : 

Generated by: LCOV version 1.10