test_xml 20 lib/common/tests/acl/xml_acl_denied_test.c xmlNode *test_xml = pcmk__xe_create(NULL, "test_xml"); test_xml 21 lib/common/tests/acl/xml_acl_denied_test.c assert_false(xml_acl_denied(test_xml)); test_xml 23 lib/common/tests/acl/xml_acl_denied_test.c test_xml->doc->_private = NULL; test_xml 24 lib/common/tests/acl/xml_acl_denied_test.c assert_false(xml_acl_denied(test_xml)); test_xml 26 lib/common/tests/acl/xml_acl_denied_test.c test_xml->doc = NULL; test_xml 27 lib/common/tests/acl/xml_acl_denied_test.c assert_false(xml_acl_denied(test_xml)); test_xml 29 lib/common/tests/acl/xml_acl_denied_test.c test_xml = NULL; test_xml 30 lib/common/tests/acl/xml_acl_denied_test.c assert_false(xml_acl_denied(test_xml)); test_xml 38 lib/common/tests/acl/xml_acl_denied_test.c xmlNode *test_xml = pcmk__xe_create(NULL, "test_xml"); test_xml 41 lib/common/tests/acl/xml_acl_denied_test.c test_xml->doc->_private = pcmk__assert_alloc(1, sizeof(xml_doc_private_t)); test_xml 43 lib/common/tests/acl/xml_acl_denied_test.c assert_false(xml_acl_denied(test_xml)); test_xml 46 lib/common/tests/acl/xml_acl_denied_test.c docpriv = test_xml->doc->_private; test_xml 51 lib/common/tests/acl/xml_acl_denied_test.c assert_false(xml_acl_denied(test_xml)); test_xml 56 lib/common/tests/acl/xml_acl_denied_test.c assert_true(xml_acl_denied(test_xml)); test_xml 20 lib/common/tests/acl/xml_acl_enabled_test.c xmlNode *test_xml = pcmk__xe_create(NULL, "test_xml"); test_xml 21 lib/common/tests/acl/xml_acl_enabled_test.c assert_false(xml_acl_enabled(test_xml)); test_xml 23 lib/common/tests/acl/xml_acl_enabled_test.c test_xml->doc->_private = NULL; test_xml 24 lib/common/tests/acl/xml_acl_enabled_test.c assert_false(xml_acl_enabled(test_xml)); test_xml 26 lib/common/tests/acl/xml_acl_enabled_test.c test_xml->doc = NULL; test_xml 27 lib/common/tests/acl/xml_acl_enabled_test.c assert_false(xml_acl_enabled(test_xml)); test_xml 29 lib/common/tests/acl/xml_acl_enabled_test.c test_xml = NULL; test_xml 30 lib/common/tests/acl/xml_acl_enabled_test.c assert_false(xml_acl_enabled(test_xml)); test_xml 38 lib/common/tests/acl/xml_acl_enabled_test.c xmlNode *test_xml = pcmk__xe_create(NULL, "test_xml"); test_xml 41 lib/common/tests/acl/xml_acl_enabled_test.c test_xml->doc->_private = pcmk__assert_alloc(1, sizeof(xml_doc_private_t)); test_xml 43 lib/common/tests/acl/xml_acl_enabled_test.c assert_false(xml_acl_enabled(test_xml)); test_xml 46 lib/common/tests/acl/xml_acl_enabled_test.c docpriv = test_xml->doc->_private; test_xml 51 lib/common/tests/acl/xml_acl_enabled_test.c assert_false(xml_acl_enabled(test_xml)); test_xml 56 lib/common/tests/acl/xml_acl_enabled_test.c assert_true(xml_acl_enabled(test_xml)); test_xml 34 lib/common/tests/xml/pcmk__xe_set_score_test.c xmlNode *test_xml = pcmk__xe_create(NULL, "test_xml"); test_xml 36 lib/common/tests/xml/pcmk__xe_set_score_test.c crm_xml_add(test_xml, name, initial); test_xml 37 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_int_equal(pcmk__xe_set_score(test_xml, name, new), reference_rc); test_xml 38 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_string_equal(crm_element_value(test_xml, name), reference_val); test_xml 40 lib/common/tests/xml/pcmk__xe_set_score_test.c free_xml(test_xml); test_xml 67 lib/common/tests/xml/pcmk__xe_set_score_test.c xmlNode *test_xml = pcmk__xe_create(NULL, "test_xml"); test_xml 69 lib/common/tests/xml/pcmk__xe_set_score_test.c crm_xml_add(test_xml, "X", "5"); test_xml 72 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_int_equal(pcmk__xe_set_score(test_xml, NULL, "X++"), EINVAL); test_xml 73 lib/common/tests/xml/pcmk__xe_set_score_test.c assert_string_equal(crm_element_value(test_xml, "X"), "5"); test_xml 75 lib/common/tests/xml/pcmk__xe_set_score_test.c free_xml(test_xml);