embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
buffer_tests.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include "buffer.h"
Include dependency graph for buffer_tests.c:

Data Structures

struct  test_t
 

Macros

#define NUMBER_TESTS   8
 

Functions

bool this_test_passes ()
 
bool this_test_fails ()
 
bool buffer_init ()
 
bool buffer_init_enqueue ()
 
bool buffer_init_enqueue_dequeue ()
 
void buffer_callback (buffer_t *buf)
 
bool buffer_init_enqueue_callback ()
 
bool buffer_init_enqueue_callback_clear_callback ()
 
bool buffer_init_enqueue_data ()
 
int main (int argc, char *argv[])
 

Variables

bool this_gets_set_to_true_by_buffer_callback = false
 

Macro Definition Documentation

#define NUMBER_TESTS   8

Function Documentation

void buffer_callback ( buffer_t buf)

Here is the caller graph for this function:

bool buffer_init ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool buffer_init_enqueue ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool buffer_init_enqueue_callback ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool buffer_init_enqueue_callback_clear_callback ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool buffer_init_enqueue_data ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool buffer_init_enqueue_dequeue ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

bool this_test_fails ( )

Here is the caller graph for this function:

bool this_test_passes ( )

Here is the caller graph for this function:

Variable Documentation

bool this_gets_set_to_true_by_buffer_callback = false