Commit graph

16 commits

Author SHA1 Message Date
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