RobotTestingFramework  2.0.1
Robot Testing Framework
Public Member Functions | Private Attributes | List of all members
robottestingframework::ResultEvent Class Reference

The ResultEvent class is used by a test collector to collect the result of the tests and the corresponding messages issued during the test run. More...

#include <robottestingframework/ResultEvent.h>

+ Inheritance diagram for robottestingframework::ResultEvent:

Public Member Functions

 ResultEvent ()
 ResultEvent constructor. More...
 
virtual ~ResultEvent ()=default
 ~ResultEvent Destructor More...
 
 ResultEvent (const Test *test, TestMessage msg)
 ResultEvent constructor. More...
 
const TestgetTest ()
 getTest get the test More...
 
TestMessagegetMessage ()
 getMessage get the corresponding message More...
 

Private Attributes

const Testtest
 
TestMessage message
 

Detailed Description

The ResultEvent class is used by a test collector to collect the result of the tests and the corresponding messages issued during the test run.

Definition at line 35 of file ResultEvent.h.

Constructor & Destructor Documentation

◆ ResultEvent() [1/2]

robottestingframework::ResultEvent::ResultEvent ( )
inline

ResultEvent constructor.

Definition at line 41 of file ResultEvent.h.

◆ ~ResultEvent()

virtual robottestingframework::ResultEvent::~ResultEvent ( )
virtualdefault

~ResultEvent Destructor

◆ ResultEvent() [2/2]

robottestingframework::ResultEvent::ResultEvent ( const Test test,
TestMessage  msg 
)
inline

ResultEvent constructor.

Parameters
testpointer to a Test
msgthe corresponding message issued by the test

Definition at line 56 of file ResultEvent.h.

Member Function Documentation

◆ getMessage()

TestMessage& robottestingframework::ResultEvent::getMessage ( )
inline

getMessage get the corresponding message

Returns
a TestMessage

Definition at line 75 of file ResultEvent.h.

◆ getTest()

const Test* robottestingframework::ResultEvent::getTest ( )
inline

getTest get the test

Returns
a pointer to a Test

Definition at line 66 of file ResultEvent.h.

Member Data Documentation

◆ message

TestMessage robottestingframework::ResultEvent::message
private

Definition at line 82 of file ResultEvent.h.

◆ test

const Test* robottestingframework::ResultEvent::test
private

Definition at line 81 of file ResultEvent.h.


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