Commits

Tuukka Norri  committed 7e1a598

Unit tests
- Added a missing test.
- Fixed another test.

  • Participants
  • Parent commits 854133a

Comments (0)

Files changed (2)

File UnitTests/Sources/BXDelegateProxyTests.m

 
 - (void) test1
 {
+	[[mDelegateImpl expect] respondsToSelector: @selector (nonretainedObjectValue)];
 	[[mDelegateImpl expect] nonretainedObjectValue];
 	[mDelegateProxy nonretainedObjectValue];
 	[mDelegateImpl verify];
 
 - (void) test2
 {
+	[[mDelegateImpl expect] respondsToSelector: @selector (stringValue)];
 	[[mDefaultImpl expect] stringValue];
 	[mDelegateProxy stringValue];
 	[mDelegateImpl verify];

File UnitTests/Sources/TestLoader.m

 
 #import "ConnectTest.h"
 #import "BXSSLConnectionTests.h"
+#import "BXMetadataTests.h"
 #import "BXDataModelTests.h"
 #import "BXSQLTests.h"
 #import "BXDatabaseObjectTests.h"
 							
 							[ConnectTest class],
 							[BXSSLConnectionTests class],
+							[BXMetadataTests class],
 							[BXDataModelTests class],
 							[BXSQLTests class],
 							[BXDatabaseObjectTests class],
 							[ToOneChangeNotificationTests class],
 							nil];
 	
-	//testClasses = [NSArray arrayWithObject: [ConnectTest class]];
+	//testClasses = [NSArray arrayWithObject: [PGTSHOMTests class]];
 	
 	for (Class testCaseClass in testClasses)
 	{