C/C++ API Reference
Loading...
Searching...
No Matches
Configuration

Oveview

Macros

#define PW_UNIT_TEST_CONFIG_EVENT_BUFFER_SIZE   128
 
#define PW_UNIT_TEST_CONFIG_MEMORY_POOL_SIZE   16384
 
#define PW_UNIT_TEST_CONFIG_EXPECTATION_BUFFER_SIZE    (sizeof(void*) > 4 ? 512 : 192)
 

Macro Definition Documentation

◆ PW_UNIT_TEST_CONFIG_EVENT_BUFFER_SIZE

#define PW_UNIT_TEST_CONFIG_EVENT_BUFFER_SIZE   128

The size of the event buffer that the UnitTestThread contains. This buffer is used to encode events. By default this is set to 128 bytes.

◆ PW_UNIT_TEST_CONFIG_EXPECTATION_BUFFER_SIZE

#define PW_UNIT_TEST_CONFIG_EXPECTATION_BUFFER_SIZE    (sizeof(void*) > 4 ? 512 : 192)

Size of the buffer into which to write the string with the evaluated version of the arguments. This buffer is allocated on the unit test's stack, so it shouldn't be too large.

◆ PW_UNIT_TEST_CONFIG_MEMORY_POOL_SIZE

#define PW_UNIT_TEST_CONFIG_MEMORY_POOL_SIZE   16384

The size of the memory pool to use for test fixture instances. By default this is set to 16K.