Update of /cvsroot/pgsqlformac/pgCocoaDB/UnitTest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv819/UnitTest
Modified Files:
pgCocoaDBSchemaTest.m
Log Message:
Fix bug explorer not showing and PGCocoa.h being pulled into query tool.
Index: pgCocoaDBSchemaTest.m
===================================================================
RCS file: /cvsroot/pgsqlformac/pgCocoaDB/UnitTest/pgCocoaDBSchemaTest.m,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** pgCocoaDBSchemaTest.m 1 Sep 2006 00:53:35 -0000 1.18
--- pgCocoaDBSchemaTest.m 14 Sep 2006 12:26:46 -0000 1.19
***************
*** 21,25 ****
NSString* const PGCocoaTestPassword = @"";
NSString* const PGCocoaTestHost = @"localhost";
! NSString* const PGCocoaTestPort = @"5432";
// Uncomment the following line to automatically drop and recreate the test database.
--- 21,25 ----
NSString* const PGCocoaTestPassword = @"";
NSString* const PGCocoaTestHost = @"localhost";
! NSString* const PGCocoaTestPort = @"5433";
// Uncomment the following line to automatically drop and recreate the test database.
***************
*** 973,980 ****
{
ExplorerModel *explorer =[[ExplorerModel alloc] initWithConnectionString: [conn makeConnectionString]];
- //ExplorerModel *explorer = [[ExplorerModel alloc] initWithConnection:conn];
[explorer buildSchema:nil];
! [explorer printLog];
[explorer autorelease];
}
--- 973,981 ----
{
ExplorerModel *explorer =[[ExplorerModel alloc] initWithConnectionString: [conn makeConnectionString]];
[explorer buildSchema:nil];
+ NSLog(@"Explorer Build Complete");
! BOOL results = [explorer printLog];
! STAssertTrue(results == YES, @"Tried to Print Log when Thread not complete.");
[explorer autorelease];
}
|