2012-03-21 18:50:55 -04:00
|
|
|
#include "NullCommand.h"
|
|
|
|
#include "WebPage.h"
|
2012-04-04 18:18:17 -04:00
|
|
|
#include "WebPageManager.h"
|
2013-02-02 17:32:54 -05:00
|
|
|
#include "ErrorMessage.h"
|
2012-03-21 18:50:55 -04:00
|
|
|
|
2012-07-08 15:04:30 -04:00
|
|
|
NullCommand::NullCommand(QString name, QObject *parent) : Command(parent) {
|
|
|
|
m_name = name;
|
|
|
|
}
|
2012-03-21 18:50:55 -04:00
|
|
|
|
|
|
|
void NullCommand::start() {
|
2012-07-08 15:04:30 -04:00
|
|
|
QString failure = QString("[Capybara WebKit] Unknown command: ") + m_name + "\n";
|
2013-02-11 18:31:41 -05:00
|
|
|
finish(false, new ErrorMessage(failure));
|
2012-03-21 18:50:55 -04:00
|
|
|
}
|
|
|
|
|