source: src/Helpers/unittests/ChronosUnitTest.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: 668 bytes
Line 
1/*
2 * ChronosUnitTest.hpp
3 */
4
5#ifndef CHRONOSTEST_HPP_
6#define CHRONOSTEST_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 ChronosTest : public CppUnit::TestFixture
19{
20 CPPUNIT_TEST_SUITE( ChronosTest) ;
21 CPPUNIT_TEST ( InstanceTest );
22 CPPUNIT_TEST ( InfoTest );
23 CPPUNIT_TEST ( dummyTest );
24 CPPUNIT_TEST_SUITE_END();
25
26public:
27 void setUp();
28 void tearDown();
29
30 void InstanceTest();
31 void InfoTest();
32 void dummyTest();
33};
34
35#endif /* CHRONOSTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.