fsfw/unittest/internal/InternalUnitTester.h

30 lines
856 B
C
Raw Normal View History

2020-10-20 17:11:23 +02:00
#ifndef FRAMEWORK_TEST_UNITTESTCLASS_H_
#define FRAMEWORK_TEST_UNITTESTCLASS_H_
2020-10-29 17:22:41 +01:00
#include "UnittDefinitions.h"
2020-12-01 16:24:38 +01:00
#include "../../returnvalues/HasReturnvaluesIF.h"
2020-10-20 17:11:23 +02:00
/**
* @brief Can be used for internal testing, for example for hardware specific
* tests which can not be run on a host-machine.
*
* TODO: A lot of ways to improve this class. A way for tests to subscribe
* in this central class would be nice. Right now, this is the class
* which simply calls all other tests from other files manually.
* Maybe there is a better way..
*/
class InternalUnitTester: public HasReturnvaluesIF {
public:
InternalUnitTester();
virtual~ InternalUnitTester();
/**
* Some function which calls all other tests
* @return
*/
2021-01-15 16:56:36 +01:00
virtual ReturnValue_t performTests(struct TestConfig testConfig);
2020-10-20 17:11:23 +02:00
};
#endif /* FRAMEWORK_TEST_UNITTESTCLASS_H_ */