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
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 { ...@@ -7,7 +7,6 @@ public struct Group {
public var getInitMessage: GroupGetInitMessage public var getInitMessage: GroupGetInitMessage
public var getMembership: GroupGetMembership public var getMembership: GroupGetMembership
public var getName: GroupGetName public var getName: GroupGetName
public var getTrackedID: GroupGetTrackedId
public var serialize: GroupSerialize public var serialize: GroupSerialize
} }
...@@ -20,7 +19,6 @@ extension Group { ...@@ -20,7 +19,6 @@ extension Group {
getInitMessage: .live(bindingsGroup), getInitMessage: .live(bindingsGroup),
getMembership: .live(bindingsGroup), getMembership: .live(bindingsGroup),
getName: .live(bindingsGroup), getName: .live(bindingsGroup),
getTrackedID: .live(bindingsGroup),
serialize: .live(bindingsGroup) serialize: .live(bindingsGroup)
) )
} }
...@@ -34,7 +32,6 @@ extension Group { ...@@ -34,7 +32,6 @@ extension Group {
getInitMessage: .unimplemented, getInitMessage: .unimplemented,
getMembership: .unimplemented, getMembership: .unimplemented,
getName: .unimplemented, getName: .unimplemented,
getTrackedID: .unimplemented,
serialize: .unimplemented serialize: .unimplemented
) )
} }
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