File test_generator_rational.c
FileList > gen-rational > test > test_generator_rational.c
Go to the source code of this file
#include "generator_rational.h"#include "string.h"#include "unity.h"#include "storage_defs.h"
Public Attributes
| Type | Name |
|---|---|
| char | cross_num_five_rattang = /* multi line expression */ |
| char | index_buff |
| size_t | index_idx = 0 |
| char | key_buff |
| size_t | key_idx = 0 |
| gen_rational_config_t | tc_null_buff = /* multi line expression */ |
| gen_rational_config_t | tc_null_str_buff = /* multi line expression */ |
| gen_rational_config_t | tc_write_fail = /* multi line expression */ |
| gen_rational_config_t | tc_write_success = /* multi line expression */ |
| note_tv_t | tv |
| char | tv_str |
| char | value_buff |
| size_t | value_idx = 0 |
Public Functions
| Type | Name |
|---|---|
| int | main (void) |
| void | setUp (void) |
| STATIC_INLINE const char * | stub_read (const char * key, const char * index) |
| STATIC_INLINE_UINT8 | stub_write_dedup_success (const char * key, const char * index, const char * value) |
| STATIC_INLINE_UINT8 | stub_write_fail (const char * key, const char * index, const char * value) |
| STATIC_INLINE_UINT8 | stub_write_success (const char * key, const char * index, const char * value) |
| void | tearDown (void) |
| STATIC_INLINE void | test_config (void) |
| STATIC_INLINE void | test_generate (void) |
| STATIC_INLINE void | test_generate_fail (void) |
Macros
| Type | Name |
|---|---|
| define | STR_TERMINAL_CHAR (0x7Fu) |
Public Attributes Documentation
variable cross_num_five_rattang
char cross_num_five_rattang[UTIL_TANG_DEFS_MAX_CROSSINGNUM *5][UTIL_TANG_DEFS_MAX_CROSSINGNUM *2u];
variable index_buff
char index_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u][UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u];
variable index_idx
size_t index_idx;
variable key_buff
char key_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *10u][UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u];
variable key_idx
size_t key_idx;
variable tc_null_buff
gen_rational_config_t tc_null_buff;
variable tc_null_str_buff
gen_rational_config_t tc_null_str_buff;
variable tc_write_fail
gen_rational_config_t tc_write_fail;
variable tc_write_success
gen_rational_config_t tc_write_success;
variable tv
note_tv_t tv;
variable tv_str
char tv_str[UTIL_TANG_DEFS_MAX_CROSSINGNUM *2u];
variable value_buff
char value_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u][UTIL_TANG_DEFS_MAX_CROSSINGNUM *100u];
variable value_idx
size_t value_idx;
Public Functions Documentation
function main
int main (
void
)
function setUp
void setUp (
void
)
function stub_read
STATIC_INLINE const char * stub_read (
const char * key,
const char * index
)
function stub_write_dedup_success
STATIC_INLINE_UINT8 stub_write_dedup_success (
const char * key,
const char * index,
const char * value
)
function stub_write_fail
STATIC_INLINE_UINT8 stub_write_fail (
const char * key,
const char * index,
const char * value
)
function stub_write_success
STATIC_INLINE_UINT8 stub_write_success (
const char * key,
const char * index,
const char * value
)
function tearDown
void tearDown (
void
)
function test_config
STATIC_INLINE void test_config (
void
)
function test_generate
STATIC_INLINE void test_generate (
void
)
function test_generate_fail
STATIC_INLINE void test_generate_fail (
void
)
Macro Definition Documentation
define STR_TERMINAL_CHAR
#define STR_TERMINAL_CHAR `(0x7Fu)`
The documentation for this class was generated from the following file source/gen-rational/test/test_generator_rational.c