mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-04-30 02:16:16 +08:00
Improve test coverage of ShareDialog in ShareKit (3/n)
Summary: Test sharing via browser Differential Revision: D35726807 fbshipit-source-id: 244885092ed29dbd720069fcfe99db65c38dc474
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5ad0b4b8bf
commit
d8de719de9
@@ -10,7 +10,7 @@ import Foundation
|
||||
|
||||
@objcMembers
|
||||
public final class TestBridgeAPIRequest: NSObject, BridgeAPIRequestProtocol {
|
||||
public var actionID: String
|
||||
public var actionID = "1"
|
||||
public var methodName: String?
|
||||
public var protocolType: FBSDKBridgeAPIProtocolType
|
||||
public var `protocol`: BridgeAPIProtocol?
|
||||
@@ -18,11 +18,14 @@ public final class TestBridgeAPIRequest: NSObject, BridgeAPIRequestProtocol {
|
||||
|
||||
public let url: URL?
|
||||
|
||||
public init(url: URL?, protocolType: FBSDKBridgeAPIProtocolType = .native, scheme: String = "1") {
|
||||
public init(
|
||||
url: URL? = nil,
|
||||
protocolType: FBSDKBridgeAPIProtocolType = .native,
|
||||
scheme: String = "1"
|
||||
) {
|
||||
self.url = url
|
||||
self.protocolType = protocolType
|
||||
self.scheme = scheme
|
||||
actionID = "1"
|
||||
}
|
||||
|
||||
public func copy(with zone: NSZone? = nil) -> Any {
|
||||
|
||||
Reference in New Issue
Block a user