axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Susantha Kumara" <susan...@opensource.lk>
Subject using a compiler directive to wrap unit testing related code
Date Thu, 06 May 2004 03:29:30 GMT
Hi all,
 
I would suggest that we wrap all unit testing related code with a
compiler directive so that we can omit them in a release build. These
the methods with "ForTesting" appended. Ex:
 
int initializeForTesting();
 
Let wrap them using a compiler directive: ie,
 
#ifdef AXIS_UNIT_TESTING_ENABLED
 int initializeForTesting();
#endif
 
---
Susantha.
 
 

Mime
View raw message