source: molecuilder/src/unittests/infounittest.hpp@ e65cc0

Last change on this file since e65cc0 was edf611, checked in by Frederik Heber <heber@…>, 16 years ago

New Info class that contains a global verbosity level, increased per function call and decreased per exit.

  • the idea is to have the "begin of .." and "end of .." messages in an object that automatically holds the current recursion level and hence may change verbosity accordingly for Logger
  • verbose::DoOutput() checks relative to Info::verbosity now.
  • InfoUnitTest was done and works well.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 569 bytes
Line 
1/*
2 * InfoUnitTest.hpp
3 *
4 * Created on: Nov 25, 2009
5 * Author: heber
6 */
7
8#ifndef INFOUNITTEST_HPP_
9#define INFOUNITTEST_HPP_
10
11#include <cppunit/extensions/HelperMacros.h>
12
13class info;
14
15/********************************************** Test classes **************************************/
16
17class InfoTest : public CppUnit::TestFixture
18{
19 CPPUNIT_TEST_SUITE( InfoTest) ;
20 CPPUNIT_TEST ( FunctionTest );
21 CPPUNIT_TEST_SUITE_END();
22
23public:
24 void setUp();
25 void tearDown();
26 void FunctionTest();
27
28private:
29
30};
31
32#endif /* INFOUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.