Skip to content
Snippets Groups Projects
Select Git revision
  • 8d3aad457af6ab005452b844d64beeeeb268e4fd
  • main default protected
  • dev protected
  • hotfixes-oct-2022
  • refactor/avatar-cell
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1
  • 1.0.8
  • 1.0.7
  • 1.0.6
12 results

Package.swift

Blame
  • E2EGetReceptionId.swift 593 B
    import Bindings
    import XCTestDynamicOverlay
    
    public struct E2EGetReceptionId {
      public var run: () -> Data
    
      public func callAsFunction() -> Data {
        run()
      }
    }
    
    extension E2EGetReceptionId {
      public static func live(_ bindingsE2E: BindingsE2e) -> E2EGetReceptionId {
        E2EGetReceptionId {
          guard let data = bindingsE2E.getReceptionID() else {
            fatalError("BindingsE2e.getReceptionID returned `nil`")
          }
          return data
        }
      }
    }
    
    extension E2EGetReceptionId {
      public static let unimplemented = E2EGetReceptionId(
        run: XCTUnimplemented("\(Self.self)")
      )
    }