Internal

  • [Internal] Used for handling fatal errors inside library.

    See more

    Declaration

    Swift

    public struct FatalErrorUtil
  • Declaration

    Swift

    @_frozen
    enum Optional<Wrapped> : ExpressibleByNilLiteral
  • [Internal] Fails flow with given message

    Declaration

    Swift

    public func Failure(_ message: String) -> Swift.Never

    Parameters

    message

    Failure message

    Return Value

    Never

  • Undocumented

    See more

    Declaration

    Swift

    public protocol OptionalType : ExpressibleByNilLiteral
  • [Internal] used for marking that stubs have configurable policy

    See more

    Declaration

    Swift

    public protocol WithStubbingPolicy : AnyObject
  • Int

    Declaration

    Swift

    struct Int : FixedWidthInteger, SignedInteger
  • Declaration

    Swift

    struct UInt : FixedWidthInteger, UnsignedInteger
  • [Internal] Generic Mock library errors

    • notStubed: Calling method on mock, for which return value was not yet stubbed. DO NOT USE it as stub throw value!
    See more

    Declaration

    Swift

    public enum MockError : Error
  • [Internal] Possible Given products. Method can either return or throw an error (in general)

    • return: Return value
    • throw: Thrown error value
    See more

    Declaration

    Swift

    public enum StubProduct
  • [Internal] Allows to reduce Mock.generated.swif size, by moving part of implementation here.

    See more

    Declaration

    Swift

    open class StubbedMethod : WithStubbingPolicy