Testing: DeallocateTokens after each test

This commit is contained in:
Daniel Marjamäki 2008-11-03 07:54:59 +00:00
parent 375801f51e
commit de3c6f9c1b
7 changed files with 14 additions and 0 deletions

View File

@ -52,6 +52,8 @@ private:
// Check for memory leaks.. // Check for memory leaks..
ShowAll = true; ShowAll = true;
CheckBufferOverrun(); CheckBufferOverrun();
DeallocateTokens();
} }
void run() void run()

View File

@ -57,6 +57,8 @@ private:
// Check for memory leaks.. // Check for memory leaks..
ShowAll = true; ShowAll = true;
CheckCharVariable(); CheckCharVariable();
DeallocateTokens();
} }
void array_index() void array_index()

View File

@ -46,6 +46,8 @@ private:
// Check for memory leaks.. // Check for memory leaks..
CheckConstructors(); CheckConstructors();
DeallocateTokens();
} }
void run() void run()

View File

@ -51,6 +51,8 @@ private:
// Check for memory leaks.. // Check for memory leaks..
ShowAll = true; ShowAll = true;
CheckUnsignedDivision(); CheckUnsignedDivision();
DeallocateTokens();
} }
void run() void run()

View File

@ -49,6 +49,8 @@ private:
// Check for memory leaks.. // Check for memory leaks..
ShowAll = false; ShowAll = false;
CheckMemoryLeak(); CheckMemoryLeak();
DeallocateTokens();
} }
void run() void run()

View File

@ -48,6 +48,8 @@ private:
// Check for unused variables.. // Check for unused variables..
CheckIncompleteStatement(); CheckIncompleteStatement();
DeallocateTokens();
} }
void run() void run()

View File

@ -48,6 +48,8 @@ private:
// Check for unused variables.. // Check for unused variables..
CheckStructMemberUsage(); CheckStructMemberUsage();
DeallocateTokens();
} }
void run() void run()