Skip to content
Snippets Groups Projects
Commit 50c19fb6 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Add E2EGetUdContactFromNdf functor

parent e15c6df5
Loading
......@@ -9,6 +9,7 @@ public struct E2E {
public var getAllPartnerIds: E2EGetAllPartnerIds
public var getUdAddressFromNdf: E2EGetUdAddressFromNdf
public var getUdCertFromNdf: E2EGetUdCertFromNdf
public var getUdContactFromNdf: E2EGetUdContactFromNdf
public var payloadSize: E2EPayloadSize
public var partitionSize: E2EPartitionSize
public var addPartnerCallback: E2EAddPartnerCallback
......@@ -38,6 +39,7 @@ extension E2E {
getAllPartnerIds: .live(bindingsE2E),
getUdAddressFromNdf: .live(bindingsE2E),
getUdCertFromNdf: .live(bindingsE2E),
getUdContactFromNdf: .live(bindingsE2E),
payloadSize: .live(bindingsE2E),
partitionSize: .live(bindingsE2E),
addPartnerCallback: .live(bindingsE2E),
......@@ -68,6 +70,7 @@ extension E2E {
getAllPartnerIds: .unimplemented,
getUdAddressFromNdf: .unimplemented,
getUdCertFromNdf: .unimplemented,
getUdContactFromNdf: .unimplemented,
payloadSize: .unimplemented,
partitionSize: .unimplemented,
addPartnerCallback: .unimplemented,
......
import Bindings
import XCTestDynamicOverlay
public struct E2EGetUdContactFromNdf {
public var run: () throws -> Data
public func callAsFunction() throws -> Data {
try run()
}
}
extension E2EGetUdContactFromNdf {
public static func live(_ bindingsE2E: BindingsE2e) -> E2EGetUdContactFromNdf {
E2EGetUdContactFromNdf(run: bindingsE2E.getUdContactFromNdf)
}
}
extension E2EGetUdContactFromNdf {
public static let unimplemented = E2EGetUdContactFromNdf(
run: XCTUnimplemented("\(Self.self)")
)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment