mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-06 18:35:52 +00:00
add more tests for confighelper
This commit is contained in:
@ -64,4 +64,18 @@ void TestAWConfigHelper::test_importConfiguration()
|
||||
}
|
||||
|
||||
|
||||
void TestAWConfigHelper::test_readDataEngineConfiguration()
|
||||
{
|
||||
deConfig = plugin->readDataEngineConfiguration();
|
||||
QVERIFY(!deConfig.isEmpty());
|
||||
}
|
||||
|
||||
|
||||
void TestAWConfigHelper::test_writeDataEngineConfiguration()
|
||||
{
|
||||
QVERIFY(plugin->writeDataEngineConfiguration(deConfig));
|
||||
QCOMPARE(plugin->readDataEngineConfiguration(), deConfig);
|
||||
}
|
||||
|
||||
|
||||
QTEST_MAIN(TestAWConfigHelper);
|
||||
|
Reference in New Issue
Block a user