15 #include "../../crmcommon_private.h" 18 is_xml_acl_enabled_without_node(
void **state)
23 test_xml->doc->_private = NULL;
34 is_xml_acl_enabled_with_node(
void **state)
46 docpriv = test_xml->doc->_private;
60 cmocka_unit_test(is_xml_acl_enabled_without_node),
61 cmocka_unit_test(is_xml_acl_enabled_with_node))
#define PCMK__UNIT_TEST(group_setup, group_teardown,...)
bool xml_acl_enabled(const xmlNode *xml)
Check whether or not an XML node is ACL-enabled.
Low-level API for XML Access Control Lists (ACLs)
int pcmk__xml_test_setup_group(void **state)
int pcmk__xml_test_teardown_group(void **state)
xmlNode * pcmk__xe_create(xmlNode *parent, const char *name)
#define pcmk__assert_alloc(nmemb, size)