pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
pcmk__xe_next_test.c File Reference
Include dependency graph for pcmk__xe_next_test.c:

Go to the source code of this file.

Macros

#define XML_NO_SIBLINGS
 
#define XML_SIBLINGS
 

Functions

 PCMK__UNIT_TEST (pcmk__xml_test_setup_group, pcmk__xml_test_teardown_group, cmocka_unit_test(null_xml), cmocka_unit_test(no_siblings), cmocka_unit_test(with_siblings))
 

Macro Definition Documentation

◆ XML_NO_SIBLINGS

#define XML_NO_SIBLINGS
Value:
"<xml>\n" \
" <!-- comment -->" \
" <foo id='child1'>text</foo>" \
" <!-- another comment -->" \
"</xml>"

Definition at line 24 of file pcmk__xe_next_test.c.

◆ XML_SIBLINGS

#define XML_SIBLINGS
Value:
"<xml>\n" \
" <!-- comment -->" \
" <foo id='child1'>text</foo>" \
" <!-- another comment -->" \
" <bar id='child2'>text</bar>" \
" <!-- yet another comment -->" \
" <foo id='child3'>text</foo>" \
"</xml>"

Definition at line 49 of file pcmk__xe_next_test.c.

Function Documentation

◆ PCMK__UNIT_TEST()

PCMK__UNIT_TEST ( pcmk__xml_test_setup_group ,
pcmk__xml_test_teardown_group ,
cmocka_unit_test(null_xml) ,
cmocka_unit_test(no_siblings) ,
cmocka_unit_test(with_siblings)  )