Commit graph

26 commits

Author SHA1 Message Date
e40bd819d6 test: flash: mock flash_write0() and flash_copy() 2017-10-03 11:34:39 +02:00
fc1476d9dd test: ftl: add test to check if an exact match works for trace_path() 2017-10-03 11:24:44 +02:00
851c0cb7a6 test: ftl: check returned page descriptor for trace_path() 2017-10-03 11:14:44 +02:00
ae3b7933b7 test: ftl: add tests for trace_path() 2017-10-03 11:07:17 +02:00
f3eb5df644 test: ftl: add tests for ftl_is_mapped() 2017-09-21 17:27:15 +02:00
5004fed4aa test: reorganise code 2017-09-21 16:44:00 +02:00
6243dabea8 test: ftl: add tests for find_head() 2017-09-21 15:36:44 +02:00
920a59499b test: ftl: add tests for find_root() 2017-09-20 15:41:41 +02:00
b8426f12f2 test: ftl: mock read_page_desc() 2017-09-20 15:28:30 +02:00
1153f2bdcd test: ftl: improve descriptions for the test cases 2017-09-20 14:56:07 +02:00
6dcfd0d322 test: add tests for find_last_group() 2017-09-20 14:34:13 +02:00
d778e5a325 test: add tests for find_last_block() 2017-09-20 14:33:54 +02:00
c6744d6975 test: ftl: add tests for find_block() 2017-09-20 14:31:54 +02:00
73057f6f25 test: only call memcpy() in __wrap_flash_read() and __wrap_flash_write() when there is something to copy 2017-09-20 14:31:07 +02:00
0da262cc0f test: implement __wrap_is_group_erased() and __wrap_find_block() 2017-09-20 14:30:38 +02:00
8e4dc856e7 test: ftl: separate mocked functions 2017-09-19 18:45:37 +02:00
2ff1003430 test: ftl: add tests for write_upage() 2017-09-19 18:45:18 +02:00
c1a7b885f2 test: call __real_write_page_desc() in tests and mock prepare_head() and write_page_desc() 2017-09-19 18:44:53 +02:00
d2aa954573 test: remove redundant declarations 2017-09-19 17:49:48 +02:00
f951d695e8 test: flash: use different mocking technique 2017-09-19 17:49:26 +02:00
ed49402e3b test: ftl: add tests for read_page_group() 2017-09-19 16:18:46 +02:00
3e0df6537a test: ftl: implement tests for write_page_desc() 2017-09-19 16:07:13 +02:00
108178d1be test: flash: implement wrappers for flash_write() and flash_erase() 2017-09-19 16:06:55 +02:00
a63e7656fe test: ftl: add tests for next_upage() 2017-09-19 15:04:47 +02:00
e84226657c test: reorganise code 2017-09-19 14:37:23 +02:00
bbc799f805 test: add tests for find_block_div() and read_page_desc() 2017-09-19 14:23:00 +02:00