AssertMessages

Overview

Helper class that contains default messages for assert errors.

Location

  • Reference:
    • RemObjects.Elements.EUnit.dll  .NET, .NET Standard 2.0
    • remobjects.elements.eunit.jar  Cooper
    • EUnit.fx  Island, macOS
    • libEUnit.fx  Toffee
  • Namespace: RemObjects.Elements.EUnit
  • Platforms: .NET, .NET Standard 2.0, Cooper, Island, macOS, Toffee

 

constructor  protected Cooper, Island, macOS

 

constructor

 

AssertMessages()

 

init()

 

AssertMessages()

 

Sub New()

NotFalse

 

const NotFalse: String = "Expected condition to be false, but it was true";

 

const String NotFalse = "Expected condition to be false, but it was true"

 

static let NotFalse: String = "Expected condition to be false, but it was true"

 

static final String NotFalse = "Expected condition to be false, but it was true"

 

Dim NotFalse As String = "Expected condition to be false, but it was true"

NotTrue

 

const NotTrue: String = "Expected condition to be true, but it was false";

 

const String NotTrue = "Expected condition to be true, but it was false"

 

static let NotTrue: String = "Expected condition to be true, but it was false"

 

static final String NotTrue = "Expected condition to be true, but it was false"

 

Dim NotTrue As String = "Expected condition to be true, but it was false"

ObjectIsNotNil

 

const ObjectIsNotNil: String = "Object is not nil";

 

const String ObjectIsNotNil = "Object is not nil"

 

static let ObjectIsNotNil: String = "Object is not nil"

 

static final String ObjectIsNotNil = "Object is not nil"

 

Dim ObjectIsNotNil As String = "Object is not nil"

Unknown2

 

const Unknown2: String = "Unknown failure, expected ""{1}"" but got ""{0}"", ";

 

const String Unknown2 = "Unknown failure, expected ""{1}"" but got ""{0}"", "

 

static let Unknown2: String = "Unknown failure, expected ""{1}"" but got ""{0}"", "

 

static final String Unknown2 = "Unknown failure, expected ""{1}"" but got ""{0}"", "

 

Dim Unknown2 As String = "Unknown failure, expected ""{1}"" but got ""{0}"", "

XCEqual

 

const XCEqual: String = "Actual value expected to be different from ""{1}""";

 

const String XCEqual = "Actual value expected to be different from ""{1}"""

 

static let XCEqual: String = "Actual value expected to be different from ""{1}"""

 

static final String XCEqual = "Actual value expected to be different from ""{1}"""

 

Dim XCEqual As String = "Actual value expected to be different from ""{1}"""

XCFailed

 

const XCFailed: String = "Test Failed.";

 

const String XCFailed = "Test Failed."

 

static let XCFailed: String = "Test Failed."

 

static final String XCFailed = "Test Failed."

 

Dim XCFailed As String = "Test Failed."

XCNotEqual

 

const XCNotEqual: String = "Expected ""{1}"" but got ""{0}""";

 

const String XCNotEqual = "Expected ""{1}"" but got ""{0}"""

 

static let XCNotEqual: String = "Expected ""{1}"" but got ""{0}"""

 

static final String XCNotEqual = "Expected ""{1}"" but got ""{0}"""

 

Dim XCNotEqual As String = "Expected ""{1}"" but got ""{0}"""

 

NotFalse

 

const NotFalse: String = "Expected condition to be false, but it was true";

 

const String NotFalse = "Expected condition to be false, but it was true"

 

static let NotFalse: String = "Expected condition to be false, but it was true"

 

static final String NotFalse = "Expected condition to be false, but it was true"

 

Dim NotFalse As String = "Expected condition to be false, but it was true"

NotTrue

 

const NotTrue: String = "Expected condition to be true, but it was false";

 

const String NotTrue = "Expected condition to be true, but it was false"

 

static let NotTrue: String = "Expected condition to be true, but it was false"

 

static final String NotTrue = "Expected condition to be true, but it was false"

 

Dim NotTrue As String = "Expected condition to be true, but it was false"

ObjectIsNotNil

 

const ObjectIsNotNil: String = "Object is not nil";

 

const String ObjectIsNotNil = "Object is not nil"

 

static let ObjectIsNotNil: String = "Object is not nil"

 

static final String ObjectIsNotNil = "Object is not nil"

 

Dim ObjectIsNotNil As String = "Object is not nil"

Unknown2

 

const Unknown2: String = "Unknown failure, expected ""{1}"" but got ""{0}"", ";

 

const String Unknown2 = "Unknown failure, expected ""{1}"" but got ""{0}"", "

 

static let Unknown2: String = "Unknown failure, expected ""{1}"" but got ""{0}"", "

 

static final String Unknown2 = "Unknown failure, expected ""{1}"" but got ""{0}"", "

 

Dim Unknown2 As String = "Unknown failure, expected ""{1}"" but got ""{0}"", "

XCEqual

 

const XCEqual: String = "Actual value expected to be different from ""{1}""";

 

const String XCEqual = "Actual value expected to be different from ""{1}"""

 

static let XCEqual: String = "Actual value expected to be different from ""{1}"""

 

static final String XCEqual = "Actual value expected to be different from ""{1}"""

 

Dim XCEqual As String = "Actual value expected to be different from ""{1}"""

XCFailed

 

const XCFailed: String = "Test Failed.";

 

const String XCFailed = "Test Failed."

 

static let XCFailed: String = "Test Failed."

 

static final String XCFailed = "Test Failed."

 

Dim XCFailed As String = "Test Failed."

XCNotEqual

 

const XCNotEqual: String = "Expected ""{1}"" but got ""{0}""";

 

const String XCNotEqual = "Expected ""{1}"" but got ""{0}"""

 

static let XCNotEqual: String = "Expected ""{1}"" but got ""{0}"""

 

static final String XCNotEqual = "Expected ""{1}"" but got ""{0}"""

 

Dim XCNotEqual As String = "Expected ""{1}"" but got ""{0}"""

 

constructor  protected Cooper, Island, macOS

 

constructor

 

AssertMessages()

 

init()

 

AssertMessages()

 

Sub New()