Flash Translation Layer  1.0
Functions | Variables
ramdisk-test.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "include/ramdisk.h"
#include "include/device.h"
#include "unity.h"
Include dependency graph for ramdisk-test.c:

Functions

void setUp (void)
 
void tearDown (void)
 
void test_open_and_close (void)
 
void test_full_write (void)
 
void test_overwrite (void)
 
void test_erase (void)
 
static void end_rq (struct device_request *request)
 
void test_end_rq_works (void)
 
int main (void)
 

Variables

struct devicedev
 

Function Documentation

◆ end_rq()

static void end_rq ( struct device_request request)
static

◆ main()

int main ( void  )
Here is the call graph for this function:

◆ setUp()

void setUp ( void  )
Here is the call graph for this function:

◆ tearDown()

void tearDown ( void  )
Here is the call graph for this function:

◆ test_end_rq_works()

void test_end_rq_works ( void  )

< note that all I/O functions run synchronously

Here is the call graph for this function:

◆ test_erase()

void test_erase ( void  )

< note that all I/O functions run synchronously

Here is the call graph for this function:

◆ test_full_write()

void test_full_write ( void  )

< note that all I/O functions run synchronously

Here is the call graph for this function:

◆ test_open_and_close()

void test_open_and_close ( void  )

◆ test_overwrite()

void test_overwrite ( void  )

< note that all I/O functions run synchronously

Here is the call graph for this function:

Variable Documentation

◆ dev

struct device* dev