FailureMessage

public class FailureMessage : NSObject

Encapsulates the failure message that matchers can report to the end user.

This is shared state between Nimble and matchers that mutate this value.

  • Undocumented

    Declaration

    Swift

    public var expected: String
  • Undocumented

    Declaration

    Swift

    public var actualValue: String?
  • to

    Undocumented

    Declaration

    Swift

    public var to: String
  • Undocumented

    Declaration

    Swift

    public var postfixMessage: String
  • Undocumented

    Declaration

    Swift

    public var postfixActual: String
  • An optional message that will be appended as a new line and provides additional details about the failure. This message will only be visible in the issue navigator / in logs but not directly in the source editor since only a single line is presented there.

    Declaration

    Swift

    public var extendedMessage: String?
  • Undocumented

    Declaration

    Swift

    public var userDescription: String?
  • Undocumented

    Declaration

    Swift

    public var stringValue: String { get set }
  • Undocumented

    Declaration

    Swift

    public override init()
  • Undocumented

    Declaration

    Swift

    public init(stringValue: String)