IAggregatePoolTester

Agrregate pool tester base class. Tests all methods of IAggregatePool. Derived from the free list tester (as an IAggregatePool is an IFreeList).

version(unittest)
abstract
class IAggregatePoolTester : FreeListTester!(ItemType_!(T))(
T
) {}

Constructors

this
this(Pool pool)

Constructor.

Members

Functions

lengthCheck
void lengthCheck(size_t expected_busy, size_t expected_idle)

Checks that the contents of the pool match the expected values.

test
void test()

Unittest for internal pool. Runs the IFreeList test, then a series of additional tests to check the features of the IAggregatePool.

Parameters

T

type of item stored in pool

Meta