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

Remove GroupGetTrackedId function

parent 3ab9e3bd
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!89Update Bindings
This commit is part of merge request !89. Comments created here will be created in the context of that merge request.
import Bindings
import XCTestDynamicOverlay
public struct GroupGetTrackedId {
public var run: () -> Int
public func callAsFunction() -> Int {
run()
}
}
extension GroupGetTrackedId {
public static func live(_ bindingsGroup: BindingsGroup) -> GroupGetTrackedId {
GroupGetTrackedId(run: bindingsGroup.getTrackedID)
}
}
extension GroupGetTrackedId {
public static let unimplemented = GroupGetTrackedId(
run: XCTUnimplemented("\(Self.self)", placeholder: 0)
)
}
......@@ -7,7 +7,6 @@ public struct Group {
public var getInitMessage: GroupGetInitMessage
public var getMembership: GroupGetMembership
public var getName: GroupGetName
public var getTrackedID: GroupGetTrackedId
public var serialize: GroupSerialize
}
......@@ -20,7 +19,6 @@ extension Group {
getInitMessage: .live(bindingsGroup),
getMembership: .live(bindingsGroup),
getName: .live(bindingsGroup),
getTrackedID: .live(bindingsGroup),
serialize: .live(bindingsGroup)
)
}
......@@ -34,7 +32,6 @@ extension Group {
getInitMessage: .unimplemented,
getMembership: .unimplemented,
getName: .unimplemented,
getTrackedID: .unimplemented,
serialize: .unimplemented
)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment