eive-obsw/bsp_q7s/boardtest/Q7STestTask.h

36 lines
841 B
C
Raw Normal View History

2021-07-05 12:09:31 +02:00
#ifndef BSP_Q7S_BOARDTEST_Q7STESTTASK_H_
#define BSP_Q7S_BOARDTEST_Q7STESTTASK_H_
#include "test/testtasks/TestTask.h"
class Q7STestTask: public TestTask {
public:
Q7STestTask(object_id_t objectId);
2021-08-19 14:16:26 +02:00
ReturnValue_t initialize() override;
2021-07-05 12:09:31 +02:00
private:
2021-08-19 14:16:26 +02:00
CoreController* coreController = nullptr;
2021-07-05 12:09:31 +02:00
ReturnValue_t performOneShotAction() override;
2021-07-19 12:44:43 +02:00
void testSdCard();
2021-07-06 18:17:32 +02:00
void fileTests();
2021-07-09 17:21:26 +02:00
void testScratchApi();
2021-07-16 21:51:30 +02:00
void testJsonLibDirect();
void testDummyParams();
2021-08-19 14:16:26 +02:00
void testProtHandler();
2021-07-19 14:34:03 +02:00
enum FsOpCodes {
CREATE_EMPTY_FILE_IN_TMP,
REMOVE_TMP_FILE,
2021-07-19 19:21:34 +02:00
CREATE_DIR_IN_TMP,
REMOVE_EMPTY_DIR_IN_TMP,
ATTEMPT_DIR_REMOVAL_NON_EMPTY,
REMOVE_FILLED_DIR_IN_TMP,
2021-07-19 14:34:03 +02:00
};
void testFileSystemHandlerDirect(FsOpCodes opCode);
2021-07-05 12:09:31 +02:00
};
#endif /* BSP_Q7S_BOARDTEST_Q7STESTTASK_H_ */