![]() |
NDEVR
API Documentation
|
Provides an AutomatedTest for repeatedly opening and closing a Project. More...
Public Member Functions | |
| OpenCloseTest (WindowManager *manager) | |
| Constructs a test that repeatedly opens and closes a project. | |
| Public Member Functions inherited from LoopedAutomatedTest | |
| LoopedAutomatedTest (const std::function< void(uint04 step_index, AutomatedTestingDialog *dialog)> &test_step) | |
| Constructs a LoopedAutomatedTest with the given step function. | |
| bool | performTest (AutomatedTestingDialog *dialog) |
| Starts the looped test, calling the step function repeatedly on a timer. | |
| void | stopTest () |
| Stops the looped test timer. | |
| uint04 | testStepIndex () const |
| Returns the current step index within the loop. | |
Additional Inherited Members | |
| Public Attributes inherited from AutomatedTest | |
| String | icon |
| The icon resource name displayed for this test. | |
| bool | is_looped_test = false |
| Whether this test repeats in a loop until stopped. | |
| TranslatedString | name |
| The user-facing translated name of the test. | |
| std::function< void()> | on_test_completed |
| Callback invoked when the test finishes. | |
| Protected Attributes inherited from LoopedAutomatedTest | |
| AutomatedTestingDialog * | m_dialog = nullptr |
| The testing dialog reference. | |
| std::function< void(uint04 step_index, AutomatedTestingDialog *dialog)> | m_on_test |
| The function executed on each loop step. | |
| uint04 | m_step_index = 0 |
| The current loop iteration index. | |
| QTimer * | m_test_timer |
| The timer driving the loop iterations. | |
Provides an AutomatedTest for repeatedly opening and closing a Project.
Definition at line 83 of file AutomatedTesting.h.
| OpenCloseTest::OpenCloseTest | ( | WindowManager * | manager | ) |
Constructs a test that repeatedly opens and closes a project.
| [in] | manager | The window manager providing access to project operations. |