1 /*
2  * Copyright (c) 2020 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/ztest.h>
8 #include <zephyr/fs/fs.h>
9 #include <limits.h>
10 
11 void test_clear_flash(void);
12 int check_file_dir_exists(const char *fpath);
13 
14 int test_file_open(struct fs_file_t *filep, const char *fpath);
15 int test_file_write(struct fs_file_t *filep, const char *str);
16 int test_file_read(struct fs_file_t *filep, const char *test_str);
17 int test_file_close(struct fs_file_t *filep);
18 int test_file_delete(const char *fpath);
19 
20 int test_rmdir(const char *dir_path);
21 int test_mkdir(const char *dir_path, const char *file);
22 int test_lsdir(const char *path);
23