This source file includes following definitions.
- buffer_scheme_test
- schemas_initialized
1
2
3
4
5
6
7
8
9
10 #include <crm_internal.h>
11
12 #include <crm/common/unittest_internal.h>
13
14 #include "crmcommon_private.h"
15
16 static void
17 buffer_scheme_test(void **state)
18 {
19 assert_int_equal(XML_BUFFER_ALLOC_DOUBLEIT, xmlGetBufferAllocationScheme());
20 }
21
22 static void
23 schemas_initialized(void **state)
24 {
25 assert_non_null(pcmk__find_x_0_schema());
26 }
27
28
29 PCMK__UNIT_TEST(pcmk__xml_test_setup_group, pcmk__xml_test_teardown_group,
30 cmocka_unit_test(buffer_scheme_test),
31 cmocka_unit_test(schemas_initialized))