fsfw/unittest/internal/InternalUnitTester.cpp

27 lines
737 B
C++
Raw Normal View History

2020-10-20 17:12:56 +02:00
#include <unittest/internal/InternalUnitTester.h>
#include <unittest/internal/IntTestMq.h>
#include <unittest/internal/IntTestSemaphore.h>
#include <unittest/internal/IntTestSerialization.h>
#include <unittest/internal/UnittDefinitions.h>
#include <unittest/internal/IntTestMutex.h>
#include <cstdlib>
InternalUnitTester::InternalUnitTester() {}
InternalUnitTester::~InternalUnitTester() {}
ReturnValue_t InternalUnitTester::performTests() {
2020-10-22 14:34:52 +02:00
sif::info << "Running internal unit tests.." << std::endl;
2020-10-20 17:12:56 +02:00
testserialize::test_serialization();
testmq::testMq();
testsemaph::testBinSemaph();
testsemaph::testCountingSemaph();
testmutex::testMutex();
2020-10-22 14:34:52 +02:00
sif::info << "Internal unit tests finished." << std::endl;
2020-10-20 17:12:56 +02:00
return RETURN_OK;
}