[Gtab-cvs] src/tests testdc.cpp,1.8,1.9 testparse.cpp,1.3,1.4
Status: Alpha
Brought to you by:
m0ta
|
From: Seavan <se...@us...> - 2006-02-28 07:15:28
|
Update of /cvsroot/gtab/src/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4121/tests Modified Files: testdc.cpp testparse.cpp Log Message: * memory leaks workaround Index: testparse.cpp =================================================================== RCS file: /cvsroot/gtab/src/tests/testparse.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** testparse.cpp 26 Feb 2006 12:13:44 -0000 1.3 --- testparse.cpp 28 Feb 2006 07:15:25 -0000 1.4 *************** *** 1,3 **** --- 1,15 ---- + // PCH file + // PCH file #include "stdafx.h" + // Memory leak detection + #ifdef _DEBUG + #define new DEBUG_NEW + #endif + // -- memory leak detection + // Memory leak detection + #ifdef _DEBUG + #define new DEBUG_NEW + #endif + // -- memory leak detection #include <iostream> #include <string> Index: testdc.cpp =================================================================== RCS file: /cvsroot/gtab/src/tests/testdc.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** testdc.cpp 26 Feb 2006 12:13:44 -0000 1.8 --- testdc.cpp 28 Feb 2006 07:15:25 -0000 1.9 *************** *** 1,3 **** --- 1,9 ---- + // PCH file #include "stdafx.h" + // Memory leak detection + #ifdef _DEBUG + #define new DEBUG_NEW + #endif + // -- memory leak detection #include "easyunit/test.h" #include "../datacontainer.h" |