mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
refactor: remoove unsued code annd settings
This commit is contained in:
@ -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));
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -39,7 +39,6 @@ private:
|
||||
AWTelemetryHandler *plugin = nullptr;
|
||||
QString telemetryData;
|
||||
QString telemetryGroup;
|
||||
QString telemetryId = "autotest";
|
||||
QString telemetryStatus = "saved";
|
||||
QString telemetryValidGroup = "awwidgetconfig";
|
||||
};
|
||||
|
Reference in New Issue
Block a user