pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros | Functions
crm_xml_init_test.c File Reference
#include <crm_internal.h>
#include <crm/common/xml.h>
#include <crm/common/unittest_internal.h>
#include <crm/common/xml_internal.h>
#include "crmcommon_private.h"
Include dependency graph for crm_xml_init_test.c:

Go to the source code of this file.

Macros

#define XML_DOC_PRIVATE_MAGIC   0x81726354UL
 
#define XML_NODE_PRIVATE_MAGIC   0x54637281UL
 

Functions

 PCMK__UNIT_TEST (setup, teardown, cmocka_unit_test(buffer_scheme_test), cmocka_unit_test(create_document_node), cmocka_unit_test(create_element_node), cmocka_unit_test(create_attr_node), cmocka_unit_test(create_comment_node), cmocka_unit_test(create_text_node), cmocka_unit_test(create_dtd_node), cmocka_unit_test(create_cdata_node))
 

Macro Definition Documentation

◆ XML_DOC_PRIVATE_MAGIC

#define XML_DOC_PRIVATE_MAGIC   0x81726354UL

Definition at line 19 of file crm_xml_init_test.c.

◆ XML_NODE_PRIVATE_MAGIC

#define XML_NODE_PRIVATE_MAGIC   0x54637281UL

Definition at line 20 of file crm_xml_init_test.c.

Function Documentation

◆ PCMK__UNIT_TEST()

PCMK__UNIT_TEST ( setup  ,
teardown  ,
cmocka_unit_test(buffer_scheme_test)  ,
cmocka_unit_test(create_document_node)  ,
cmocka_unit_test(create_element_node)  ,
cmocka_unit_test(create_attr_node)  ,
cmocka_unit_test(create_comment_node)  ,
cmocka_unit_test(create_text_node)  ,
cmocka_unit_test(create_dtd_node)  ,
cmocka_unit_test(create_cdata_node)   
)