#35 More work on unit tests

This commit is contained in:
Pierre-Olivier Latour
2014-04-11 22:25:03 -07:00
parent c062d9d6d3
commit a28ac82ba2
722 changed files with 8890 additions and 96 deletions
+2
View File
@@ -85,6 +85,8 @@ NSDate* GCDWebServerParseISO8601(NSString* string);
#if !TARGET_OS_IPHONE
@property(nonatomic, getter=isRecordingEnabled) BOOL recordingEnabled; // Creates files in the current directory containing the raw data for all requests and responses (directory most NOT contain prior recordings)
- (BOOL)runWithPort:(NSUInteger)port; // Starts then automatically stops on SIGINT i.e. Ctrl-C (use on main thread only)
#endif
#ifdef __GCDWEBSERVER_ENABLE_TESTING__
- (NSInteger)runTestsInDirectory:(NSString*)path withPort:(NSUInteger)port; // Returns number of failed tests or -1 if server failed to start
#endif
@end