mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
11 lines
337 B
C++
11 lines
337 B
C++
|
#include "NullCommand.h"
|
||
|
#include "WebPage.h"
|
||
|
|
||
|
NullCommand::NullCommand(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, arguments, parent) {}
|
||
|
|
||
|
void NullCommand::start() {
|
||
|
QString failure = QString("[Capybara WebKit] Unknown command: ") + arguments()[0] + "\n";
|
||
|
emit finished(new Response(false, failure));
|
||
|
}
|
||
|
|