|
DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
#include <cace/amm/semtype_cnst.h>#include <cace/ari/text_util.h>#include <cace/ari/cbor.h>#include <cace/util/logging.h>#include <unity.h>
Include dependency graph for test_amm_semtype_cnst.c:Macros | |
| #define | TEST_CASE(...) |
Functions | |
| void | suiteSetUp (void) |
| int | suiteTearDown (int failures) |
| static void | check_cnst (const cace_amm_semtype_cnst_t *cnst, const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_range_int64_1intvl_finite (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_int_bits_1intvl_finite (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_strlen_1intvl_finite (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_strlen_empty (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_strlen_1intvl_infinite (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_strlen_1intvl_lowindef (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_strlen_1intvl_highindef (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_strlen_2intvl_finite (const char *inhex, bool expect) |
| void | test_amm_semtype_cnst_textpat (const char *pat, const char *inhex, bool expect) |
| #define TEST_CASE | ( | ... | ) |
|
static |
References cace_amm_semtype_cnst_is_valid(), cace_ari_cbor_decode(), cace_ari_deinit(), CACE_ARI_INIT_UNDEFINED, cace_base16_decode(), cace_data_deinit(), and cace_data_init().
Referenced by test_amm_semtype_cnst_int_bits_1intvl_finite(), test_amm_semtype_cnst_range_int64_1intvl_finite(), test_amm_semtype_cnst_strlen_1intvl_finite(), test_amm_semtype_cnst_strlen_1intvl_highindef(), test_amm_semtype_cnst_strlen_1intvl_infinite(), test_amm_semtype_cnst_strlen_1intvl_lowindef(), test_amm_semtype_cnst_strlen_2intvl_finite(), test_amm_semtype_cnst_strlen_empty(), and test_amm_semtype_cnst_textpat().
| void suiteSetUp | ( | void | ) |
References cace_openlog().
| int suiteTearDown | ( | int | failures | ) |
References cace_closelog().
| void test_amm_semtype_cnst_int_bits_1intvl_finite | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_range_int64_1intvl_finite | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_strlen_1intvl_finite | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_strlen_1intvl_highindef | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_strlen_1intvl_infinite | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_strlen_1intvl_lowindef | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_strlen_2intvl_finite | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_strlen_empty | ( | const char * | inhex, |
| bool | expect | ||
| ) |
| void test_amm_semtype_cnst_textpat | ( | const char * | pat, |
| const char * | inhex, | ||
| bool | expect | ||
| ) |