Skip to content

File test_generator_montesinos.c

FileList > gen-montesinos > test > test_generator_montesinos.c

Go to the source code of this file

  • #include "generator_montesinos.h"
  • #include "stdint.h"
  • #include "stddef.h"
  • #include "string.h"
  • #include "unity.h"

Public Attributes

Type Name
note_att_t att_n = /* multi line expression */
char index_buff
size_t index_idx = 0
char key_buff
size_t key_idx = 0
char mont_trees = /* multi line expression */
note_att_node_t nodes
char str_buff
gen_montesinos_config_t tc_write_fail = /* multi line expression */
gen_montesinos_config_t tc_write_success = /* multi line expression */
note_tv_t tv_set_1 = /* multi line expression */
note_tv_t tv_set_2 = /* multi line expression */
note_tv_t tv_set_3
size_t tv_set_lens = {3,2,4}
note_tv_t * tv_sets = /* multi line expression */
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)
uint8_t 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 att_n

note_att_t att_n;

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 mont_trees

char mont_trees[UTIL_TANG_DEFS_MAX_CROSSINGNUM *5][UTIL_TANG_DEFS_MAX_CROSSINGNUM *4u];

variable nodes

note_att_node_t nodes[UTIL_TANG_DEFS_MAX_CROSSINGNUM *2];

variable str_buff

char str_buff[UTIL_TANG_DEFS_MAX_CROSSINGNUM *10u];

variable tc_write_fail

gen_montesinos_config_t tc_write_fail;

variable tc_write_success

gen_montesinos_config_t tc_write_success;

variable tv_set_1

note_tv_t tv_set_1[];

variable tv_set_2

note_tv_t tv_set_2[];

variable tv_set_3

note_tv_t tv_set_3[];

variable tv_set_lens

size_t tv_set_lens[];

variable tv_sets

note_tv_t* tv_sets[];

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

uint8_t 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-montesinos/test/test_generator_montesinos.c