API Documentation
Loading...
Searching...
No Matches
LoopedAutomatedTest Class Reference

#include <AutomatedTesting.h>

Inheritance diagram for LoopedAutomatedTest:
[legend]
Collaboration diagram for LoopedAutomatedTest:
[legend]

Public Member Functions

 LoopedAutomatedTest (const std::function< void(uint04 step_index, AutomatedTestingDialog *dialog)> &test_step)
 
bool performTest (AutomatedTestingDialog *dialog)
 
void stopTest ()
 
uint04 testStepIndex () const
 
- Public Member Functions inherited from AutomatedTest

Protected Attributes

std::function< void(uint04 step_index, AutomatedTestingDialog *dialog)> m_on_test
 
QTimer * m_test_timer
 
AutomatedTestingDialogm_dialog = nullptr
 
uint04 m_step_index = 0
 

Additional Inherited Members

- Public Attributes inherited from AutomatedTest
String icon
 
TranslatedString name
 
std::function< void()> on_test_completed
 
bool is_looped_test = false
 

Constructor & Destructor Documentation

◆ LoopedAutomatedTest()

LoopedAutomatedTest ( const std::function< void(uint04 step_index, AutomatedTestingDialog *dialog)> & test_step)

Member Function Documentation

◆ performTest()

bool performTest ( AutomatedTestingDialog * dialog)
virtual

Implements AutomatedTest.

◆ stopTest()

void stopTest ( )
virtual

Implements AutomatedTest.

◆ testStepIndex()

uint04 testStepIndex ( ) const
inline

Member Data Documentation

◆ m_dialog

AutomatedTestingDialog* m_dialog = nullptr
protected

◆ m_on_test

std::function<void(uint04 step_index, AutomatedTestingDialog* dialog)> m_on_test
protected

◆ m_step_index

uint04 m_step_index = 0
protected

◆ m_test_timer

QTimer* m_test_timer
protected

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