drop some debug prints
This commit is contained in:
parent
384690bb23
commit
edb6c956e6
@ -39,12 +39,10 @@ ActionTypeId mockAction2Id = ActionTypeId("defd3ed6-1a0d-400b-8879-a0202cf39935"
|
||||
|
||||
DevicePluginMock::DevicePluginMock()
|
||||
{
|
||||
qDebug() << "Mock device plugin created";
|
||||
}
|
||||
|
||||
DevicePluginMock::~DevicePluginMock()
|
||||
{
|
||||
qDebug() << "shutting down Mock device plugin";
|
||||
}
|
||||
|
||||
QList<Vendor> DevicePluginMock::supportedVendors() const
|
||||
@ -215,7 +213,6 @@ bool DevicePluginMock::configureAutoDevice(QList<Device *> loadedDevices, Device
|
||||
{
|
||||
Q_ASSERT(device->deviceClassId() == mockDeviceAutoClassId);
|
||||
|
||||
qDebug() << "checking loadedDevices" << loadedDevices.count();
|
||||
// We only want to have one auto mock device. So if there's already anything in loadedDevices, don't crearte a new one.
|
||||
if (loadedDevices.count() > 0) {
|
||||
return false;
|
||||
|
||||
@ -171,7 +171,6 @@ void JsonRPCServer::processData(const QUuid &clientId, const QByteArray &jsonDat
|
||||
QString method = commandList.last();
|
||||
QVariantMap params = message.value("params").toMap();
|
||||
|
||||
qDebug() << "got:" << targetNamespace << method << params;
|
||||
emit commandReceived(targetNamespace, method, params);
|
||||
|
||||
JsonHandler *handler = m_handlers.value(targetNamespace);
|
||||
|
||||
@ -57,12 +57,10 @@ void MockTcpServer::injectData(const QUuid &clientId, const QByteArray &data)
|
||||
|
||||
bool MockTcpServer::startServer()
|
||||
{
|
||||
qDebug() << "should start server";
|
||||
return true;
|
||||
}
|
||||
|
||||
bool MockTcpServer::stopServer()
|
||||
{
|
||||
qDebug() << "should stop server";
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user