DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
test_amm_semtype_cnst.c File Reference
#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)
 

Macro Definition Documentation

◆ TEST_CASE

#define TEST_CASE (   ...)

Function Documentation

◆ check_cnst()

◆ suiteSetUp()

void suiteSetUp ( void  )

References cace_openlog().

◆ suiteTearDown()

int suiteTearDown ( int  failures)

References cace_closelog().

◆ test_amm_semtype_cnst_int_bits_1intvl_finite()

void test_amm_semtype_cnst_int_bits_1intvl_finite ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_range_int64_1intvl_finite()

void test_amm_semtype_cnst_range_int64_1intvl_finite ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_strlen_1intvl_finite()

void test_amm_semtype_cnst_strlen_1intvl_finite ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_strlen_1intvl_highindef()

void test_amm_semtype_cnst_strlen_1intvl_highindef ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_strlen_1intvl_infinite()

void test_amm_semtype_cnst_strlen_1intvl_infinite ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_strlen_1intvl_lowindef()

void test_amm_semtype_cnst_strlen_1intvl_lowindef ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_strlen_2intvl_finite()

void test_amm_semtype_cnst_strlen_2intvl_finite ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_strlen_empty()

void test_amm_semtype_cnst_strlen_empty ( const char *  inhex,
bool  expect 
)

◆ test_amm_semtype_cnst_textpat()

void test_amm_semtype_cnst_textpat ( const char *  pat,
const char *  inhex,
bool  expect 
)