Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since 1e6591 was             56f73b, checked in by Frederik Heber <heber@…>, 15 years ago           | 
        
        
          | 
             
Added config.h also to all header files, code check test ascertain this in the future. 
 
- as we want to use config.h to pass stuff such as MEMDEBUG, NDEBUG,
LOG_OBSERVER, we have to make sure that it is present in each and every
file.
 - split up CodeChecks/testsuite.at: each test has its own .at file.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            566 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * FormulaUnitTest.hpp
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: Jul 21, 2010
 | 
|---|
| 5 |  *      Author: crueger
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #ifndef FORMULAUNITTEST_HPP_
 | 
|---|
| 9 | #define FORMULAUNITTEST_HPP_
 | 
|---|
| 10 | 
 | 
|---|
| 11 | // include config.h
 | 
|---|
| 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
| 13 | #include <config.h>
 | 
|---|
| 14 | #endif
 | 
|---|
| 15 | 
 | 
|---|
| 16 | 
 | 
|---|
| 17 | #include <cppunit/extensions/HelperMacros.h>
 | 
|---|
| 18 | 
 | 
|---|
| 19 | class FormulaUnittest : public CppUnit::TestFixture
 | 
|---|
| 20 | {
 | 
|---|
| 21 |   CPPUNIT_TEST_SUITE( FormulaUnittest );
 | 
|---|
| 22 |   CPPUNIT_TEST ( baseTest );
 | 
|---|
| 23 |   CPPUNIT_TEST ( parseTest );
 | 
|---|
| 24 |   CPPUNIT_TEST_SUITE_END();
 | 
|---|
| 25 | 
 | 
|---|
| 26 | public:
 | 
|---|
| 27 |   void setUp();
 | 
|---|
| 28 |   void tearDown();
 | 
|---|
| 29 | 
 | 
|---|
| 30 |   void baseTest();
 | 
|---|
| 31 |   void parseTest();
 | 
|---|
| 32 | };
 | 
|---|
| 33 | 
 | 
|---|
| 34 | #endif /* FORMULAUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.