Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
steam::engine::test::anonymous_namespace{tracking-heap-block-provider-test.cpp} Namespace Reference

Functions

std::vector< uinttestNumbers (MAX_ELMS)
 
bool has_expectedContent (uint nr, diagn::Block &memoryBlock)
 
bool verifyUsedBlock (uint nr, diagn::Block &memoryBlock)
 

Variables

const size_t TEST_ELM_SIZE = sizeof(uint)
 
const uint MAX_ELMS = 50
 

Function Documentation

◆ testNumbers()

std::vector< uint > testNumbers ( MAX_ELMS  )

References testNumbers().

Referenced by has_expectedContent(), and testNumbers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_expectedContent()

bool has_expectedContent ( uint  nr,
diagn::Block memoryBlock 
)

Definition at line 43 of file tracking-heap-block-provider-test.cpp.

References Block::accessMemory(), has_expectedContent(), and testNumbers().

Referenced by has_expectedContent(), and verifyUsedBlock().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ verifyUsedBlock()

bool verifyUsedBlock ( uint  nr,
diagn::Block memoryBlock 
)

Definition at line 52 of file tracking-heap-block-provider-test.cpp.

References has_expectedContent(), verifyUsedBlock(), Block::was_closed(), and Block::was_used().

Referenced by verifyUsedBlock().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ TEST_ELM_SIZE

const size_t TEST_ELM_SIZE = sizeof(uint)

Definition at line 36 of file tracking-heap-block-provider-test.cpp.

◆ MAX_ELMS

const uint MAX_ELMS = 50

Definition at line 37 of file tracking-heap-block-provider-test.cpp.