Commit 43943b94 authored by Kamil Piszczek's avatar Kamil Piszczek Committed by Maureen Helm
Browse files

tests: subsys: settings: tightening scope of common test functions



Limited the scope of helper functions that are used in the common test
source. Now it is easier to identify which functions are intended to be
used in the test suite.

Signed-off-by: default avatarKamil Piszczek <Kamil.Piszczek@nordicsemi.no>
parent f209af22
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static int read_handle(void *ctx, off_t off, char *buf, size_t *len)

char read_buf[128+10];

void test_raw_read_iteration(u8_t rbs, size_t off, size_t len)
static void test_raw_read_iteration(u8_t rbs, size_t off, size_t len)
{
	test_rwbs = rbs;
	size_t len_read;
@@ -145,9 +145,10 @@ void test_setting_raw_read(void)



void test_val_read_iteration(char const *src, size_t src_len,
static void test_val_read_iteration(char const *src, size_t src_len,
				    char const *pattern, size_t pattern_len,
			     size_t len, u8_t rbs, size_t off, size_t val_off)
				    size_t len, u8_t rbs, size_t off,
				    size_t val_off)
{
	size_t len_read;
	int rc;