template <typename TestEnvTraits>
class TestEnvironmentBase
Defined at line 28 of file ../../zircon/system/ulib/fbl/test/include/fbl/tests/intrusive_containers/base_test_environments.h
TestEnvironmentBase
<
>
The base class for all tests environments. TestEnvironmentBase handles
creating and tracking raw pointers to test objects so they can be cleaned up
without leaking, even while testing unmanaged pointer types.
TestEnvironmentBase is also where the default container storage lives.
Protected Members
ContainerType container_
ObjType *[17] objects_
size_t refs_held_
static const size_t OBJ_COUNT
Protected Methods
PtrType CreateTrackedObject (size_t ndx, size_t value, bool ref_held)
Defined at line 36 of file ../../zircon/system/ulib/fbl/test/include/fbl/tests/intrusive_containers/base_test_environments.h