Add PromiseKit dependency
- Added PromiseKit dependency
This commit is contained in:
12
Carthage/Checkouts/PromiseKit/Extensions/EventKit/Tests/Entitlements.plist
vendored
Normal file
12
Carthage/Checkouts/PromiseKit/Extensions/EventKit/Tests/Entitlements.plist
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.private.tcc.allow</key>
|
||||
<array>
|
||||
<string>kTCCServiceAddressBook</string>
|
||||
<string>kTCCServiceCalendar</string>
|
||||
<string>kTCCServicePhotos</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
19
Carthage/Checkouts/PromiseKit/Extensions/EventKit/Tests/TestEventKit.swift
vendored
Normal file
19
Carthage/Checkouts/PromiseKit/Extensions/EventKit/Tests/TestEventKit.swift
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import PMKEventKit
|
||||
import PromiseKit
|
||||
import EventKit
|
||||
import XCTest
|
||||
|
||||
class Test_EventKit_Swift: XCTestCase {
|
||||
func test() {
|
||||
#if os(OSX)
|
||||
//FIXME can't make this succeed on Travis :(
|
||||
// needs Entitlements, but then I can't get it to sign
|
||||
// so, we'll just test linkage
|
||||
EKEventStoreRequestAccess()
|
||||
#else
|
||||
let ex = expectation(description: "")
|
||||
EKEventStoreRequestAccess().ensure(ex.fulfill)
|
||||
waitForExpectations(timeout: 30)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user