pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros
pcmk__unpack_duration_test.c File Reference
#include <crm_internal.h>
#include <glib.h>
#include <crm/common/unittest_internal.h>
#include <crm/common/iso8601.h>
#include <crm/common/xml.h>
#include "../../crmcommon_private.h"
Include dependency graph for pcmk__unpack_duration_test.c:

Go to the source code of this file.

Macros

#define MONTHS_TO_SECONDS
 
#define ALL_VALID   "<duration id=\"duration1\" years=\"1\" " MONTHS_TO_SECONDS
 
#define NO_ID   "<duration years=\"1\" " MONTHS_TO_SECONDS
 
#define YEARS_INVALID
 

Macro Definition Documentation

◆ ALL_VALID

#define ALL_VALID   "<duration id=\"duration1\" years=\"1\" " MONTHS_TO_SECONDS

Definition at line 23 of file pcmk__unpack_duration_test.c.

◆ MONTHS_TO_SECONDS

#define MONTHS_TO_SECONDS
Value:
"months=\"2\" weeks=\"3\" days=\"-1\" " \
"hours=\"1\" minutes=\"1\" seconds=\"1\" />"

Definition at line 20 of file pcmk__unpack_duration_test.c.

◆ NO_ID

#define NO_ID   "<duration years=\"1\" " MONTHS_TO_SECONDS

Definition at line 25 of file pcmk__unpack_duration_test.c.

◆ YEARS_INVALID

#define YEARS_INVALID
Value:
"<duration id=\"duration1\" years=\"not-a-number\" " \
MONTHS_TO_SECONDS

Definition at line 27 of file pcmk__unpack_duration_test.c.