mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
14 lines
356 B
C++
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));
|
|
}
|
|
|