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

Refactor

parent 27abe05b
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!18Update Bindings
import Bindings import Bindings
import XCTestDynamicOverlay import XCTestDynamicOverlay
public struct GetDefaultCmixParams { public struct GetCmixParams {
public var run: () -> Data public var run: () -> Data
public func callAsFunction() -> Data { public func callAsFunction() -> Data {
...@@ -9,8 +9,8 @@ public struct GetDefaultCmixParams { ...@@ -9,8 +9,8 @@ public struct GetDefaultCmixParams {
} }
} }
extension GetDefaultCmixParams { extension GetCmixParams {
public static let live = GetDefaultCmixParams { public static let liveDefault = GetCmixParams {
guard let data = BindingsGetDefaultCMixParams() else { guard let data = BindingsGetDefaultCMixParams() else {
fatalError("BindingsGetDefaultCMixParams returned `nil`") fatalError("BindingsGetDefaultCMixParams returned `nil`")
} }
...@@ -18,8 +18,8 @@ extension GetDefaultCmixParams { ...@@ -18,8 +18,8 @@ extension GetDefaultCmixParams {
} }
} }
extension GetDefaultCmixParams { extension GetCmixParams {
public static let unimplemented = GetDefaultCmixParams( public static let unimplemented = GetCmixParams(
run: XCTUnimplemented("\(Self.self)") run: XCTUnimplemented("\(Self.self)")
) )
} }
import Bindings import Bindings
import XCTestDynamicOverlay import XCTestDynamicOverlay
public struct GetDefaultE2EParams { public struct GetE2EParams {
public var run: () -> Data public var run: () -> Data
public func callAsFunction() -> Data { public func callAsFunction() -> Data {
...@@ -9,8 +9,8 @@ public struct GetDefaultE2EParams { ...@@ -9,8 +9,8 @@ public struct GetDefaultE2EParams {
} }
} }
extension GetDefaultE2EParams { extension GetE2EParams {
public static let live = GetDefaultE2EParams { public static let liveDefault = GetE2EParams {
guard let data = BindingsGetDefaultE2EParams() else { guard let data = BindingsGetDefaultE2EParams() else {
fatalError("BindingsGetDefaultE2EParams returned `nil`") fatalError("BindingsGetDefaultE2EParams returned `nil`")
} }
...@@ -18,8 +18,8 @@ extension GetDefaultE2EParams { ...@@ -18,8 +18,8 @@ extension GetDefaultE2EParams {
} }
} }
extension GetDefaultE2EParams { extension GetE2EParams {
public static let unimplemented = GetDefaultE2EParams( public static let unimplemented = GetE2EParams(
run: XCTUnimplemented("\(Self.self)") 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