1
0
forked from fsfw/fsfw

windows unittests succeed

This commit is contained in:
2023-01-26 18:14:35 +01:00
parent c66fab90f9
commit 9589d702dd
8 changed files with 17 additions and 13 deletions

View File

@ -40,7 +40,6 @@ TEST_CASE("PlacementFactory Tests", "[containers]") {
REQUIRE(storagePool.getFreeElement(&address, sizeof(uint64_t), &ptr) ==
static_cast<int>(returnvalue::OK));
REQUIRE(storagePool.deleteData(address) == static_cast<int>(returnvalue::OK));
// Check that PlacementFactory checks for nullptr
ptr = nullptr;
REQUIRE(factory.destroy(ptr) == static_cast<int>(returnvalue::FAILED));