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