mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-09-12 10:19:55 +00:00
wayland support
This commit is contained in:
@ -29,10 +29,8 @@ void TestHDDTemperatureSource::initTestCase()
|
||||
AWTestLibrary::init();
|
||||
devices = HDDTemperatureSource::allHdd();
|
||||
|
||||
hddtempSource
|
||||
= new HDDTemperatureSource(this, QStringList() << devices.join(',') << hddtempCmd);
|
||||
smartctlSource
|
||||
= new HDDTemperatureSource(this, QStringList() << devices.join(',') << smartctlCmd);
|
||||
hddtempSource = new HDDTemperatureSource(this, QStringList() << devices.join(',') << hddtempCmd);
|
||||
smartctlSource = new HDDTemperatureSource(this, QStringList() << devices.join(',') << smartctlCmd);
|
||||
}
|
||||
|
||||
|
||||
@ -48,8 +46,7 @@ void TestHDDTemperatureSource::test_sources()
|
||||
if (devices.isEmpty())
|
||||
QSKIP("No hdd devices found, test will be skipped");
|
||||
|
||||
std::for_each(devices.begin(), devices.end(),
|
||||
[](QString &device) { device.prepend("hdd/temperature"); });
|
||||
std::for_each(devices.begin(), devices.end(), [](QString &device) { device.prepend("hdd/temperature"); });
|
||||
|
||||
QCOMPARE(hddtempSource->sources(), devices);
|
||||
QCOMPARE(smartctlSource->sources(), devices);
|
||||
|
Reference in New Issue
Block a user