Public Member Functions | |
TestIrrPtr () | |
const char * | getName () |
void | runTests (IGameDef *gamedef) |
void | testRefCounting () |
void | testSelfAssignment () |
void | testNullHandling () |
Public Member Functions inherited from TestBase | |
bool | testModule (IGameDef *gamedef) |
std::string | getTestTempDirectory () |
std::string | getTestTempFile () |
void | runTest (const char *name, std::function< void()> &&test) |
Additional Inherited Members | |
Public Attributes inherited from TestBase | |
u32 | num_tests_failed |
u32 | num_tests_run |
|
inline |
|
inlinevirtual |
Implements TestBase.
|
virtual |
Implements TestBase.
References TEST, testNullHandling(), testRefCounting(), and testSelfAssignment().
void TestIrrPtr::testNullHandling | ( | ) |
void TestIrrPtr::testRefCounting | ( | ) |
References UASSERT, UASSERT_REFERENCE_COUNT, and UTEST.
Referenced by runTests().
void TestIrrPtr::testSelfAssignment | ( | ) |
References UASSERT, and UASSERT_REFERENCE_COUNT.
Referenced by runTests().