Isolated all testing code with __GCDWEBSERVER_ENABLE_TESTING__

This commit is contained in:
Pierre-Olivier Latour
2014-04-15 16:28:42 -03:00
parent a55781e2c1
commit 016153f900
4 changed files with 207 additions and 198 deletions

View File

@ -39,6 +39,10 @@
#import "GCDWebUploader.h"
#ifndef __GCDWEBSERVER_ENABLE_TESTING__
#error __GCDWEBSERVER_ENABLE_TESTING__ must be defined
#endif
typedef enum {
kMode_WebServer = 0,
kMode_HTMLPage,