FKeyboardTest fixes

This commit is contained in:
Markus Gans 2018-07-23 02:23:10 +02:00
parent 885993c3bd
commit 5a77460e63
1 changed files with 8 additions and 0 deletions

View File

@ -227,6 +227,7 @@ class FKeyboardTest : public CPPUNIT_NS::TestFixture
{ {
public: public:
FKeyboardTest(); FKeyboardTest();
~FKeyboardTest();
protected: protected:
void classNameTest(); void classNameTest();
@ -260,6 +261,7 @@ class FKeyboardTest : public CPPUNIT_NS::TestFixture
}; };
#pragma pack(pop) #pragma pack(pop)
//----------------------------------------------------------------------
FKeyboardTest::FKeyboardTest() FKeyboardTest::FKeyboardTest()
: key_pressed(0) : key_pressed(0)
, key_released(0) , key_released(0)
@ -268,6 +270,12 @@ FKeyboardTest::FKeyboardTest()
init(); init();
} }
//----------------------------------------------------------------------
FKeyboardTest::~FKeyboardTest()
{
delete keyboard;
}
//---------------------------------------------------------------------- //----------------------------------------------------------------------
void FKeyboardTest::classNameTest() void FKeyboardTest::classNameTest()
{ {