Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 1ca493a 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:
            935 bytes | 
      
      
| Rev | Line |  | 
|---|
| [197e13] | 1 | /* | 
|---|
|  | 2 | * MenuDescription_ActionRegistry_ConsistencyUnitTest.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Nov 25, 2009 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef MENUDESCRIPTION_ACTIONREGISTRY_CONSISTENCYUNITTEST_HPP_ | 
|---|
|  | 9 | #define MENUDESCRIPTION_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 | #include "UIElements/Menu/MenuDescription.hpp" | 
|---|
|  | 20 |  | 
|---|
|  | 21 | /********************************************** Test classes **************************************/ | 
|---|
|  | 22 |  | 
|---|
|  | 23 | class MenuDescription_ActionRegistry_ConsistencyTest : public CppUnit::TestFixture | 
|---|
|  | 24 | { | 
|---|
|  | 25 | CPPUNIT_TEST_SUITE( MenuDescription_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 | MenuDescription md; | 
|---|
|  | 36 | }; | 
|---|
|  | 37 |  | 
|---|
|  | 38 | #endif /* MENUDESCRIPTION_ACTIONREGISTRY_CONSISTENCYUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.