From 562b31ccd3a2bb2ae3aa84bc82b0117a9f329779 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Mon, 7 Dec 2020 11:59:04 +0000 Subject: [PATCH] Move SFDP unit tests --- .../blockdevice}/tests/UNITTESTS/SFDP/test_sfdp.cpp | 2 +- .../blockdevice}/tests/UNITTESTS/SFDP/unittest.cmake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename {drivers => storage/blockdevice}/tests/UNITTESTS/SFDP/test_sfdp.cpp (98%) rename {drivers => storage/blockdevice}/tests/UNITTESTS/SFDP/unittest.cmake (70%) diff --git a/drivers/tests/UNITTESTS/SFDP/test_sfdp.cpp b/storage/blockdevice/tests/UNITTESTS/SFDP/test_sfdp.cpp similarity index 98% rename from drivers/tests/UNITTESTS/SFDP/test_sfdp.cpp rename to storage/blockdevice/tests/UNITTESTS/SFDP/test_sfdp.cpp index ac6915dde1..3a7523a91a 100644 --- a/drivers/tests/UNITTESTS/SFDP/test_sfdp.cpp +++ b/storage/blockdevice/tests/UNITTESTS/SFDP/test_sfdp.cpp @@ -16,7 +16,7 @@ #include "gtest/gtest.h" #include "gmock/gmock.h" -#include "drivers/internal/SFDP.h" +#include "blockdevice/internal/SFDP.h" class TestSFDP : public testing::Test { protected: diff --git a/drivers/tests/UNITTESTS/SFDP/unittest.cmake b/storage/blockdevice/tests/UNITTESTS/SFDP/unittest.cmake similarity index 70% rename from drivers/tests/UNITTESTS/SFDP/unittest.cmake rename to storage/blockdevice/tests/UNITTESTS/SFDP/unittest.cmake index db832e9b3e..479a36fc05 100644 --- a/drivers/tests/UNITTESTS/SFDP/unittest.cmake +++ b/storage/blockdevice/tests/UNITTESTS/SFDP/unittest.cmake @@ -6,12 +6,12 @@ set(TEST_SUITE_NAME "SFDP") # Source files set(unittest-sources - ../drivers/source/SFDP.cpp + ../storage/blockdevice/source/SFDP.cpp ) # Test files set(unittest-test-sources - ../drivers/tests/UNITTESTS/SFDP/test_sfdp.cpp + ../storage/blockdevice/tests/UNITTESTS/SFDP/test_sfdp.cpp stubs/mbed_assert_stub.cpp )