mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
add tests for battery and gpuload sources
+ some tests refactoring
This commit is contained in:
@ -37,10 +37,10 @@ private slots:
|
||||
void test_gputemp();
|
||||
|
||||
private:
|
||||
GPUTemperatureSource *gputempSource = nullptr;
|
||||
GPUTemperatureSource *source = nullptr;
|
||||
QString device;
|
||||
QString source = QString("gpu/temperature");
|
||||
QPair<float, float> temp = QPair<float, float>(0.0f, 40.0f);
|
||||
QString src = QString("gpu/temperature");
|
||||
QPair<float, float> temp = QPair<float, float>(0.0f, 120.0f);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user