1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/NullCommand.cpp

15 lines
356 B
C++
Raw Normal View History

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