DTNMA Reference Tools v2.3.0 - 8.g598da6c
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
test_nm_rest.c File Reference

Test the internal API for alarm bookkeeping, separate from the ADM exposing some of these data and behaviors. More...

#include <refdm/nm_rest.h>
#include <cace/util/defs.h>
#include <cace/util/logging.h>
#include <sys/stat.h>
#include <unity.h>
+ Include dependency graph for test_nm_rest.c:

Macros

#define TEST_CASE(...)
 

Functions

void suiteSetUp (void)
 
int suiteTearDown (int failures)
 
void test_get_docroot (const char *env_fmt, const char *expect_fmt)
 

Variables

char * test_root
 Temporary testing directory.
 

Detailed Description

Test the internal API for alarm bookkeeping, separate from the ADM exposing some of these data and behaviors.

Macro Definition Documentation

◆ TEST_CASE

#define TEST_CASE (   ...)

Function Documentation

◆ suiteSetUp()

void suiteSetUp ( void  )

References cace_openlog(), and test_root.

◆ suiteTearDown()

int suiteTearDown ( int  failures)

References cace_closelog(), and test_root.

◆ test_get_docroot()

void test_get_docroot ( const char *  env_fmt,
const char *  expect_fmt 
)

Variable Documentation

◆ test_root

char* test_root

Temporary testing directory.

Referenced by suiteSetUp(), and suiteTearDown().