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

 

// .NET, .NET Standard 2.0, Island
const NotFalse: String = 'Expected condition to be false, but it was true'
// macOS
const NotFalse: String = Expected condition to be false, but it was true

 

// .NET, .NET Standard 2.0, Island
const String NotFalse = "Expected condition to be false, but it was true"
// macOS
const String NotFalse = Expected condition to be false, but it was true

 

// .NET, .NET Standard 2.0, Island, Toffee
static let NotFalse: String = "Expected condition to be false, but it was true"
// macOS
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

 

// .NET, .NET Standard 2.0, Island
Const NotFalse As String = "Expected condition to be false, but it was true"
// macOS
Const NotFalse As String = Expected condition to be false, but it was true

NotTrue

 

// .NET, .NET Standard 2.0, Island
const NotTrue: String = 'Expected condition to be true, but it was false'
// macOS
const NotTrue: String = Expected condition to be true, but it was false

 

// .NET, .NET Standard 2.0, Island
const String NotTrue = "Expected condition to be true, but it was false"
// macOS
const String NotTrue = Expected condition to be true, but it was false

 

// .NET, .NET Standard 2.0, Island, Toffee
static let NotTrue: String = "Expected condition to be true, but it was false"
// macOS
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

 

// .NET, .NET Standard 2.0, Island
Const NotTrue As String = "Expected condition to be true, but it was false"
// macOS
Const NotTrue As String = Expected condition to be true, but it was false

ObjectIsNotNil

 

// .NET, .NET Standard 2.0, Island
const ObjectIsNotNil: String = 'Object is not nil'
// macOS
const ObjectIsNotNil: String = Object is not nil

 

// .NET, .NET Standard 2.0, Island
const String ObjectIsNotNil = "Object is not nil"
// macOS
const String ObjectIsNotNil = Object is not nil

 

// .NET, .NET Standard 2.0, Island, Toffee
static let ObjectIsNotNil: String = "Object is not nil"
// macOS
static let ObjectIsNotNil: String = Object is not nil

 

static final String ObjectIsNotNil = Object is not nil

 

// .NET, .NET Standard 2.0, Island
Const ObjectIsNotNil As String = "Object is not nil"
// macOS
Const ObjectIsNotNil As String = Object is not nil

Unknown2

 

// .NET, .NET Standard 2.0, Island
const Unknown2: String = 'Unknown failure, expected "{1}" but got "{0}", '
// macOS
const Unknown2: String = Unknown failure, expected "{1}" but got "{0}",

 

// .NET, .NET Standard 2.0, Island
const String Unknown2 = "Unknown failure, expected \"{1}\" but got \"{0}\", "
// macOS
const String Unknown2 = Unknown failure, expected "{1}" but got "{0}",

 

// .NET, .NET Standard 2.0, Island, Toffee
static let Unknown2: String = "Unknown failure, expected \"{1}\" but got \"{0}\", "
// macOS
static let Unknown2: String = Unknown failure, expected "{1}" but got "{0}",

 

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

 

// .NET, .NET Standard 2.0, Island
Const Unknown2 As String = "Unknown failure, expected \"{1}\" but got \"{0}\", "
// macOS
Const Unknown2 As String = Unknown failure, expected "{1}" but got "{0}",

XCEqual

 

// .NET, .NET Standard 2.0, Island
const XCEqual: String = 'Actual value expected to be different from "{1}"'
// macOS
const XCEqual: String = Actual value expected to be different from "{1}"

 

// .NET, .NET Standard 2.0, Island
const String XCEqual = "Actual value expected to be different from \"{1}\""
// macOS
const String XCEqual = Actual value expected to be different from "{1}"

 

// .NET, .NET Standard 2.0, Island, Toffee
static let XCEqual: String = "Actual value expected to be different from \"{1}\""
// macOS
static let XCEqual: String = Actual value expected to be different from "{1}"

 

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

 

// .NET, .NET Standard 2.0, Island
Const XCEqual As String = "Actual value expected to be different from \"{1}\""
// macOS
Const XCEqual As String = Actual value expected to be different from "{1}"

XCFailed

 

// .NET, .NET Standard 2.0, Island
const XCFailed: String = 'Test Failed.'
// macOS
const XCFailed: String = Test Failed.

 

// .NET, .NET Standard 2.0, Island
const String XCFailed = "Test Failed."
// macOS
const String XCFailed = Test Failed.

 

// .NET, .NET Standard 2.0, Island, Toffee
static let XCFailed: String = "Test Failed."
// macOS
static let XCFailed: String = Test Failed.

 

static final String XCFailed = Test Failed.

 

// .NET, .NET Standard 2.0, Island
Const XCFailed As String = "Test Failed."
// macOS
Const XCFailed As String = Test Failed.

XCNotEqual

 

// .NET, .NET Standard 2.0, Island
const XCNotEqual: String = 'Expected "{1}" but got "{0}"'
// macOS
const XCNotEqual: String = Expected "{1}" but got "{0}"

 

// .NET, .NET Standard 2.0, Island
const String XCNotEqual = "Expected \"{1}\" but got \"{0}\""
// macOS
const String XCNotEqual = Expected "{1}" but got "{0}"

 

// .NET, .NET Standard 2.0, Island, Toffee
static let XCNotEqual: String = "Expected \"{1}\" but got \"{0}\""
// macOS
static let XCNotEqual: String = Expected "{1}" but got "{0}"

 

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

 

// .NET, .NET Standard 2.0, Island
Const XCNotEqual As String = "Expected \"{1}\" but got \"{0}\""
// macOS
Const XCNotEqual As String = Expected "{1}" but got "{0}"

 

NotFalse

 

