22 create_document_node(
void **state) {
27 assert_int_equal(doc->type, XML_DOCUMENT_NODE);
29 docpriv = doc->_private;
30 assert_non_null(docpriv);
32 assert_true(pcmk_all_flags_set(docpriv->
flags,
39 cmocka_unit_test(create_document_node))
#define PCMK__XML_DOC_PRIVATE_MAGIC
#define PCMK__UNIT_TEST(group_setup, group_teardown,...)
G_GNUC_INTERNAL xmlDoc * pcmk__xml_new_doc(void)
int pcmk__xml_test_setup_group(void **state)
int pcmk__xml_test_teardown_group(void **state)
void pcmk__xml_free_doc(xmlDoc *doc)