Loading...
Searching...
No Matches
TestResultBase Interface Reference

Base class for test results. More...

Inheritance diagram for TestResultBase:
Managed TestBoolResult TestResultTimeout

Public Member Functions

bool Failure ()
 Return true if the result means failure.
 
string FailureText ()
 Text used for xml report output.
 
proto external bool NativeFailure ()
 
proto external string NativeFailureText ()
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Base class for test results.

This way you report back to the system. More complex failure types with descriptions can be reported by implementation of FailureText in format of junit (see https://llg.cubic.org/docs/junit/ or https://github.com/testmoapp/junitxml).

Member Function Documentation

◆ Failure()

bool TestResultBase.Failure ( )

Return true if the result means failure.

Implemented in TestBoolResult.

◆ FailureText()

string TestResultBase.FailureText ( )

Text used for xml report output.

Implemented in TestBoolResult.

◆ NativeFailure()

proto external bool TestResultBase.NativeFailure ( )

◆ NativeFailureText()

proto external string TestResultBase.NativeFailureText ( )

The documentation for this interface was generated from the following file: