include fixes

This commit is contained in:
Robin Müller 2020-10-29 17:22:41 +01:00
parent 56da648026
commit 567cbd39ef
7 changed files with 19 additions and 13 deletions

View File

@ -1,9 +1,10 @@
#include <unittest/internal/InternalUnitTester.h> #include "InternalUnitTester.h"
#include <unittest/internal/IntTestMq.h> #include "UnittDefinitions.h"
#include <unittest/internal/IntTestSemaphore.h>
#include <unittest/internal/IntTestSerialization.h> #include "osal/IntTestMq.h"
#include <unittest/internal/UnittDefinitions.h> #include "osal/IntTestSemaphore.h"
#include <unittest/internal/IntTestMutex.h> #include "osal/IntTestMutex.h"
#include "serialize/IntTestSerialization.h"
#include <cstdlib> #include <cstdlib>

View File

@ -1,7 +1,7 @@
#ifndef FRAMEWORK_TEST_UNITTESTCLASS_H_ #ifndef FRAMEWORK_TEST_UNITTESTCLASS_H_
#define FRAMEWORK_TEST_UNITTESTCLASS_H_ #define FRAMEWORK_TEST_UNITTESTCLASS_H_
#include <unittest/internal/UnittDefinitions.h> #include "UnittDefinitions.h"
#include <fsfw/returnvalues/HasReturnvaluesIF.h> #include <fsfw/returnvalues/HasReturnvaluesIF.h>
/** /**
@ -22,7 +22,7 @@ public:
* Some function which calls all other tests * Some function which calls all other tests
* @return * @return
*/ */
ReturnValue_t performTests(); virtual ReturnValue_t performTests();
}; };

View File

@ -0,0 +1,3 @@
CXXSRC += $(wildcard $(CURRENTPATH)/osal/*.cpp)
CXXSRC += $(wildcard $(CURRENTPATH)/serialize/*.cpp)
CXXSRC += $(wildcard $(CURRENTPATH)/*.cpp)

View File

@ -1,7 +1,7 @@
#include <fsfw/ipc/MessageQueueIF.h> #include <fsfw/ipc/MessageQueueIF.h>
#include <fsfw/ipc/QueueFactory.h> #include <fsfw/ipc/QueueFactory.h>
#include <unittest/internal/IntTestMq.h> #include <fsfw/unittest/internal/osal/IntTestMq.h>
#include <unittest/internal/UnittDefinitions.h> #include <fsfw/unittest/internal/UnittDefinitions.h>
#include <array> #include <array>

View File

@ -1,4 +1,5 @@
#include <unittest/internal/IntTestMutex.h> #include "IntTestMutex.h"
#include <fsfw/ipc/MutexFactory.h> #include <fsfw/ipc/MutexFactory.h>
#include <unittest/internal/UnittDefinitions.h> #include <unittest/internal/UnittDefinitions.h>

View File

@ -1,8 +1,9 @@
#include "IntTestSemaphore.h"
#include <fsfw/tasks/SemaphoreFactory.h> #include <fsfw/tasks/SemaphoreFactory.h>
#include <unittest/internal/UnittDefinitions.h> #include <unittest/internal/UnittDefinitions.h>
#include <fsfw/serviceinterface/ServiceInterfaceStream.h> #include <fsfw/serviceinterface/ServiceInterfaceStream.h>
#include <fsfw/timemanager/Stopwatch.h> #include <fsfw/timemanager/Stopwatch.h>
#include <unittest/internal/IntTestSemaphore.h>
void testsemaph::testBinSemaph() { void testsemaph::testBinSemaph() {
std::string id = "[BinSemaphore]"; std::string id = "[BinSemaphore]";

View File

@ -1,4 +1,4 @@
#include <unittest/internal/IntTestSerialization.h> #include "IntTestSerialization.h"
#include <fsfw/serialize/SerializeElement.h> #include <fsfw/serialize/SerializeElement.h>
#include <fsfw/serialize/SerialBufferAdapter.h> #include <fsfw/serialize/SerialBufferAdapter.h>
#include <unittest/internal/UnittDefinitions.h> #include <unittest/internal/UnittDefinitions.h>