aboutsummaryrefslogtreecommitdiffstats
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
parent343e4ed439ba0ccc255460df4fc69e25c4a3f91e (diff)
downloadsequelpro-7bead0b2fc2dc203157988460c4c0a2abd5857a2.tar.gz
sequelpro-7bead0b2fc2dc203157988460c4c0a2abd5857a2.tar.bz2
sequelpro-7bead0b2fc2dc203157988460c4c0a2abd5857a2.zip
Rename test files.
-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
-rw-r--r--sequel-pro.xcodeproj/project.pbxproj24
5 files changed, 26 insertions, 23 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.
diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj
index 9fdeae15..a994fab4 100644
--- a/sequel-pro.xcodeproj/project.pbxproj
+++ b/sequel-pro.xcodeproj/project.pbxproj
@@ -89,7 +89,7 @@
1798F19815501838004B0AB8 /* SPMutableArrayAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 1798F19715501838004B0AB8 /* SPMutableArrayAdditions.m */; };
1798F19B1550185B004B0AB8 /* SPTreeNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 1798F19A1550185B004B0AB8 /* SPTreeNode.m */; };
1798F19E15501892004B0AB8 /* SPFlippedView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1798F19D15501892004B0AB8 /* SPFlippedView.m */; };
- 1798F1C4155018E2004B0AB8 /* SPMutableArrayAdditionsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 1798F1C2155018D4004B0AB8 /* SPMutableArrayAdditionsTest.m */; };
+ 1798F1C4155018E2004B0AB8 /* SPMutableArrayAdditionsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1798F1C2155018D4004B0AB8 /* SPMutableArrayAdditionsTests.m */; };
179ECECA11F265FC009C6A40 /* libbz2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 179ECEC611F265EE009C6A40 /* libbz2.dylib */; };
179F15060F7C433C00579954 /* SPEditorTokens.l in Sources */ = {isa = PBXBuildFile; fileRef = 179F15050F7C433C00579954 /* SPEditorTokens.l */; };
17A20AC6124F9B110095CEFB /* SPServerSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 17A20AC5124F9B110095CEFB /* SPServerSupport.m */; };
@@ -173,7 +173,7 @@
296DC8BF0F9091DF002A3258 /* libicucore.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 296DC8BE0F9091DF002A3258 /* libicucore.dylib */; };
29A1B7E50FD1293A000B88E8 /* SPPrintAccessory.m in Sources */ = {isa = PBXBuildFile; fileRef = 29A1B7E40FD1293A000B88E8 /* SPPrintAccessory.m */; };
29FA88231114619E00D1AF3D /* SPTableTriggers.m in Sources */ = {isa = PBXBuildFile; fileRef = 29FA88221114619E00D1AF3D /* SPTableTriggers.m */; };
- 380F4EF50FC0B68F00B0BFD7 /* SPStringAdditionsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 380F4EF40FC0B68F00B0BFD7 /* SPStringAdditionsTest.m */; };
+ 380F4EF50FC0B68F00B0BFD7 /* SPStringAdditionsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 380F4EF40FC0B68F00B0BFD7 /* SPStringAdditionsTests.m */; };
384582C40FB95FF800DDACB6 /* func-small.png in Resources */ = {isa = PBXBuildFile; fileRef = 384582C30FB95FF800DDACB6 /* func-small.png */; };
384582C70FB9603600DDACB6 /* proc-small.png in Resources */ = {isa = PBXBuildFile; fileRef = 384582C60FB9603600DDACB6 /* proc-small.png */; };
387BBBA80FBCB6CB00B31746 /* SPTableRelations.m in Sources */ = {isa = PBXBuildFile; fileRef = 387BBBA70FBCB6CB00B31746 /* SPTableRelations.m */; };
@@ -721,8 +721,8 @@
1798F19A1550185B004B0AB8 /* SPTreeNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPTreeNode.m; sourceTree = "<group>"; };
1798F19C15501892004B0AB8 /* SPFlippedView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPFlippedView.h; sourceTree = "<group>"; };
1798F19D15501892004B0AB8 /* SPFlippedView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPFlippedView.m; sourceTree = "<group>"; };
- 1798F1C1155018D4004B0AB8 /* SPMutableArrayAdditionsTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPMutableArrayAdditionsTest.h; sourceTree = "<group>"; };
- 1798F1C2155018D4004B0AB8 /* SPMutableArrayAdditionsTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPMutableArrayAdditionsTest.m; sourceTree = "<group>"; };
+ 1798F1C1155018D4004B0AB8 /* SPMutableArrayAdditionsTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPMutableArrayAdditionsTests.h; sourceTree = "<group>"; };
+ 1798F1C2155018D4004B0AB8 /* SPMutableArrayAdditionsTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPMutableArrayAdditionsTests.m; sourceTree = "<group>"; };
179ECEC611F265EE009C6A40 /* libbz2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbz2.dylib; path = usr/lib/libbz2.dylib; sourceTree = SDKROOT; };
179F15040F7C433C00579954 /* SPEditorTokens.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPEditorTokens.h; sourceTree = "<group>"; };
179F15050F7C433C00579954 /* SPEditorTokens.l */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.lex; path = SPEditorTokens.l; sourceTree = "<group>"; };
@@ -889,8 +889,8 @@
2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
380F4ED90FC0B50500B0BFD7 /* Unit Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Unit Tests.octest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 380F4EF30FC0B68F00B0BFD7 /* SPStringAdditionsTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPStringAdditionsTest.h; sourceTree = "<group>"; };
- 380F4EF40FC0B68F00B0BFD7 /* SPStringAdditionsTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPStringAdditionsTest.m; sourceTree = "<group>"; };
+ 380F4EF30FC0B68F00B0BFD7 /* SPStringAdditionsTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPStringAdditionsTests.h; sourceTree = "<group>"; };
+ 380F4EF40FC0B68F00B0BFD7 /* SPStringAdditionsTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPStringAdditionsTests.m; sourceTree = "<group>"; };
384582C30FB95FF800DDACB6 /* func-small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "func-small.png"; sourceTree = "<group>"; };
384582C60FB9603600DDACB6 /* proc-small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "proc-small.png"; sourceTree = "<group>"; };
387BBBA60FBCB6CB00B31746 /* SPTableRelations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPTableRelations.h; sourceTree = "<group>"; };
@@ -1904,12 +1904,12 @@
17DC886A126B378A00E9AAEC /* Category Additions */ = {
isa = PBXGroup;
children = (
- 380F4EF30FC0B68F00B0BFD7 /* SPStringAdditionsTest.h */,
- 380F4EF40FC0B68F00B0BFD7 /* SPStringAdditionsTest.m */,
+ 380F4EF30FC0B68F00B0BFD7 /* SPStringAdditionsTests.h */,
+ 380F4EF40FC0B68F00B0BFD7 /* SPStringAdditionsTests.m */,
1760599D1336199D0098E162 /* SPMenuAdditionsTests.h */,
1760599E1336199D0098E162 /* SPMenuAdditionsTests.m */,
- 1798F1C1155018D4004B0AB8 /* SPMutableArrayAdditionsTest.h */,
- 1798F1C2155018D4004B0AB8 /* SPMutableArrayAdditionsTest.m */,
+ 1798F1C1155018D4004B0AB8 /* SPMutableArrayAdditionsTests.h */,
+ 1798F1C2155018D4004B0AB8 /* SPMutableArrayAdditionsTests.m */,
);
name = "Category Additions";
sourceTree = "<group>";
@@ -3066,9 +3066,9 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 380F4EF50FC0B68F00B0BFD7 /* SPStringAdditionsTest.m in Sources */,
+ 380F4EF50FC0B68F00B0BFD7 /* SPStringAdditionsTests.m in Sources */,
1760599F1336199D0098E162 /* SPMenuAdditionsTests.m in Sources */,
- 1798F1C4155018E2004B0AB8 /* SPMutableArrayAdditionsTest.m in Sources */,
+ 1798F1C4155018E2004B0AB8 /* SPMutableArrayAdditionsTests.m in Sources */,
17DB5F441555CA300046834B /* SPMutableArrayAdditions.m in Sources */,
17DB5F4A1555CA810046834B /* SPMenuAdditions.m in Sources */,
1717F9661557E0450065C036 /* SPStringAdditions.m in Sources */,