LibrePCB Developers Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MainWindowTestAdapter Class Referencefinal

Adapter class for automated GUI tests. More...

#include <mainwindowtestadapter.h>

Inherits QWidget.

+ Collaboration diagram for MainWindowTestAdapter:

Public Slots

QVariant trigger (QVariant action) noexcept
 
QVariant isLibraryScanFinished (QVariant) const noexcept
 
QVariant openLibraryEditor (QVariant path) noexcept
 

Signals

void actionTriggered (ui::Action a)
 

Public Member Functions

 MainWindowTestAdapter ()=delete
 
 MainWindowTestAdapter (const MainWindowTestAdapter &other)=delete
 
 MainWindowTestAdapter (GuiApplication &app, QWidget *parent=nullptr) noexcept
 
 ~MainWindowTestAdapter () noexcept
 
MainWindowTestAdapteroperator= (const MainWindowTestAdapter &rhs)=delete
 

Private Attributes

GuiApplicationmApp
 
bool mLibraryScanFinished = false
 

Detailed Description

Adapter class for automated GUI tests.

Constructor & Destructor Documentation

◆ MainWindowTestAdapter() [1/3]

◆ MainWindowTestAdapter() [2/3]

MainWindowTestAdapter ( const MainWindowTestAdapter other)
delete

◆ MainWindowTestAdapter() [3/3]

MainWindowTestAdapter ( GuiApplication app,
QWidget *  parent = nullptr 
)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~MainWindowTestAdapter()

~MainWindowTestAdapter ( )
noexcept

Member Function Documentation

◆ operator=()

MainWindowTestAdapter & operator= ( const MainWindowTestAdapter rhs)
delete

◆ trigger

QVariant trigger ( QVariant  action)
slotnoexcept

◆ isLibraryScanFinished

QVariant isLibraryScanFinished ( QVariant  ) const
inlineslotnoexcept

◆ openLibraryEditor

QVariant openLibraryEditor ( QVariant  path)
slotnoexcept
+ Here is the call graph for this function:

◆ actionTriggered

void actionTriggered ( ui::Action  a)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ mApp

GuiApplication& mApp
private

◆ mLibraryScanFinished

bool mLibraryScanFinished = false
private

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