76
76
#define OCMProtocolMock _PFOCMockWarning _PFProtocolMock
77
77
#define OCMPartialMock _PFOCMockWarning _PFPartialMock
78
78
79
- #define GHFail XCTFail
80
- #define GHAssertTrue XCTAssertTrue
81
- #define GHAssertFalse XCTAssertFalse
82
- #define GHAssertNil XCTAssertNil
83
- #define GHAssertNotNil XCTAssertNotNil
84
- #define GHAssertEquals XCTAssertEqual
85
- #define GHAssertNotEquals XCTAssertNotEqual
86
- #define GHAssertEqualStrings XCTAssertEqualObjects
87
- #define GHAssertNotEqualStrings XCTAssertNotEqualObjects
88
- #define GHAssertEqualObjects XCTAssertEqualObjects
89
- #define GHAssertNotEqualObjects XCTAssertNotEqualObjects
90
- #define GHAssertEqualsWithAccuracy XCTAssertEqualWithAccuracy
91
- #define GHAssertThrows XCTAssertThrows
92
- #define GHAssertThrowsSpecificNamed XCTAssertThrowsSpecificNamed
93
- #define GHAssertNoThrow XCTAssertNoThrow
94
-
95
79
#define PFAssertEqualInts (a1, a2, description... ) \
96
80
XCTAssertEqual ((int )(a1), (int )(a2), ## description);
97
81
@@ -105,9 +89,9 @@ XCTAssertTrue([a1 isKindOfClass:[a2 class]], ## description)
105
89
XCTAssertFalse ([a1 isKindOfClass: [a2 class ]], ## description)
106
90
107
91
#define PFAssertThrowsInconsistencyException (expression, ...) \
108
- GHAssertThrowsSpecificNamed (expression, NSException , NSInternalInconsistencyException , __VA_ARGS__)
92
+ XCTAssertThrowsSpecificNamed (expression, NSException , NSInternalInconsistencyException , __VA_ARGS__)
109
93
110
94
#define PFAssertThrowsInvalidArgumentException (expression, ...) \
111
- GHAssertThrowsSpecificNamed (expression, NSException , NSInvalidArgumentException , __VA_ARGS__)
95
+ XCTAssertThrowsSpecificNamed (expression, NSException , NSInvalidArgumentException , __VA_ARGS__)
112
96
113
97
#define PFAssertStringContains (a, b ) XCTAssertTrue([(a) rangeOfString: (b)].location != NSNotFound )
0 commit comments