aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests
diff options
context:
space:
mode:
Diffstat (limited to 'UnitTests')
-rw-r--r--UnitTests/mcpKitTest.h9
-rw-r--r--UnitTests/mcpKitTest.m5
-rw-r--r--UnitTests/stringCategoryAdditionsTest.h5
-rw-r--r--UnitTests/stringCategoryAdditionsTest.m1
4 files changed, 7 insertions, 13 deletions
diff --git a/UnitTests/mcpKitTest.h b/UnitTests/mcpKitTest.h
index f2cdea92..8e5fd508 100644
--- a/UnitTests/mcpKitTest.h
+++ b/UnitTests/mcpKitTest.h
@@ -23,12 +23,11 @@
//
#import <SenTestingKit/SenTestingKit.h>
-#import "CMMCPConnection.h"
-#import "CMMCPResult.h"
+#import <MCPKit/MCPKit.h>
-@interface mcpKitTest : SenTestCase {
-
- CMMCPConnection *mySQLConnection;
+@interface mcpKitTest : SenTestCase
+{
+ MCPConnection *mySQLConnection;
}
@end
diff --git a/UnitTests/mcpKitTest.m b/UnitTests/mcpKitTest.m
index 35385b9a..8af68c64 100644
--- a/UnitTests/mcpKitTest.m
+++ b/UnitTests/mcpKitTest.m
@@ -24,7 +24,6 @@
#import "mcpKitTest.h"
-
@implementation mcpKitTest
- (void)setUp
@@ -35,7 +34,7 @@
// set up a user called 'sakila' with no password that has all privs on the
// database 'sakila'
- mySQLConnection = [[CMMCPConnection alloc] initToSocket:@"/var/mysql/mysql.sock"
+ mySQLConnection = [[MCPConnection alloc] initToSocket:@"/var/mysql/mysql.sock"
withLogin:@"sakila"
password:@""];
@@ -75,7 +74,7 @@
if( mySQLConnection == nil )
return;
- CMMCPResult *theResult;
+ MCPResult *theResult;
NSString *pQuery = @"SELECT * FROM actor";
theResult = [mySQLConnection queryString:pQuery];
diff --git a/UnitTests/stringCategoryAdditionsTest.h b/UnitTests/stringCategoryAdditionsTest.h
index a89f78bb..2fc611be 100644
--- a/UnitTests/stringCategoryAdditionsTest.h
+++ b/UnitTests/stringCategoryAdditionsTest.h
@@ -24,9 +24,6 @@
#import <SenTestingKit/SenTestingKit.h>
-
-@interface stringCategoryAdditionsTest : SenTestCase {
-
-}
+@interface stringCategoryAdditionsTest : SenTestCase
@end
diff --git a/UnitTests/stringCategoryAdditionsTest.m b/UnitTests/stringCategoryAdditionsTest.m
index 68b27ff7..cff13ac9 100644
--- a/UnitTests/stringCategoryAdditionsTest.m
+++ b/UnitTests/stringCategoryAdditionsTest.m
@@ -22,7 +22,6 @@
// More info at <http://code.google.com/p/sequel-pro/>
//
-
#import "stringCategoryAdditionsTest.h"
#import "SPStringAdditions.h"