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

Add E2EGetUdAddressFromNdf functor

parent dbe09ac5
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!26Update Bindings
......@@ -7,6 +7,7 @@ public struct E2E {
public var getHistoricalDHPublicKey: E2EGetHistoricalDHPublicKey
public var getContact: E2EGetContact
public var getAllPartnerIds: E2EGetAllPartnerIds
public var getUdAddressFromNdf: E2EGetUdAddressFromNdf
public var payloadSize: E2EPayloadSize
public var partitionSize: E2EPartitionSize
public var addPartnerCallback: E2EAddPartnerCallback
......@@ -34,6 +35,7 @@ extension E2E {
getHistoricalDHPublicKey: .live(bindingsE2E),
getContact: .live(bindingsE2E),
getAllPartnerIds: .live(bindingsE2E),
getUdAddressFromNdf: .live(bindingsE2E),
payloadSize: .live(bindingsE2E),
partitionSize: .live(bindingsE2E),
addPartnerCallback: .live(bindingsE2E),
......@@ -62,6 +64,7 @@ extension E2E {
getHistoricalDHPublicKey: .unimplemented,
getContact: .unimplemented,
getAllPartnerIds: .unimplemented,
getUdAddressFromNdf: .unimplemented,
payloadSize: .unimplemented,
partitionSize: .unimplemented,
addPartnerCallback: .unimplemented,
......
import Bindings
import XCTestDynamicOverlay
public struct E2EGetUdAddressFromNdf {
public var run: () -> String
public func callAsFunction() -> String {
run()
}
}
extension E2EGetUdAddressFromNdf {
public static func live(_ bindingsE2E: BindingsE2e) -> E2EGetUdAddressFromNdf {
E2EGetUdAddressFromNdf(run: bindingsE2E.getUdAddressFromNdf)
}
}
extension E2EGetUdAddressFromNdf {
public static let unimplemented = E2EGetUdAddressFromNdf(
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