#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <check.h>
#include "ringfs.h"
#include "flashsim.h"
Go to the source code of this file.
static ssize_t op_program |
( |
int |
address, |
|
|
const void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
static |
static ssize_t op_read |
( |
int |
address, |
|
|
void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
static |
static int op_sector_erase |
( |
int |
address | ) |
|
|
static |
END_TEST Suite* ringfs_suite |
( |
void |
| ) |
|
START_TEST |
( |
test_flashsim |
| ) |
|
START_TEST |
( |
test_ringfs_format |
| ) |
|
END_TEST START_TEST |
( |
test_ringfs_scan |
| ) |
|
END_TEST START_TEST |
( |
test_ringfs_append |
| ) |
|
END_TEST START_TEST |
( |
test_ringfs_discard |
| ) |
|
END_TEST START_TEST |
( |
test_ringfs_capacity |
| ) |
|
END_TEST START_TEST |
( |
test_ringfs_count |
| ) |
|
Initial value:= {
.sector_size = 65536,
.sector_offset = 3,
.sector_count = 13,
}
static ssize_t op_read(int address, void *data, size_t size)
static ssize_t op_program(int address, const void *data, size_t size)
static int op_sector_erase(int address)
Definition at line 81 of file tests.c.