aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-08 14:40:57 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-08 14:40:57 +0000
commit7bead0b2fc2dc203157988460c4c0a2abd5857a2 (patch)
tree10bb64793faebcc649f74bd9cc21bef6838c4b3b /UnitTests
parent343e4ed439ba0ccc255460df4fc69e25c4a3f91e (diff)
downloadsequelpro-7bead0b2fc2dc203157988460c4c0a2abd5857a2.tar.gz
sequelpro-7bead0b2fc2dc203157988460c4c0a2abd5857a2.tar.bz2
sequelpro-7bead0b2fc2dc203157988460c4c0a2abd5857a2.zip
Rename test files.
Diffstat (limited to 'UnitTests')
-rw-r--r--UnitTests/SPMutableArrayAdditionsTests.h (renamed from UnitTests/SPMutableArrayAdditionsTest.h)4
-rw-r--r--UnitTests/SPMutableArrayAdditionsTests.m (renamed from UnitTests/SPMutableArrayAdditionsTest.m)11
-rw-r--r--UnitTests/SPStringAdditionsTests.h (renamed from UnitTests/SPStringAdditionsTest.h)4
-rw-r--r--UnitTests/SPStringAdditionsTests.m (renamed from UnitTests/SPStringAdditionsTest.m)6
4 files changed, 14 insertions, 11 deletions
diff --git a/UnitTests/SPMutableArrayAdditionsTest.h b/UnitTests/SPMutableArrayAdditionsTests.h
index a7665a27..bb94a734 100644
--- a/UnitTests/SPMutableArrayAdditionsTest.h
+++ b/UnitTests/SPMutableArrayAdditionsTests.h
@@ -1,7 +1,7 @@
//
// $Id$
//
-// SPMutableArrayAdditionsTest.h
+// SPMutableArrayAdditionsTests.h
// sequel-pro
//
// Created by Stuart Connolly (stuconnolly.com) on February 2, 2011
@@ -32,6 +32,6 @@
*
* SPMutableArrayAdditions tests class.
*/
-@interface SPMutableArrayAdditionsTest : SenTestCase
+@interface SPMutableArrayAdditionsTests : SenTestCase
@end
diff --git a/UnitTests/SPMutableArrayAdditionsTest.m b/UnitTests/SPMutableArrayAdditionsTests.m
index 4f265b34..50ac0a90 100644
--- a/UnitTests/SPMutableArrayAdditionsTest.m
+++ b/UnitTests/SPMutableArrayAdditionsTests.m
@@ -1,7 +1,7 @@
//
// $Id$
//
-// SPMutableArrayAdditionsTest.m
+// SPMutableArrayAdditionsTests.m
// sequel-pro
//
// Created by Stuart Connolly (stuconnolly.com) on February 2, 2011
@@ -23,11 +23,14 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-#import "SPMutableArrayAdditionsTest.h"
+#import "SPMutableArrayAdditionsTests.h"
#import "SPMutableArrayAdditions.h"
-@implementation SPMutableArrayAdditionsTest
+@implementation SPMutableArrayAdditionsTests
+/**
+ * reverse test case.
+ */
- (void)testReverse
{
NSMutableArray *testArray = [NSMutableArray arrayWithObjects:@"1", @"2", @"3", @"4", @"5", nil];
@@ -35,7 +38,7 @@
[testArray reverse];
- STAssertEqualObjects(testArray, expectedArray, @"The reversed array should look like: %@", expectedArray);
+ STAssertEqualObjects(testArray, expectedArray, @"The reversed array should look like: %@, but actually looks like: %@", expectedArray, testArray);
}
@end
diff --git a/UnitTests/SPStringAdditionsTest.h b/UnitTests/SPStringAdditionsTests.h
index 9599b9a6..1524e350 100644
--- a/UnitTests/SPStringAdditionsTest.h
+++ b/UnitTests/SPStringAdditionsTests.h
@@ -1,7 +1,7 @@
//
// $Id$
//
-// SPStringAdditionsTest.h
+// SPStringAdditionsTests.h
// sequel-pro
//
// Created by J Knight on 17/05/09.
@@ -25,7 +25,7 @@
#import <SenTestingKit/SenTestingKit.h>
-@interface SPStringAdditionsTest : SenTestCase
+@interface SPStringAdditionsTests : SenTestCase
- (void)testStringByRemovingCharactersInSet;
- (void)testStringWithNewUUID;
diff --git a/UnitTests/SPStringAdditionsTest.m b/UnitTests/SPStringAdditionsTests.m
index 2d0cb0fb..2c2b2f25 100644
--- a/UnitTests/SPStringAdditionsTest.m
+++ b/UnitTests/SPStringAdditionsTests.m
@@ -1,7 +1,7 @@
//
// $Id$
//
-// SPStringAdditionsTest.m
+// SPStringAdditionsTests.m
// sequel-pro
//
// Created by J Knight on 17/05/09.
@@ -23,11 +23,11 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-#import "SPStringAdditionsTest.h"
+#import "SPStringAdditionsTests.h"
#import "SPStringAdditions.h"
#import "RegexKitLite.h"
-@implementation SPStringAdditionsTest
+@implementation SPStringAdditionsTests
/**
* stringByRemovingCharactersInSet test case.