add tests for battery and gpuload sources

+ some tests refactoring
This commit is contained in:
2016-06-09 12:45:21 +03:00
parent bc2071a493
commit 78b7a87c29
16 changed files with 269 additions and 44 deletions

View File

@ -43,7 +43,7 @@ private:
QStringList devices;
QString hddtempCmd = QString("sudo hddtemp");
QString smartctlCmd = QString("sudo smartctl -a");
QPair<float, float> temp = QPair<float, float>(0.0f, 40.0f);
QPair<float, float> temp = QPair<float, float>(0.0f, 120.0f);
};