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))
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))
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)
xmlNode * create_xml_node(xmlNode *parent, const char *name)