// .NET, .NET Standard 2.0, Island
const NotFalse: String = 'Expected condition to be false, but it was true'
// macOS
const NotFalse: String = Expected condition to be false, but it was true

 

// .NET, .NET Standard 2.0, Island
const String NotFalse = "Expected condition to be false, but it was true"
// macOS
const String NotFalse = Expected condition to be false, but it was true

 

// .NET, .NET Standard 2.0, Island, Toffee
static let NotFalse: String = "Expected condition to be false, but it was true"
// macOS
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

 

// .NET, .NET Standard 2.0, Island
Const NotFalse As String = "Expected condition to be false, but it was true"
// macOS
Const NotFalse As String = Expected condition to be false, but it was true

NotTrue

 

// .NET, .NET Standard 2.0, Island
const NotTrue: String = 'Expected condition to be true, but it was false'
// macOS
const NotTrue: String = Expected condition to be true, but it was false

 

// .NET, .NET Standard 2.0, Island
const String NotTrue = "Expected condition to be true, but it was false"
// macOS
const String NotTrue = Expected condition to be true, but it was false

 

// .NET, .NET Standard 2.0, Island, Toffee
static let NotTrue: String = "Expected condition to be true, but it was false"
// macOS
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

 

// .NET, .NET Standard 2.0, Island
Const NotTrue As String = "Expected condition to be true, but it was false"
// macOS
Const NotTrue As String = Expected condition to be true, but it was false

ObjectIsNotNil

 

// .NET, .NET Standard 2.0, Island
const ObjectIsNotNil: String = 'Object is not nil'
// macOS
const ObjectIsNotNil: String = Object is not nil

 

// .NET, .NET Standard 2.0, Island
const String ObjectIsNotNil = "Object is not nil"
// macOS
const String ObjectIsNotNil = Object is not nil

 

// .NET, .NET Standard 2.0, Island, Toffee
static let ObjectIsNotNil: String = "Object is not nil"
// macOS
static let ObjectIsNotNil: String = Object is not nil

 

static final String ObjectIsNotNil = Object is not nil

 

// .NET, .NET Standard 2.0, Island
Const ObjectIsNotNil As String = "Object is not nil"
// macOS
Const ObjectIsNotNil As String = Object is not nil

Unknown2

 

// .NET, .NET Standard 2.0, Island
const Unknown2: String = 'Unknown failure, expected "{1}" but got "{0}", '
// macOS
const Unknown2: String = Unknown failure, expected "{1}" but got "{0}",

 

// .NET, .NET Standard 2.0, Island
const String Unknown2 = "Unknown failure, expected \"{1}\" but got \"{0}\", "
// macOS
const String Unknown2 = Unknown failure, expected "{1}" but got "{0}",

 

// .NET, .NET Standard 2.0, Island, Toffee
static let Unknown2: String = "Unknown failure, expected \"{1}\" but got \"{0}\", "
// macOS
static let Unknown2: String = Unknown failure, expected "{1}" but got "{0}",

 

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

 

// .NET, .NET Standard 2.0, Island
Const Unknown2 As String = "Unknown failure, expected \"{1}\" but got \"{0}\", "
// macOS
Const Unknown2 As String = Unknown failure, expected "{1}" but got "{0}",

XCEqual

 

// .NET, .NET Standard 2.0, Island
const XCEqual: String = 'Actual value expected to be different from "{1}"'
// macOS
const XCEqual: String = Actual value expected to be different from "{1}"

 

// .NET, .NET Standard 2.0, Island
const String XCEqual = "Actual value expected to be different from \"{1}\""
// macOS
const String XCEqual = Actual value expected to be different from "{1}"

 

// .NET, .NET Standard 2.0, Island, Toffee
static let XCEqual: String = "Actual value expected to be different from \"{1}\""
// macOS
static let XCEqual: String = Actual value expected to be different from "{1}"

 

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

 

// .NET, .NET Standard 2.0, Island
Const XCEqual As String = "Actual value expected to be different from \"{1}\""
// macOS
Const XCEqual As String = Actual value expected to be different from "{1}"

XCFailed

 

// .NET, .NET Standard 2.0, Island
const XCFailed: String = 'Test Failed.'
// macOS
const XCFailed: String = Test Failed.

 

// .NET, .NET Standard 2.0, Island
const String XCFailed = "Test Failed."
// macOS
const String XCFailed = Test Failed.

 

// .NET, .NET Standard 2.0, Island, Toffee
static let XCFailed: String = "Test Failed."
// macOS
static let XCFailed: String = Test Failed.

 

static final String XCFailed = Test Failed.

 

// .NET, .NET Standard 2.0, Island
Const XCFailed As String = "Test Failed."
// macOS
Const XCFailed As String = Test Failed.

XCNotEqual

 

// .NET, .NET Standard 2.0, Island
const XCNotEqual: String = 'Expected "{1}" but got "{0}"'
// macOS
const XCNotEqual: String = Expected "{1}" but got "{0}"

 

// .NET, .NET Standard 2.0, Island
const String XCNotEqual = "Expected \"{1}\" but got \"{0}\""
// macOS
const String XCNotEqual = Expected "{1}" but got "{0}"

 

// .NET, .NET Standard 2.0, Island, Toffee
static let XCNotEqual: String = "Expected \"{1}\" but got \"{0}\""
// macOS
static let XCNotEqual: String = Expected "{1}" but got "{0}"

 

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

 

// .NET, .NET Standard 2.0, Island
Const XCNotEqual As String = "Expected \"{1}\" but got \"{0}\""
// macOS
Const XCNotEqual As String = Expected "{1}" but got "{0}"

 

constructor  protected Cooper, Island, macOS

 

constructor

 

AssertMessages()

 

init()

 

AssertMessages()

 

Sub New()