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
2013-02-11 18:31:41 -05:00

14 lines
356 B
C++

#include "NullCommand.h"
#include "WebPage.h"
#include "WebPageManager.h"
#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";
finish(false, new ErrorMessage(failure));
}