pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
unittest.c File Reference
#include <crm_internal.h>
#include <crm/common/unittest_internal.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for unittest.c:

Go to the source code of this file.

Functions

void pcmk__assert_validates (xmlNode *xml)
 
int pcmk__xml_test_setup_group (void **state)
 
char * pcmk__cib_test_copy_cib (const char *in_file)
 
void pcmk__cib_test_cleanup (char *out_path)
 
void pcmk__test_init_logging (const char *name, const char *filename)
 

Function Documentation

◆ pcmk__assert_validates()

void pcmk__assert_validates ( xmlNode *  xml)

Definition at line 20 of file unittest.c.

◆ pcmk__cib_test_cleanup()

void pcmk__cib_test_cleanup ( char *  out_path)

Definition at line 121 of file unittest.c.

◆ pcmk__cib_test_copy_cib()

char* pcmk__cib_test_copy_cib ( const char *  in_file)

Definition at line 86 of file unittest.c.

◆ pcmk__test_init_logging()

void pcmk__test_init_logging ( const char *  name,
const char *  filename 
)

Definition at line 138 of file unittest.c.

◆ pcmk__xml_test_setup_group()

int pcmk__xml_test_setup_group ( void **  state)

Definition at line 74 of file unittest.c.