ConsoleTestListener

Overview

ConsoleTestListener is a class that implements IEventListener interface to react on runner vents and provide output to console.

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 <clinit>  External Cooper

 

static void constructor <clinit>(+ )

Parameters:

  • :

EmitParseableMessages  virtual macOS

 

class property EmitParseableMessages: Boolean read;

 

class Boolean EmitParseableMessages { get; }

 

static var EmitParseableMessages: Boolean { get{} }

 

class Boolean EmitParseableMessages { __get; }

 

Shared ReadOnly Property EmitParseableMessages() As Boolean

EmitParseableMessages  virtual .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

class property EmitParseableMessages: Boolean read write;

 

class Boolean EmitParseableMessages { get; set; }

 

static var EmitParseableMessages: Boolean { get{} set{} }

 

class Boolean EmitParseableMessages { __get; __set; }

 

Shared Property EmitParseableMessages() As Boolean

EmitParseableSuccessMessages  virtual macOS

 

class property EmitParseableSuccessMessages: Boolean read;

 

class Boolean EmitParseableSuccessMessages { get; }

 

static var EmitParseableSuccessMessages: Boolean { get{} }

 

class Boolean EmitParseableSuccessMessages { __get; }

 

Shared ReadOnly Property EmitParseableSuccessMessages() As Boolean

EmitParseableSuccessMessages  virtual .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

class property EmitParseableSuccessMessages: Boolean read write;

 

class Boolean EmitParseableSuccessMessages { get; set; }

 

static var EmitParseableSuccessMessages: Boolean { get{} set{} }

 

class Boolean EmitParseableSuccessMessages { __get; __set; }

 

Shared Property EmitParseableSuccessMessages() As Boolean

EmitSuccessMessages  virtual macOS

 

class property EmitSuccessMessages: Boolean read;

 

class Boolean EmitSuccessMessages { get; }

 

static var EmitSuccessMessages: Boolean { get{} }

 

class Boolean EmitSuccessMessages { __get; }

 

Shared ReadOnly Property EmitSuccessMessages() As Boolean

EmitSuccessMessages  virtual .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

class property EmitSuccessMessages: Boolean read write;

 

class Boolean EmitSuccessMessages { get; set; }

 

static var EmitSuccessMessages: Boolean { get{} set{} }

 

class Boolean EmitSuccessMessages { __get; __set; }

 

Shared Property EmitSuccessMessages() As Boolean

initialize Toffee

 

static func initialize(initialize )

Parameters:

  • :

Output  protected virtual

Writes specified message to console.

 

method Output(Message: String)

 

void Output(String Message)

 

func Output(_ Message: String)

 

void Output(String Message)

 

Sub Output(Message As String)

Parameters:

  • Message: Message to write.

RunFinished  virtual

Called when test run is finished.

 

method RunFinished(TestResult: ITestResult)

 

void RunFinished(ITestResult TestResult)

 

func RunFinished(_ TestResult: ITestResult)

 

void RunFinished(ITestResult TestResult)

 

Sub RunFinished(TestResult As ITestResult)

Parameters:

  • TestResult: Reference to a root test result item.

RunStarted  virtual

Called when test run is started by the runner.

 

method RunStarted(Test: ITest)

 

void RunStarted(ITest Test)

 

func RunStarted(_ Test: ITest)

 

void RunStarted(ITest Test)

 

Sub RunStarted(Test As ITest)

Parameters:

  • Test: Reference to a test root.

TestFinished  virtual

Called when test is finished.

 

method TestFinished(TestResult: ITestResult)

 

void TestFinished(ITestResult TestResult)

 

func TestFinished(_ TestResult: ITestResult)

 

void TestFinished(ITestResult TestResult)

 

Sub TestFinished(TestResult As ITestResult)

Parameters:

  • TestResult: Reference to a test result of a finished test.

TestStarted  virtual

Called when test is started.

 

method TestStarted(Test: ITest)

 

void TestStarted(ITest Test)

 

func TestStarted(_ Test: ITest)

 

void TestStarted(ITest Test)

 

Sub TestStarted(Test As ITest)

Parameters:

  • Test: Reference to a test that was started.

UseAnsiColorOutput  virtual

 

property UseAnsiColorOutput: Boolean read write;

 

Boolean UseAnsiColorOutput { get; set; }

 

var UseAnsiColorOutput: Boolean { get{} set{} }

 

Boolean UseAnsiColorOutput { __get; __set; }

 

