c-template
command_line_test.c File Reference
#include <stdbool.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <assert.h>
#include "command_line.c"
Include dependency graph for command_line_test.c:

Go to the source code of this file.

Functions

void print_hello_world ()
 
command_handlernew_test_command ()
 
void test_new_command_object (void **state)
 
void test_load_command (void **state)
 
void test_execute (void **state)
 
int main (void)
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 80 of file command_line_test.c.

Here is the call graph for this function:

◆ new_test_command()

command_handler * new_test_command ( )

Definition at line 15 of file command_line_test.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_hello_world()

void print_hello_world ( )

Definition at line 11 of file command_line_test.c.

Here is the caller graph for this function:

◆ test_execute()

void test_execute ( void **  state)

Definition at line 65 of file command_line_test.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_load_command()

void test_load_command ( void **  state)

Definition at line 46 of file command_line_test.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_new_command_object()

void test_new_command_object ( void **  state)

Definition at line 28 of file command_line_test.c.

Here is the call graph for this function:
Here is the caller graph for this function: