torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DebugFilter Class Reference

Test suite visitor to disable tests for debugging. More...

+ Inheritance diagram for DebugFilter:
+ Collaboration diagram for DebugFilter:

Public Member Functions

virtual void visit (const boost::unit_test::test_case &inTestCase)
 

Detailed Description

Test suite visitor to disable tests for debugging.

Definition at line 104 of file UnitTestMain.cpp.

Member Function Documentation

virtual void DebugFilter::visit ( const boost::unit_test::test_case &  inTestCase)
inlinevirtual

Definition at line 106 of file UnitTestMain.cpp.

106  {
107  std::string enabled =
108  "architecture/iterate_configmaps"
109  "bitstream/VirtexEMapUnitTest"
110  ;
111  inTestCase.p_enabled.set((enabled.find(inTestCase.p_name.get()) != std::string::npos));
112  // std::string disabled =
113  // "architecture/iterate_configmaps"
114  // ;
115  // inTestCase.p_enabled.set((disabled.find(inTestCase.p_name.get()) == std::string::npos));
116  }
std::string string

The documentation for this class was generated from the following file: