applied formatting
This commit is contained in:
@ -2,12 +2,12 @@
|
||||
#define TEST_TESTTASK_H_
|
||||
|
||||
#include <fsfw/serialize/SerialBufferAdapter.h>
|
||||
#include <fsfw/serialize/SerializeElement.h>
|
||||
#include <fsfw/serialize/SerialLinkedListAdapter.h>
|
||||
#include "fsfw_tests/integration/task/TestTask.h"
|
||||
#include <fsfw/serialize/SerializeElement.h>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#include "fsfw_tests/integration/task/TestTask.h"
|
||||
|
||||
/**
|
||||
* @brief Test class for general C++ testing.
|
||||
@ -16,38 +16,35 @@
|
||||
* tests. Instead, a derived board test class should be used.
|
||||
*/
|
||||
class EiveTestTask : public TestTask {
|
||||
public:
|
||||
EiveTestTask(object_id_t objectId);
|
||||
virtual ~EiveTestTask();
|
||||
virtual ReturnValue_t performOperation(uint8_t operationCode = 0) override;
|
||||
public:
|
||||
EiveTestTask(object_id_t objectId);
|
||||
virtual ~EiveTestTask();
|
||||
virtual ReturnValue_t performOperation(uint8_t operationCode = 0) override;
|
||||
|
||||
protected:
|
||||
virtual ReturnValue_t performOneShotAction();
|
||||
virtual ReturnValue_t performPeriodicAction();
|
||||
virtual ReturnValue_t performActionA();
|
||||
virtual ReturnValue_t performActionB();
|
||||
protected:
|
||||
virtual ReturnValue_t performOneShotAction();
|
||||
virtual ReturnValue_t performPeriodicAction();
|
||||
virtual ReturnValue_t performActionA();
|
||||
virtual ReturnValue_t performActionB();
|
||||
|
||||
enum testModes: uint8_t {
|
||||
A,
|
||||
B
|
||||
};
|
||||
enum testModes : uint8_t { A, B };
|
||||
|
||||
testModes testMode;
|
||||
testModes testMode;
|
||||
|
||||
bool testFlag = false;
|
||||
uint8_t counter { 1 };
|
||||
uint8_t counterTrigger { 3 };
|
||||
bool testFlag = false;
|
||||
uint8_t counter{1};
|
||||
uint8_t counterTrigger{3};
|
||||
|
||||
void performPusInjectorTest();
|
||||
void examplePacketTest();
|
||||
private:
|
||||
// Actually, to be really thread-safe, a mutex should be used as well
|
||||
// Let's keep it simple for now.
|
||||
bool oneShotAction = true;
|
||||
StorageManagerIF* IPCStore;
|
||||
void performPusInjectorTest();
|
||||
void examplePacketTest();
|
||||
|
||||
void performLwgpsTest();
|
||||
private:
|
||||
// Actually, to be really thread-safe, a mutex should be used as well
|
||||
// Let's keep it simple for now.
|
||||
bool oneShotAction = true;
|
||||
StorageManagerIF* IPCStore;
|
||||
|
||||
void performLwgpsTest();
|
||||
};
|
||||
|
||||
|
||||
#endif /* TESTTASK_H_ */
|
||||
|
Reference in New Issue
Block a user