Lines Matching refs:zassert_equal

30 	zassert_equal(fs_open(&file,  in create_write_hello()
40 zassert_equal(fs_stat(path.path, &stat), in create_write_hello()
44 zassert_equal(stat.type, FS_DIR_ENTRY_FILE, in create_write_hello()
47 zassert_equal(stat.size, 0, in create_write_hello()
50 zassert_equal(testfs_write_incrementing(&file, 0, TESTFS_BUFFER_SIZE), in create_write_hello()
54 zassert_equal(fs_stat(path.path, &stat), in create_write_hello()
58 zassert_equal(stat.type, FS_DIR_ENTRY_FILE, in create_write_hello()
67 zassert_equal(stat.size, 0, in create_write_hello()
71 zassert_equal(fs_close(&file), 0, in create_write_hello()
74 zassert_equal(fs_stat(path.path, &stat), in create_write_hello()
78 zassert_equal(stat.type, FS_DIR_ENTRY_FILE, in create_write_hello()
81 zassert_equal(stat.size, TESTFS_BUFFER_SIZE, in create_write_hello()
95 zassert_equal(fs_open(&file, in verify_hello()
103 zassert_equal(fs_tell(&file), 0U, in verify_hello()
106 zassert_equal(testfs_verify_incrementing(&file, 0, TESTFS_BUFFER_SIZE), in verify_hello()
110 zassert_equal(fs_tell(&file), TESTFS_BUFFER_SIZE, in verify_hello()
113 zassert_equal(fs_close(&file), 0, in verify_hello()
127 zassert_equal(fs_open(&file, in seek_within_hello()
135 zassert_equal(fs_tell(&file), 0U, in seek_within_hello()
140 zassert_equal(fs_stat(path.path, &stat), in seek_within_hello()
143 zassert_equal(stat.size, TESTFS_BUFFER_SIZE, in seek_within_hello()
148 zassert_equal(fs_seek(&file, pos, FS_SEEK_SET), in seek_within_hello()
152 zassert_equal(fs_tell(&file), pos, in seek_within_hello()
155 zassert_equal(testfs_verify_incrementing(&file, pos, TESTFS_BUFFER_SIZE), in seek_within_hello()
159 zassert_equal(fs_tell(&file), stat.size, in seek_within_hello()
162 zassert_equal(fs_seek(&file, -stat.size, FS_SEEK_CUR), in seek_within_hello()
166 zassert_equal(fs_tell(&file), 0U, in seek_within_hello()
169 zassert_equal(fs_seek(&file, -pos, FS_SEEK_END), in seek_within_hello()
173 zassert_equal(fs_tell(&file), stat.size - pos, in seek_within_hello()
176 zassert_equal(testfs_verify_incrementing(&file, stat.size - pos, in seek_within_hello()
181 zassert_equal(fs_close(&file), 0, in seek_within_hello()
195 zassert_equal(fs_open(&file, in truncate_hello()
205 zassert_equal(fs_stat(path.path, &stat), in truncate_hello()
208 zassert_equal(stat.size, TESTFS_BUFFER_SIZE, in truncate_hello()
213 zassert_equal(fs_tell(&file), 0U, in truncate_hello()
216 zassert_equal(fs_truncate(&file, pos), in truncate_hello()
220 zassert_equal(fs_tell(&file), 0U, in truncate_hello()
223 zassert_equal(fs_stat(path.path, &stat), in truncate_hello()
232 zassert_equal(stat.size, TESTFS_BUFFER_SIZE, in truncate_hello()
236 zassert_equal(testfs_verify_incrementing(&file, 0, 64), in truncate_hello()
240 zassert_equal(fs_close(&file), 0, in truncate_hello()
244 zassert_equal(fs_stat(path.path, &stat), in truncate_hello()
247 zassert_equal(stat.size, pos, in truncate_hello()
265 zassert_equal(fs_stat(path.path, &stat), in unlink_hello()
268 zassert_equal(fs_unlink(path.path), in unlink_hello()
271 zassert_equal(fs_stat(path.path, &stat), in unlink_hello()
286 zassert_equal(fs_open(&file, in sync_goodbye()
296 zassert_equal(fs_stat(path.path, &stat), in sync_goodbye()
299 zassert_equal(stat.size, 0, in sync_goodbye()
302 zassert_equal(testfs_write_incrementing(&file, 0, TESTFS_BUFFER_SIZE), in sync_goodbye()
306 zassert_equal(fs_tell(&file), TESTFS_BUFFER_SIZE, in sync_goodbye()
311 zassert_equal(stat.size, 0, in sync_goodbye()
315 zassert_equal(fs_sync(&file), 0, in sync_goodbye()
318 zassert_equal(fs_tell(&file), TESTFS_BUFFER_SIZE, in sync_goodbye()
321 zassert_equal(fs_stat(path.path, &stat), in sync_goodbye()
326 zassert_equal(stat.size, TESTFS_BUFFER_SIZE, in sync_goodbye()
329 zassert_equal(fs_close(&file), 0, in sync_goodbye()
333 zassert_equal(fs_stat(path.path, &stat), in sync_goodbye()
336 zassert_equal(stat.size, TESTFS_BUFFER_SIZE, in sync_goodbye()
350 zassert_equal(fs_open(&file, in verify_goodbye()
358 zassert_equal(testfs_verify_incrementing(&file, 0, TESTFS_BUFFER_SIZE), in verify_goodbye()
362 zassert_equal(fs_close(&file), 0, in verify_goodbye()
371 zassert_equal(fs_mount(fs_basic_test_mp), 0, in test_fs_basic()
374 zassert_equal(create_write_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic()
377 zassert_equal(verify_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic()
380 zassert_equal(seek_within_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic()
383 zassert_equal(truncate_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic()
386 zassert_equal(unlink_hello(fs_basic_test_mp), TC_PASS, in test_fs_basic()
389 zassert_equal(sync_goodbye(fs_basic_test_mp), TC_PASS, in test_fs_basic()
393 zassert_equal(fs_unmount(fs_basic_test_mp), 0, in test_fs_basic()
399 zassert_equal(fs_unmount(fs_basic_test_mp), -EINVAL, in test_fs_basic()
402 zassert_equal(fs_mount(fs_basic_test_mp), 0, in test_fs_basic()
405 zassert_equal(verify_goodbye(fs_basic_test_mp), TC_PASS, in test_fs_basic()
408 zassert_equal(fs_unmount(fs_basic_test_mp), 0, in test_fs_basic()