Permalink
Browse files

Added OCMockito and OCHamcrest to pod file and project.

  • Loading branch information...
1 parent f7cb7fe commit b72b617448f838d8ae240419f3d012c543c715d3 @tomaz committed Nov 12, 2012
Showing 304 changed files with 15,337 additions and 1,523 deletions.
@@ -8,10 +8,28 @@
#import <SenTestingKit/SenTestingKit.h>
#import <OCMock/OCMock.h>
+
+
+#pragma mark - OCMockito
+
+#define HC_SHORTHAND
+#import <OCHamcrest/OCHamcrest.h>
+
+#define MOCKITO_SHORTHAND
+#import <OCMockito/OCMockito.h>
+
+#ifdef given
+# undef given
+# define given(methodCall) MKTGivenWithLocation([SpecHelper specHelper], __FILE__, __LINE__, methodCall)
+#endif
+
+
+#pragma mark - Cedar
+
#import <Cedar/SpecHelper.h>
using namespace Cedar::Matchers;
-#import "Objects+TestingPrivateAPI.h"
+#define gbcatch(code) ^{ code; } should_not raise_exception()
#define TEST_BEGIN(name) \
SPEC_BEGIN(name) \
@@ -20,3 +38,8 @@ using namespace Cedar::Matchers;
#define TEST_END \
}); \
SPEC_END
+
+
+#pragma mark - Appledoc
+
+#import "Objects+TestingPrivateAPI.h"
View
@@ -72,6 +72,8 @@ target :AppledocTests do
}
end
+ pod 'OCMockito', '0.22'
+ pod 'OCHamcrest', '1.8'
pod do |s|
s.name = 'OCMock'
View
@@ -3,7 +3,9 @@ DEPENDENCIES:
- Cedar (defined in Podfile)
- DDCli (defined in Podfile)
- GBCli (defined in Podfile)
+- OCHamcrest (= 1.8)
- OCMock (defined in Podfile)
+- OCMockito (= 0.22)
- ParseKit (defined in Podfile)
- sundown (defined in Podfile)
@@ -13,6 +15,13 @@ PODS:
- Cedar (0.8.1)
- DDCli (1.0)
- GBCli (1.0)
+- OCHamcrest (1.8)
- OCMock (2.0.2)
+- OCMockito (0.22):
+ - OCHamcrest (~> 1.7)
- ParseKit (0.0.2)
- sundown (1.0)
+
+SPEC CHECKSUMS:
+ OCMockito: 2074647e72d9525d6569dfc272d4fe16797a044f
+ OCHamcrest: 75258b3746b118ed9de96a6a8d985546f32e0f9b
Oops, something went wrong.

0 comments on commit b72b617

Please sign in to comment.