Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since 5aa337 was             690741, checked in by Frederik Heber <heber@…>, 12 years ago           | 
        
        
          | 
             
Added getListOfActions() and getActionsTrait() to completely wrap ActionRegistry. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            933 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * CommandLineParser_ActionRegistry_ConsistencyUnitTest.cpp.hpp
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: Nov 25, 2009
 | 
|---|
| 5 |  *      Author: heber
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #ifndef COMMANDLINEPARSER_ACTIONREGISTRY_CONSISTENCYUNITTEST_HPP_
 | 
|---|
| 9 | #define COMMANDLINEPARSER_ACTIONREGISTRY_CONSISTENCYUNITTEST_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 CommandLineParser;
 | 
|---|
| 20 | 
 | 
|---|
| 21 | /********************************************** Test classes **************************************/
 | 
|---|
| 22 | 
 | 
|---|
| 23 | class CommandLineParser_ActionRegistry_ConsistencyTest : public CppUnit::TestFixture
 | 
|---|
| 24 | {
 | 
|---|
| 25 |     CPPUNIT_TEST_SUITE( CommandLineParser_ActionRegistry_ConsistencyTest) ;
 | 
|---|
| 26 |     CPPUNIT_TEST ( ConsistencyCheck );
 | 
|---|
| 27 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
| 28 | 
 | 
|---|
| 29 | public:
 | 
|---|
| 30 |       void setUp();
 | 
|---|
| 31 |       void tearDown();
 | 
|---|
| 32 |       void ConsistencyCheck();
 | 
|---|
| 33 | 
 | 
|---|
| 34 | private:
 | 
|---|
| 35 |       CommandLineParser *CLP;
 | 
|---|
| 36 | };
 | 
|---|
| 37 | 
 | 
|---|
| 38 | #endif /* COMMANDLINEPARSER_ACTIONREGISTRY_CONSISTENCYUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.