DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
test_amm_parameters.c File Reference
#include <cace/amm/parameters.h>
#include <cace/amm/semtype.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_parameters.c:

Macros

#define TEST_CASE(...)
 

Functions

void suiteSetUp (void)
 
int suiteTearDown (int failures)
 
static void check_normalize (cace_ari_itemized_t *aparams, const cace_amm_formal_param_list_t fparams, const char *inhex, int expect_res)
 
void test_fparam_empty (const char *inhex, int expect_res)
 
void test_fparam_one_bool (const char *inhex, int expect_res)
 
void test_fparam_one_bool_nodefault (const char *inhex, int expect_res, bool expect_undefined)
 
void test_fparam_one_int (const char *inhex, int expect_res)
 
void test_fparam_one_object (const char *inhex, int expect_res)
 

Macro Definition Documentation

◆ TEST_CASE

#define TEST_CASE (   ...)

Function Documentation

◆ check_normalize()

◆ suiteSetUp()

void suiteSetUp ( void  )

References cace_openlog().

◆ suiteTearDown()

int suiteTearDown ( int  failures)

References cace_closelog().

◆ test_fparam_empty()

void test_fparam_empty ( const char *  inhex,
int  expect_res 
)

◆ test_fparam_one_bool()

◆ test_fparam_one_bool_nodefault()

◆ test_fparam_one_int()

◆ test_fparam_one_object()