refactor: remoove unsued code annd settings

This commit is contained in:
2024-04-19 03:58:54 +03:00
parent c608c40c97
commit 2f4f05b5af
10 changed files with 29 additions and 100 deletions

View File

@ -63,7 +63,7 @@ void TestAWKeys::initTestCase()
plugin->setAggregatorProperty("tempUnits", "Celsius");
plugin->setAggregatorProperty("translate", false);
plugin->initKeys(pattern, interval, 0, false);
plugin->initKeys(pattern, interval, false);
}
@ -89,7 +89,7 @@ void TestAWKeys::test_dictKeys()
void TestAWKeys::test_pattern()
{
plugin->initKeys(pattern, interval, 0, false);
plugin->initKeys(pattern, interval, false);
QSignalSpy spy(plugin, SIGNAL(needTextToBeUpdated(const QString)));
QVERIFY(spy.wait(5 * interval));

View File

@ -27,7 +27,7 @@ void TestAWTelemetryHandler::initTestCase()
{
AWTestLibrary::init();
plugin = new AWTelemetryHandler(this);
plugin->init(1, telemetryId);
plugin->init(1);
telemetryData = AWTestLibrary::randomString();
telemetryGroup = AWTestLibrary::randomString();
}

View File

@ -39,7 +39,6 @@ private:
AWTelemetryHandler *plugin = nullptr;
QString telemetryData;
QString telemetryGroup;
QString telemetryId = "autotest";
QString telemetryStatus = "saved";
QString telemetryValidGroup = "awwidgetconfig";
};