forked from Xcode-Snippets/Objective-C
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Xcode-Snippets#28 from shadyproject/feature/xct-sn…
…ippets XCTest Snippets
- Loading branch information
Showing
5 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// XCT Assert Equals | ||
// Assert equals for XCTest | ||
// | ||
// Platform: All | ||
// Language: Objective-C | ||
// Completion Scope: Function or Method | ||
|
||
XCTAssertEqual(<#expected#>, <#actual#>, <#message#>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// XCT Assert False | ||
// Assert false for XCTest | ||
// | ||
// Platform: All | ||
// Language: Objective-C | ||
// Completion Scope: Function or Method | ||
|
||
XCTAssertFalse(<#expression#>, <#message#>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// XCT Assert Nil | ||
// Assert for XCTest | ||
// | ||
// Platform: All | ||
// Language: Objective-C | ||
// Completion Scope: Function or Method | ||
|
||
XCTAssertNil(<#expression#>, <#message#>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// XCT Assert Not Nil | ||
// Assert not nil for XCTest | ||
// | ||
// Platform: All | ||
// Language: Objective-C | ||
// Completion Scope: Function or Method | ||
|
||
XCTAssertNotNil(<#expression#>, <#message#>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// XCT Assert True | ||
// Assert true for XCTest | ||
// | ||
// Platform: All | ||
// Language: Objective-C | ||
// Completion Scope: Function or Method | ||
|
||
XCTAssertTrue(<#expression#>, <#message#>); |