1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Use QAbstractItemModelTester in ProfileManagerTest

This commit is contained in:
Joshua Goins 2024-08-22 18:53:24 -04:00
parent ba89c7f487
commit a22ddd13b7

View file

@ -13,6 +13,7 @@ private Q_SLOTS:
void testDummyProfile()
{
ProfileManager profileManager;
QAbstractItemModelTester modelTester(&profileManager);
QCOMPARE(profileManager.rowCount({}), 0);
profileManager.load();
@ -33,6 +34,7 @@ private Q_SLOTS:
void testProfileManagement()
{
ProfileManager profileManager;
QAbstractItemModelTester modelTester(&profileManager);
QCOMPARE(profileManager.rowCount({}), 0);
profileManager.load();