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))
PCMK__UNIT_TEST(NULL, NULL, cmocka_unit_test(bad_input), cmocka_unit_test(not_found), cmocka_unit_test(find_attrB), cmocka_unit_test(find_attrA_matching))
Low-level API for XML Access Control Lists (ACLs)
xmlNode * create_xml_node(xmlNode *parent, const char *name)
bool xml_acl_denied(const xmlNode *xml)
Check whether or not an XML node is ACL-denied.