Rajkumar Kanagaraj
c0a8fe62f5
CMake: Refactor storage TDBstore and FileSystemStore unittest cmake
...
- Add CMake configuration file in TDBstore and FileSystemStore unittest.
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj
ba04c1cf76
CMake: Add add_subdirectory of unittests
...
- add every libraries unittest directory into respective CMake
which allows to include unittest source into build based on
MBED_BUILD_UNITTESTS flag
2021-05-11 02:29:56 -07:00
Lingkai Dong
e8070514b1
FileSystemStore unit test: remove erased_set_get test
...
The "erased_set_get" test case deinits `FileSystemStore`, erases the
block device, and reinits `FileSystemStore`. This of course fails,
because `BlockDevice::erase()` removes all stored data including the
format of the `FileSystem` (middle layer), unless the particular type
of block device has a no-op erase implementation.
Note: Previously `HeapBlockDevice::erase()` was essentially a no-op
so this test case did not fail. We recently added the freeing of heap
memory and it uncovered the problem.
2021-04-14 17:16:54 +01:00
Lingkai Dong
170c07ccdf
KVStore: drop './' from CMake paths
2020-12-09 17:26:32 +00:00
Lingkai Dong
34bbcbff92
Fix astyle in KVStore unit tests
2020-12-09 17:26:32 +00:00
Lingkai Dong
0c33db04d5
KVStore: componentize CMake definitions into sub-components
2020-12-09 17:20:43 +00:00
Lingkai Dong
26acbd141a
Relocate kvstore Greentea tests into each store type's path
2020-12-09 17:20:43 +00:00
Lingkai Dong
8c1dd01066
Relocate kvstore unit tests into each store type's path
2020-12-09 17:20:42 +00:00
Lingkai Dong
c2d6e9146c
Turn TDBStore and FileSystemStore into standalone libraries
2020-12-09 17:20:42 +00:00
Rajkumar Kanagaraj
d05d3471fe
Refactore storage/kvstore directory
2020-07-20 07:28:53 -07:00
Rajkumar Kanagaraj
51247d0c4c
Update header path reference
2020-07-17 12:42:11 -07:00
Rajkumar Kanagaraj
e92efbd800
Update the header file reference
2020-07-17 03:10:58 -07:00
Rajkumar Kanagaraj
0bcf967870
Storage directory restructure:
...
- Move mbed-os/features/storage to mbed-os/storage
- Move components/storage/blockdevice to storage/blockdevice/COMPONENT_xxx
2020-07-10 14:59:53 +01:00