Property UseAnsiColorOutput() As Boolean

 

UseAnsiColorOutput  virtual

 

property UseAnsiColorOutput: Boolean read write;

 

Boolean UseAnsiColorOutput { get; set; }

 

var UseAnsiColorOutput: Boolean { get{} set{} }

 

Boolean UseAnsiColorOutput { __get; __set; }

 

Property UseAnsiColorOutput() As Boolean

EmitParseableMessages  virtual macOS

 

class property EmitParseableMessages: Boolean read;

 

class Boolean EmitParseableMessages { get; }

 

static var EmitParseableMessages: Boolean { get{} }

 

class Boolean EmitParseableMessages { __get; }

 

Shared ReadOnly Property EmitParseableMessages() As Boolean

EmitParseableMessages  virtual .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

class property EmitParseableMessages: Boolean read write;

 

class Boolean EmitParseableMessages { get; set; }

 

static var EmitParseableMessages: Boolean { get{} set{} }

 

class Boolean EmitParseableMessages { __get; __set; }

 

Shared Property EmitParseableMessages() As Boolean

EmitParseableSuccessMessages  virtual macOS

 

class property EmitParseableSuccessMessages: Boolean read;

 

class Boolean EmitParseableSuccessMessages { get; }

 

static var EmitParseableSuccessMessages: Boolean { get{} }

 

class Boolean EmitParseableSuccessMessages { __get; }

 

Shared ReadOnly Property EmitParseableSuccessMessages() As Boolean

EmitParseableSuccessMessages  virtual .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

class property EmitParseableSuccessMessages: Boolean read write;

 

class Boolean EmitParseableSuccessMessages { get; set; }

 

static var EmitParseableSuccessMessages: Boolean { get{} set{} }

 

class Boolean EmitParseableSuccessMessages { __get; __set; }

 

Shared Property EmitParseableSuccessMessages() As Boolean

EmitSuccessMessages  virtual macOS

 

class property EmitSuccessMessages: Boolean read;

 

class Boolean EmitSuccessMessages { get; }

 

static var EmitSuccessMessages: Boolean { get{} }

 

class Boolean EmitSuccessMessages { __get; }

 

Shared ReadOnly Property EmitSuccessMessages() As Boolean

EmitSuccessMessages  virtual .NET, .NET Standard 2.0, Cooper, Island, Toffee

 

class property EmitSuccessMessages: Boolean read write;

 

class Boolean EmitSuccessMessages { get; set; }

 

static var EmitSuccessMessages: Boolean { get{} set{} }

 

class Boolean EmitSuccessMessages { __get; __set; }

 

Shared Property EmitSuccessMessages() As Boolean

 

constructor <clinit>  External Cooper

 

static void constructor <clinit>(+ )

Parameters:

  • :

initialize Toffee

 

static func initialize(initialize )

Parameters:

  • :

 

Output  protected virtual

Writes specified message to console.

 

method Output(Message: String)

 

void Output(String Message)

 

func Output(_ Message: String)

 

void Output(String Message)

 

Sub Output(Message As String)

Parameters:

  • Message: Message to write.

RunFinished  virtual

Called when test run is finished.

 

method RunFinished(TestResult: ITestResult)

 

void RunFinished(ITestResult TestResult)

 

func RunFinished(_ TestResult: ITestResult)

 

void RunFinished(ITestResult TestResult)

 

Sub RunFinished(TestResult As ITestResult)

Parameters:

  • TestResult: Reference to a root test result item.

RunStarted  virtual

Called when test run is started by the runner.

 

method RunStarted(Test: ITest)

 

void RunStarted(ITest Test)

 

func RunStarted(_ Test: ITest)

 

void RunStarted(ITest Test)

 

Sub RunStarted(Test As ITest)

Parameters:

  • Test: Reference to a test root.

TestFinished  virtual

Called when test is finished.

 

method TestFinished(TestResult: ITestResult)

 

void TestFinished(ITestResult TestResult)

 

func TestFinished(_ TestResult: ITestResult)

 

void TestFinished(ITestResult TestResult)

 

Sub TestFinished(TestResult As ITestResult)

Parameters:

  • TestResult: Reference to a test result of a finished test.

TestStarted  virtual

Called when test is started.

 

method TestStarted(Test: ITest)

 

void TestStarted(ITest Test)

 

func TestStarted(_ Test: ITest)

 

void TestStarted(ITest Test)

 

Sub TestStarted(Test As ITest)

Parameters:

  • Test: Reference to a test that was started.