12 #include "../../crmcommon_private.h" 21 is_xml_acl_denied_without_node(
void **state)
26 test_xml->doc->_private = NULL;
37 is_xml_acl_denied_with_node(
void **state)
49 p = test_xml->doc->_private;
63 main(
int argc,
char **argv)
65 const struct CMUnitTest tests[] = {
66 cmocka_unit_test(is_xml_acl_denied_without_node),
67 cmocka_unit_test(is_xml_acl_denied_with_node),
70 cmocka_set_message_output(CM_OUTPUT_TAP);
71 return cmocka_run_group_tests(tests, NULL, NULL);
Low-level API for XML Access Control Lists (ACLs)
xmlNode * create_xml_node(xmlNode *parent, const char *name)
bool xml_acl_denied(xmlNode *xml)
int main(int argc, char **argv)