pacemaker  2.1.9-49aab99839
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)
 
int pcmk__xml_test_teardown_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 147 of file unittest.c.

◆ pcmk__cib_test_copy_cib()

char* pcmk__cib_test_copy_cib ( const char *  in_file)

Definition at line 112 of file unittest.c.

◆ pcmk__test_init_logging()

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

Definition at line 164 of file unittest.c.

◆ pcmk__xml_test_setup_group()

int pcmk__xml_test_setup_group ( void **  state)

Definition at line 85 of file unittest.c.

◆ pcmk__xml_test_teardown_group()

int pcmk__xml_test_teardown_group ( void **  state)

Definition at line 104 of file unittest.c.