Skip to content

Commit

Permalink
Merge pull request Xcode-Snippets#28 from shadyproject/feature/xct-sn…
Browse files Browse the repository at this point in the history
…ippets

XCTest Snippets
  • Loading branch information
mattt committed Oct 11, 2013
2 parents f14e03d + d5869a7 commit 398828e
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xae.m
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#>);
8 changes: 8 additions & 0 deletions xaf.m
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#>);
8 changes: 8 additions & 0 deletions xan.m
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#>);
8 changes: 8 additions & 0 deletions xann.m
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#>);
8 changes: 8 additions & 0 deletions xat.m
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#>);

0 comments on commit 398828e

Please sign in to comment.