pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Macros
pcmk__xe_get_datetime_test.c File Reference
#include <crm_internal.h>
#include <errno.h>
#include <libxml/tree.h>
#include <crm/common/unittest_internal.h>
#include <crm/common/iso8601.h>
#include <crm/common/xml.h>
#include <crm/common/nvpair_internal.h>
Include dependency graph for pcmk__xe_get_datetime_test.c:

Go to the source code of this file.

Macros

#define REFERENCE_ISO8601   "2024-001"
 
#define ATTR_PRESENT   "start"
 
#define ATTR_MISSING   "end"
 
#define REFERENCE_XML
 
#define BAD_XML
 

Macro Definition Documentation

◆ ATTR_MISSING

#define ATTR_MISSING   "end"

Definition at line 23 of file pcmk__xe_get_datetime_test.c.

◆ ATTR_PRESENT

#define ATTR_PRESENT   "start"

Definition at line 22 of file pcmk__xe_get_datetime_test.c.

◆ BAD_XML

#define BAD_XML
Value:
"<date_expression id=\"id1\" " \
ATTR_PRESENT "=\"not_a_time\"" \
" operation=\"gt\">"

Definition at line 27 of file pcmk__xe_get_datetime_test.c.

◆ REFERENCE_ISO8601

#define REFERENCE_ISO8601   "2024-001"

Definition at line 21 of file pcmk__xe_get_datetime_test.c.

◆ REFERENCE_XML

#define REFERENCE_XML
Value:
"<date_expression id=\"id1\" " \
ATTR_PRESENT "=\"" REFERENCE_ISO8601 "\"" \
" operation=\"gt\">"
#define REFERENCE_ISO8601

Definition at line 24 of file pcmk__xe_get_datetime_test.c.