Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
sorcery_test_caching Struct Reference

Test structure for caching. More...

Collaboration diagram for sorcery_test_caching:
Collaboration graph
[legend]

Data Fields

unsigned int created:1
 Whether the object has been created in the cache or not. More...
 
unsigned int deleted:1
 Whether the object has been deleted from the cache or not. More...
 
unsigned int is_stale:1
 Whether the object is stale or not. More...
 
struct test_sorcery_object object
 Object to return when asked. More...
 
unsigned int updated:1
 Whether the object has been updated in the cache or not. More...
 

Detailed Description

Test structure for caching.

Definition at line 129 of file test_sorcery.c.

Field Documentation

◆ created

unsigned int created

Whether the object has been created in the cache or not.

Definition at line 131 of file test_sorcery.c.

Referenced by AST_TEST_DEFINE(), sorcery_test_create(), and sorcery_test_retrieve_id().

◆ deleted

unsigned int deleted

Whether the object has been deleted from the cache or not.

Definition at line 137 of file test_sorcery.c.

Referenced by AST_TEST_DEFINE(), sorcery_test_create(), sorcery_test_delete(), and sorcery_test_retrieve_id().

◆ is_stale

unsigned int is_stale

Whether the object is stale or not.

Definition at line 140 of file test_sorcery.c.

Referenced by AST_TEST_DEFINE(), and sorcery_test_is_stale().

◆ object

struct test_sorcery_object object

Object to return when asked.

Definition at line 143 of file test_sorcery.c.

◆ updated

unsigned int updated

Whether the object has been updated in the cache or not.

Definition at line 134 of file test_sorcery.c.

Referenced by AST_TEST_DEFINE(), sorcery_test_create(), and sorcery_test_update().


The documentation for this struct was generated from the following file: