source: src/Helpers/unittests/LogUnitTest.hpp@ d2023c

Last change on this file since d2023c was 0fce81, checked in by Frederik Heber <heber@…>, 15 years ago

Moved unittests to Helpers/unittests, split off TestRunner into new unittests.

  • Unit tests should reside in a subdir of where the components to test reside in.
  • everything common to all unit tests resides in a specific unittests subdir of the src folder.
  • for now, SUBDIRS directive for Helpers/unittests and Patterns/unittests resides in ./ and not in src/Makefile.am to assure that libCodePatterns is compiled before. We need to re-structure the unit tests to not relie in the lib itself anymore but just on components and stubs.
  • Property mode set to 100644
File size: 528 bytes
Line 
1/*
2 * logunittest.hpp
3 */
4
5#ifndef LOGTEST_HPP_
6#define LOGTEST_HPP_
7
8// include config.h
9#ifdef HAVE_CONFIG_H
10#include <config.h>
11#endif
12
13#include <cppunit/extensions/HelperMacros.h>
14
15
16/********************************************** Test classes **************************************/
17
18class LogTest : public CppUnit::TestFixture
19{
20 CPPUNIT_TEST_SUITE( LogTest) ;
21 CPPUNIT_TEST ( logTest );
22 CPPUNIT_TEST_SUITE_END();
23
24public:
25 void setUp();
26 void tearDown();
27
28 void logTest();
29};
30
31#endif /* LOGTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.