#include <ext/app/exttesttools/tasqtcommandmodel.h>
class TasCommand : public TasDomObject, public TasDomObject |
TasCommand represents a single command to be sent to the application under testing.
Public Member Functions | |
---|---|
TasCommand(QDomElement) | |
TasCommand(const TasCommand &) | |
~TasCommand() | |
void | addApiParameter(const QString &, const QString &, const QString &) |
QString | apiParameter(const QString &) |
QHash< QString, QString > | getApiParameters() |
QString | name() |
QString | parameter(const QString &) |
QString | text() |
Inherited Attributes | |
---|---|
TasDomObject::mElement |
Inherited Functions | |
---|---|
TasDomObject::addChild(const QString &) | |
TasDomObject::addDomAttribute(const QString &,const QString &) | |
TasDomObject::domElement()const | |
TasDomObject::setText(const QString &) |
TasCommand contains the command to be executed and parameters needed for completing it. The TasCommander uses the values to send events to qApp.
TasCommand | ( | const TasCommand & | other | ) |
void | addApiParameter | ( | const QString & | name, |
const QString & | value, | |||
const QString & | type | |||
) |
QString | apiParameter | ( | const QString & | name | ) |
Return a parameter for the value. The QString can be empty and should always be verified using QString::isEmpty
QHash< QString, QString > | getApiParameters | ( | ) | const |
QString | parameter | ( | const QString & | name | ) |
Reimplemented from TasDomObject::parameter(const QString &)
Return a parameter for the value. The QString can be empty and should always be verified using QString::isEmpty