1
0
forked from fsfw/fsfw

updated internal unit tester

This commit is contained in:
2021-01-15 17:06:05 +01:00
parent 73b9d058e5
commit 79cf009049
6 changed files with 14 additions and 7 deletions

View File

@ -4,6 +4,7 @@
#include "UnittDefinitions.h"
#include "../../returnvalues/HasReturnvaluesIF.h"
/**
* @brief Can be used for internal testing, for example for hardware specific
* tests which can not be run on a host-machine.
@ -15,6 +16,10 @@
*/
class InternalUnitTester: public HasReturnvaluesIF {
public:
struct TestConfig {
bool testArrayPrinter;
};
InternalUnitTester();
virtual~ InternalUnitTester();
@ -22,7 +27,7 @@ public:
* Some function which calls all other tests
* @return
*/
virtual ReturnValue_t performTests(struct TestConfig testConfig);
virtual ReturnValue_t performTests(struct InternalUnitTester::TestConfig& testConfig);
};