-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Library-Keychain-iOSTests bundle.
This is just so we can test a single file, KeychainTests, in a hosted environment, without affecting the rest of our tests.
- Loading branch information
1 parent
59fcc49
commit 50fd2f3
Showing
3 changed files
with
248 additions
and
3 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
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
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,18 @@ | ||
import XCTest | ||
|
||
final class Library_Keychain_iOSTests: XCTestCase { | ||
func testLibraryKeychainExists() { | ||
XCTAssertTrue(true) | ||
|
||
/* | ||
This testing bundle, Library-Keychain-iOSTests, exists so that we can run KeychainTests. | ||
|
||
Testing the keychain requires the unit tests to be hosted; otherwise it throws errors | ||
about missing entitlements. | ||
|
||
However, the rest of our library tests require the unit tests NOT to be hosted. | ||
This target is just split out so we can run KeychainTests.swift in that hosted environment.. | ||
|
||
*/ | ||
} | ||
} |