see ChangeLog

Monotone-Revision: 9054022ef1ca8aeba6e34842d27d9b94ce002b89

Monotone-Author: dev-unix.inverse.qc.ca
Monotone-Date: 2006-06-15T19:34:10
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
dev-unix.inverse.qc.ca
2006-06-15 19:34:10 +00:00
commit f18c764ffa
965 changed files with 99196 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# $Id$
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = test
test_OBJC_FILES += test1.m
ADDITIONAL_TOOL_LIBS += -lOGoContentStore
ADDITIONAL_LIB_DIRS += -L../../$(GNUSTEP_OBJ_DIR)
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
+3
View File
@@ -0,0 +1,3 @@
// $Id$
#import <Foundation/Foundation.h>
+31
View File
@@ -0,0 +1,31 @@
// $Id$
#include "common.h"
static void testurl(NSString *s) {
NSURL *url;
url = [NSURL URLWithString:s];
NSLog(@"url: %@", url);
NSLog(@" login: %@", [url user]);
NSLog(@" pwd: %@", [url password]);
}
static void test(void) {
testurl(@"http://OGoUser:OGoPwd@localhost/OGo");
testurl(@"postgresql://OGoUser:OGoPwd@localhost/OGo");
}
int main(int argc, char **argv, char **env) {
NSAutoreleasePool *pool;
pool = [[NSAutoreleasePool alloc] init];
#if LIB_FOUNDATION_LIBRARY
[NSProcessInfo initializeWithArguments:argv count:argc environment:env];
#endif
test();
[pool release];
return 0;
}